Changeset 35741


Ignore:
Timestamp:
2021-11-23T11:31:27+13:00 (12 days ago)
Author:
cstephen
Message:

Fix translation resolution

Location:
main/trunk/model-interfaces-dev/atea
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/model-interfaces-dev/atea/korero-maori-asr/src/main.js

    r35714 r35741  
    150150/* We might be running under Greenstone, so pull the tranlsations from there if so */
    151151/* eslint-disable no-undef */
    152 if (typeof gs !== "undefined" && gs.text && gs.text.atea) {
    153     for (const key in gs.text.atea) {
    154         translations.set(key, gs.text.atea[key]);
     152if (typeof gs !== "undefined" && gs.text && gs.text.atea && gs.text.atea.asr) {
     153    for (const key in gs.text.atea.asr) {
     154        translations.set(key, gs.text.atea.asr[key]);
    155155    }
    156156
  • main/trunk/model-interfaces-dev/atea/macron-restoration/src/main.js

    r35723 r35741  
    4848/* eslint-disable no-undef */
    4949if (typeof gs !== "undefined" && gs.text && gs.text.atea && gs.text.atea.macroniser) {
    50     for (const key in gs.text.atea) {
    51         translations.set(key, gs.text.atea[key]);
     50    for (const key in gs.text.atea.macroniser) {
     51        translations.set(key, gs.text.atea.macroniser[key]);
    5252    }
    5353
  • main/trunk/model-interfaces-dev/atea/resources/interface_atea.properties

    r35735 r35741  
    3636atea.macroniser.FileUpload_SelectFiles=Select file/s...
    3737atea.macroniser.FileUpload_MacroniseFiles=Macronise
    38 atea.macroniser.FileUpload_MacronisationFailed-Message=Failed to macronise
    39 atea.macroniser.FileUpload_MacronisationFailed-Reason=Reason
     38atea.macroniser.FileUpload_MacronisationFailedMessage=Failed to macronise
     39atea.macroniser.FileUpload_MacronisationFailedReason=Reason
    4040
    4141
Note: See TracChangeset for help on using the changeset viewer.