Harmonize JSON API error messages
This commit is contained in:
@@ -11,7 +11,7 @@ export default {
|
||||
offset: String,
|
||||
classes: String,
|
||||
icon: String,
|
||||
titleWrapperName: String
|
||||
titleWrapperLangId: String
|
||||
},
|
||||
inject: ['lang'],
|
||||
computed: {
|
||||
@@ -21,8 +21,8 @@ export default {
|
||||
this.lang.get('time.user', this.siteTime.slice(-5))
|
||||
+ ((this.offset != '0')?' ('+this.lang.get('unit.day_short')+this.offset+')':'');
|
||||
|
||||
return (this.titleWrapperName)?
|
||||
this.lang.get(this.titleWrapperName, bDifferentTimeZone?sTime:this.siteTime)
|
||||
return (this.titleWrapperLangId)?
|
||||
this.lang.get(this.titleWrapperLangId, bDifferentTimeZone?sTime:this.siteTime)
|
||||
:
|
||||
(bDifferentTimeZone?sTime:null);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user