Skip to content

Commit bba6889

Browse files
Add ms, sw to lingui config, locale picker; Capitalize lite->Lite (#1964)
Co-authored-by: Kevin Hahn <kevin_hahn@sil.org>
1 parent 8d5aa04 commit bba6889

11 files changed

Lines changed: 101 additions & 19 deletions

File tree

backend/FwLite/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ graph
4545
subgraph Lexbox
4646
Harmony[(Harmony)]
4747
Mercurial[(Mercurial)]
48-
sync("Sync FieldWorks lite \n (manually triggered)")
48+
sync("Sync FieldWorks Lite \n (manually triggered)")
4949
Harmony <---> sync
5050
Mercurial <---> sync
5151
end

frontend/viewer/lingui.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import {jstsExtractor, svelteExtractor} from 'svelte-i18n-lingui/extractor';
33
import {defineConfig} from '@lingui/cli';
44

55
export default defineConfig({
6-
locales: ['en', 'es', 'fr', 'ko', 'id'],
6+
locales: ['en', 'es', 'fr', 'id', 'ko', 'ms', 'sw'],
77
sourceLocale: 'en',
88
catalogs: [
99
{

frontend/viewer/src/lib/i18n/LocalizationPicker.svelte

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@
2020
'fr': 'Français',
2121
'es': 'Español',
2222
'id': 'Bahasa Indonesia',
23-
'ko': '한국어'
23+
'ko': '한국어',
24+
'ms': 'Bahasa Malaysia, بهاس مليسيا',
25+
'sw': 'Kiswahili'
2426
};
2527
const currentLanguage = $derived(languages[$locale] ?? 'Unknown: ' + $locale);
2628
</script>

frontend/viewer/src/lib/notifications/NotificationOutlet.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
1919
eventBus.onEventType<IAppUpdateEvent>(FwEventType.AppUpdate, event => {
2020
if (event.result == UpdateResult.ManualUpdateRequired) {
21-
AppNotification.displayAction($t`A new version of FieldWorks lite is available.`, {
21+
AppNotification.displayAction($t`A new version of FieldWorks Lite is available.`, {
2222
callback: () => {
2323
const fwliteConfig = useFwLiteConfig();
2424
const url = updateUrls[fwliteConfig.os] ?? 'https://lexbox.org/fw-lite';

frontend/viewer/src/locales/en.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ msgid "{num, plural, one {# change} other {# changes}}"
5858
msgstr "{num, plural, one {# change} other {# changes}}"
5959

6060
#: src/lib/notifications/NotificationOutlet.svelte
61-
msgid "A new version of FieldWorks lite is available."
62-
msgstr "A new version of FieldWorks lite is available."
61+
msgid "A new version of FieldWorks Lite is available."
62+
msgstr "A new version of FieldWorks Lite is available."
6363

6464
#: src/project/browse/BrowseView.svelte
6565
msgid "a word"

frontend/viewer/src/locales/es.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ msgid "{num, plural, one {# change} other {# changes}}"
6363
msgstr "{num, plural, one {# cambios} other {# cambios}}"
6464

6565
#: src/lib/notifications/NotificationOutlet.svelte
66-
msgid "A new version of FieldWorks lite is available."
67-
msgstr "Ya está disponible una nueva versión de FieldWorks lite."
66+
msgid "A new version of FieldWorks Lite is available."
67+
msgstr ""
6868

6969
#: src/project/browse/BrowseView.svelte
7070
msgid "a word"

frontend/viewer/src/locales/fr.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ msgid "{num, plural, one {# change} other {# changes}}"
6363
msgstr "{num, plural, one {# change} other {# changes}}"
6464

6565
#: src/lib/notifications/NotificationOutlet.svelte
66-
msgid "A new version of FieldWorks lite is available."
67-
msgstr "Une nouvelle version de FieldWorks lite est disponible."
66+
msgid "A new version of FieldWorks Lite is available."
67+
msgstr ""
6868

6969
#: src/project/browse/BrowseView.svelte
7070
msgid "a word"

frontend/viewer/src/locales/id.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ msgid "{num, plural, one {# change} other {# changes}}"
6363
msgstr "{num, plural, one {# perubahan} other {# perubahan}}"
6464

6565
#: src/lib/notifications/NotificationOutlet.svelte
66-
msgid "A new version of FieldWorks lite is available."
67-
msgstr "Versi baru FieldWorks lite telah tersedia."
66+
msgid "A new version of FieldWorks Lite is available."
67+
msgstr ""
6868

6969
#: src/project/browse/BrowseView.svelte
7070
msgid "a word"

frontend/viewer/src/locales/ko.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ msgid "{num, plural, one {# change} other {# changes}}"
6363
msgstr "{num, plural, one {#변경} other {#변경}}"
6464

6565
#: src/lib/notifications/NotificationOutlet.svelte
66-
msgid "A new version of FieldWorks lite is available."
67-
msgstr "새로운 버전의 FieldWorks lite를 사용할 수 있습니다."
66+
msgid "A new version of FieldWorks Lite is available."
67+
msgstr ""
6868

6969
#: src/project/browse/BrowseView.svelte
7070
msgid "a word"

frontend/viewer/src/locales/ms.po

Lines changed: 43 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ msgid "{num, plural, one {# change} other {# changes}}"
6363
msgstr "{num, plural, one {# perubahan} other {# perubahan}}"
6464

6565
#: src/lib/notifications/NotificationOutlet.svelte
66-
msgid "A new version of FieldWorks lite is available."
67-
msgstr "Versi baharu FieldWorks lite tersedia."
66+
msgid "A new version of FieldWorks Lite is available."
67+
msgstr ""
6868

6969
#: src/project/browse/BrowseView.svelte
7070
msgid "a word"
@@ -242,6 +242,14 @@ msgstr "Komponen-komponen"
242242
msgid "Contains"
243243
msgstr "Mengandungi"
244244

245+
#: src/lib/components/ui/button/copy-button.svelte
246+
msgid "Copied to clipboard"
247+
msgstr ""
248+
249+
#: src/lib/troubleshoot/TroubleshootDialog.svelte
250+
msgid "Copy version"
251+
msgstr ""
252+
245253
#: src/lib/entry-editor/NewEntryDialog.svelte
246254
msgid "Create {0}"
247255
msgstr "Cipta {0}"
@@ -400,6 +408,10 @@ msgstr "Contoh"
400408
msgid "Example sentence"
401409
msgstr "Ayat contoh"
402410

411+
#: src/lib/components/ui/button/copy-button.svelte
412+
msgid "Failed to copy to clipboard"
413+
msgstr ""
414+
403415
#: src/home/Server.svelte
404416
msgid "Failed to download {0}"
405417
msgstr "Gagal memuat turun {0}"
@@ -426,6 +438,7 @@ msgid "Failed to synchronize."
426438
msgstr "Gagal menyegerak."
427439

428440
#: src/project/ProjectSidebar.svelte
441+
#: src/lib/about/FeedbackDialog.svelte
429442
#: src/home/HomeView.svelte
430443
msgid "Feedback"
431444
msgstr "Maklum balas"
@@ -498,6 +511,10 @@ msgstr "Cari entri..."
498511
msgid "Find word..."
499512
msgstr "Cari perkataan..."
500513

514+
#: src/lib/about/FeedbackDialog.svelte
515+
msgid "For any other inquiries, feel free to send us an email."
516+
msgstr ""
517+
501518
#: src/project/browse/SearchFilter.svelte
502519
#: src/lib/entry-editor/object-editors/SenseEditorPrimitive.svelte
503520
msgid "Gloss"
@@ -549,6 +566,10 @@ msgstr "Perubahan terakhir: {0}"
549566
msgid "Length:"
550567
msgstr "Panjang:"
551568

569+
#: src/lib/about/FeedbackDialog.svelte
570+
msgid "Let us know about any bugs or technical issues you encounter."
571+
msgstr ""
572+
552573
#: src/home/HomeView.svelte
553574
msgid "Lexbox logo"
554575
msgstr "Logo Lexbox"
@@ -718,6 +739,10 @@ msgstr "Tidak log masuk"
718739
msgid "Note"
719740
msgstr "Nota"
720741

742+
#: src/lib/components/ui/button/copy-button.svelte
743+
msgid "Nothing to copy"
744+
msgstr ""
745+
721746
#: src/lib/admin-dialogs/GetProjectByCodeDialog.svelte
722747
msgid "Observer"
723748
msgstr "Pemerhati"
@@ -818,6 +843,10 @@ msgstr "Buka semula"
818843
msgid "Replace audio"
819844
msgstr "Ganti audio"
820845

846+
#: src/lib/about/FeedbackDialog.svelte
847+
msgid "Report a technical problem"
848+
msgstr ""
849+
821850
#: src/lib/components/field-editors/audio-input.svelte
822851
msgid "Save As"
823852
msgstr ""
@@ -851,6 +880,10 @@ msgstr "Pilih fail"
851880
msgid "Semantic domains"
852881
msgstr "Domain semantik"
853882

883+
#: src/lib/about/FeedbackDialog.svelte
884+
msgid "Send us a message"
885+
msgstr ""
886+
854887
#: src/lib/entry-editor/EntryOrSensePicker.svelte
855888
#: src/lib/entry-editor/object-editors/EntryEditor.svelte
856889
#: src/lib/entry-editor/object-editors/EntryEditor.svelte
@@ -878,6 +911,10 @@ msgstr "Kongsi fail Log"
878911
msgid "Share project data file"
879912
msgstr "Kongsi fail data projek"
880913

914+
#: src/lib/about/FeedbackDialog.svelte
915+
msgid "Share your suggestions for new features or improvements."
916+
msgstr ""
917+
881918
#: src/project/browse/ViewPicker.svelte
882919
msgid "Show"
883920
msgstr "Tunjukkan"
@@ -904,6 +941,10 @@ msgstr "Bermula dengan"
904941
msgid "Submit"
905942
msgstr "Hantar"
906943

944+
#: src/lib/about/FeedbackDialog.svelte
945+
msgid "Suggest your ideas"
946+
msgstr ""
947+
907948
#: src/project/ProjectSidebar.svelte
908949
#: src/lib/activity/ActivityView.svelte
909950
msgid "Synced"
@@ -1053,4 +1094,3 @@ msgstr "Anda tidak mempunyai kebenaran untuk memuat turun projek {0} daripada {1
10531094
#: src/home/Server.svelte
10541095
msgid "You have already downloaded the {0} project"
10551096
msgstr "Anda telah pun memuat turun projek {0}"
1056-

0 commit comments

Comments
 (0)