This commit is contained in:
@@ -5,6 +5,7 @@ import _ from "../utils/libs/core.min.js";
|
|||||||
|
|
||||||
export default {
|
export default {
|
||||||
get(key) {
|
get(key) {
|
||||||
|
// debugger;
|
||||||
if (!_.has(store.state.localeText, key)) {
|
if (!_.has(store.state.localeText, key)) {
|
||||||
return "?" + key + "?";
|
return "?" + key + "?";
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
<v-flex xs12 sm6 offset-sm3>
|
<v-flex xs12 sm6 offset-sm3>
|
||||||
<v-card>
|
<v-card>
|
||||||
<v-toolbar>
|
<v-toolbar>
|
||||||
<v-toolbar-title>About AyaNova</v-toolbar-title>
|
<v-toolbar-title>{{ lt("HelpAboutAyaNova")}}</v-toolbar-title>
|
||||||
<v-spacer></v-spacer>
|
<v-spacer></v-spacer>
|
||||||
<v-avatar size="64px" tile>
|
<v-avatar size="64px" tile>
|
||||||
<img :src="require('../assets/bw-logo.svg')" alt="AyaNova">
|
<img :src="require('../assets/bw-logo.svg')" alt="AyaNova">
|
||||||
@@ -103,6 +103,7 @@
|
|||||||
/* xeslint-disable */
|
/* xeslint-disable */
|
||||||
import apiMeta from "../api/apimeta";
|
import apiMeta from "../api/apimeta";
|
||||||
import aboutInfo from "../utils/aboutinfo";
|
import aboutInfo from "../utils/aboutinfo";
|
||||||
|
import lt from "../api/locale";
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
@@ -110,6 +111,9 @@ export default {
|
|||||||
clientInfo: {}
|
clientInfo: {}
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
beforeMount() {
|
||||||
|
lt.fetch(["HelpAboutAyaNova"]);
|
||||||
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.clientInfo.version = aboutInfo.version;
|
this.clientInfo.version = aboutInfo.version;
|
||||||
apiMeta
|
apiMeta
|
||||||
@@ -124,6 +128,11 @@ export default {
|
|||||||
//probablyo an error component with error message slot to fill in
|
//probablyo an error component with error message slot to fill in
|
||||||
alert(error);
|
alert(error);
|
||||||
});
|
});
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
lt: function(key) {
|
||||||
|
return lt.get(key);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -99,10 +99,7 @@ CHANGES:
|
|||||||
|
|
||||||
LOCALIZED TEXT KEYS ACTUALLY USED
|
LOCALIZED TEXT KEYS ACTUALLY USED
|
||||||
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
|
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
|
||||||
Here are the localized text keys in RAVEN that have been specified for use at any level.
|
This is actually irrelevant now because I'm coding the client to only fetch the exact keys it needs for each form,
|
||||||
|
so there could be thousands of unused keys and it wouldn't matter.
|
||||||
|
|
||||||
|
|
||||||
NewKeyValue, OldKeyValue
|
|
||||||
------------------------
|
|
||||||
|
|
||||||
HelpLicense, UI.Help.License
|
|
||||||
@@ -33,6 +33,7 @@ WEEK OF 2018-11-12 - RAVEN shell start work. YAY!
|
|||||||
NEXT UP / CURRENTLY WORKING ON:
|
NEXT UP / CURRENTLY WORKING ON:
|
||||||
|
|
||||||
- About page with server license info, server version / client version
|
- About page with server license info, server version / client version
|
||||||
|
- localize the view
|
||||||
- Also should show or have link to go to the local error log "Support information" view
|
- Also should show or have link to go to the local error log "Support information" view
|
||||||
- Add an error log view that a user can go to without logging in that shows the local error log
|
- Add an error log view that a user can go to without logging in that shows the local error log
|
||||||
- Dummy form with all RAVEN required input controls on it for testing
|
- Dummy form with all RAVEN required input controls on it for testing
|
||||||
|
|||||||
@@ -1412,10 +1412,11 @@
|
|||||||
"WorkorderStatusUnderlined": "Underlined",
|
"WorkorderStatusUnderlined": "Underlined",
|
||||||
"WorkorderSummaryTemplate": "Workorder Item Summary Template",
|
"WorkorderSummaryTemplate": "Workorder Item Summary Template",
|
||||||
"WorkorderSummaryWorkorderItem": "Workorder Item Info To Display",
|
"WorkorderSummaryWorkorderItem": "Workorder Item Info To Display",
|
||||||
|
|
||||||
"Modified":"Modified",
|
"Modified":"Modified",
|
||||||
"Retrieved":"Retrieved",
|
"Retrieved":"Retrieved",
|
||||||
"Dispatch":"Dispatch",
|
"Dispatch":"Dispatch",
|
||||||
"Accounting":"Accounting",
|
"Accounting":"Accounting",
|
||||||
"Operations":"Ops"
|
"Operations":"Ops",
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user