This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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];
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -104,7 +104,7 @@
|
||||
v-if="!event.editable"
|
||||
x-small
|
||||
:color="event.textColor"
|
||||
class="ml-n3"
|
||||
class="ml-n3"
|
||||
>
|
||||
$ayiLock</v-icon
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user