This commit is contained in:
2022-02-14 18:30:41 +00:00
parent 529dc504e1
commit edcfe6b486
5 changed files with 53 additions and 48 deletions

View File

@@ -297,7 +297,11 @@ export default {
//translate each and replace and return the string translated
// (fetch and cache any missing strings)
async translateStringWithMultipleKeysAsync(s) {
if (s == null) {
return s;
}
let ret = s;
const found = s.match(/LT:[\w]*/gm);
if (found == null) {
return ret;

View File

@@ -295,6 +295,13 @@ export default {
].name = await window.$gz.translation.translateStringWithMultipleKeysAsync(
temp[i].name
);
temp[
i
].textra = await window.$gz.translation.translateStringWithMultipleKeysAsync(
temp[i].textra
);
temp[i].index = currentEventCount + i;
}
vm.obj = [...vm.obj, ...temp];

View File

@@ -109,7 +109,7 @@ export default {
ret.push({
id: o.id,
eventType: eventDisplay,
ayaType: window.$gz.enums.get("coreview", o.ayaType),
ayaType: `[${window.$gz.enums.get("coreview", o.ayaType)}]`,
deliveryMethod: window.$gz.enums.get(
"NotifyDeliveryMethod",
o.deliveryMethod

View File

@@ -104,7 +104,7 @@
v-if="!event.editable"
x-small
:color="event.textColor"
class="ml-n3"
class="ml-n3"
>
$ayiLock</v-icon
>