Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

742 use localizations (Core localizations) #1098

Merged
merged 19 commits into from
Nov 11, 2024
Merged
Show file tree
Hide file tree
Changes from 15 commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
12a77a1
Merge branch 'main' into 742-use-localizations
katherinejensen00 Jul 16, 2024
2e5a6b7
Switching Computers Partial Commit
katherinejensen00 Aug 21, 2024
ae5ae18
Merge branch 'main' into 742-use-localizations
katherinejensen00 Aug 23, 2024
6e0a562
Paranext Core localizations
katherinejensen00 Aug 30, 2024
eeff67e
Merge branch 'main' into 742-use-localizations
katherinejensen00 Aug 30, 2024
bf47710
Changes per Ira's code review
katherinejensen00 Sep 3, 2024
fc6c1f0
Alphabetize and create more specific localize keys
katherinejensen00 Sep 6, 2024
6b1c89e
Missed a file
katherinejensen00 Sep 6, 2024
0170a75
Add one localization
katherinejensen00 Sep 13, 2024
089a78e
Merge branch 'main' into 742-use-localizations
katherinejensen00 Oct 1, 2024
b38b61e
Merge branch 'main' into 742-use-localizations
katherinejensen00 Oct 1, 2024
e7ebfbe
Changes per code review mostly reverting localize key changes of alre…
katherinejensen00 Oct 15, 2024
86946ad
Merge branch 'main' into 742-use-localizations
katherinejensen00 Oct 15, 2024
2346d38
Merge branch 'main' into 742-use-localizations
katherinejensen00 Oct 16, 2024
a3d5791
Fix failing tests
katherinejensen00 Oct 16, 2024
cedca4b
Changes per code review - removing unnecessary useMemos and reverting…
katherinejensen00 Oct 25, 2024
9652a61
Changes per code review
katherinejensen00 Nov 8, 2024
52296e1
Changes per code review
katherinejensen00 Nov 8, 2024
95b20ab
Merge branch 'main' into 742-use-localizations
katherinejensen00 Nov 8, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
108 changes: 75 additions & 33 deletions assets/localization/en.json
Original file line number Diff line number Diff line change
@@ -1,48 +1,90 @@
{
"%product_name%": "Platform.Bible",
"%about_versionLabel_format%": "Version: {version}",
"%about_licenseLabel_format%": "License: {license}",
"%bookSelector_dialogPrompt_selectOneOrMoreBooksToRunBasicChecksOn%": "Select one or more books to run basic checks on",
"%bookSelector_selectionMode_chooseBooks%": "Choose Books",
"%bookSelector_selectionMode_currentBook%": "Current Book",
"%bookSelector_submitButton_chooseEllipsis%": "Choose...",
"%bookSelector_title_selectBooks%": "Select Books",
"%checks_checkName_capitalization%": "Capitalization",
"%checks_checkName_chapterSlashVerseNumbers%": "Chapter/Verse Numbers",
"%checks_checkName_charactersParenthesesCombinations%": "Characters (Combinations)",
"%checks_checkName_checks%": "Checks",
"%checks_checkName_footnoteQuotes%": "Footnote Quotes",
"%checks_checkName_markers%": "Markers",
"%checks_checkName_numbers%": "Numbers",
"%checks_checkName_punctuationParenthesesSequences%": "Punctuation (Sequences)",
"%checks_checkName_quotations%": "Quotations",
"%checks_checkName_quotationTypes%": "Quotation types",
"%checks_checkName_references%": "References",
"%checks_checkName_repeatedWords%": "Repeated Words",
"%checks_checkName_unmatchedPairsOfPunctuation%": "Unmatched Pairs of Punctuation",
"%checks_defaultNoProject_noCurrentProject%": "No current project",
"%checks_title_runBasicChecks%": "Run Basic Checks",
"%downloadUpdateProjectTab_aria_downloadableProjects%": "downloadable projects",
"%downloadUpdateProjectTab_aria_downloadedProjects%": "downloaded projects",
"%downloadUpdateProjectTab_listItem_delete%": "Delete",
"%downloadUpdateProjectTab_subheader_downloadableProjects%": "Downloadable Projects",
"%downloadUpdateProjectTab_subheader_downloadedProjects%": "Downloaded Projects",
"%downloadUpdateProjectTab_title_downloadSlashUpdateProject%": "Download/Update Project",
"%general_button_submit%": "Submit",
"%general_cancel%": "Cancel",
"%general_insertNote%": "Insert Note",
"%general_loading%": "Loading",
"%general_run%": "Run",
"%insertNote%": "Insert Note",
"%mainMenu_about%": "About Platform.Bible",
"%mainMenu_downloadSlashInstallResources%": "Download/Install Resources",
"%mainMenu_downloadSlashUpdateProject%": "Download/Update Project",
"%mainMenu_exit%": "Exit",
"%mainMenu_help%": "Help",
"%mainMenu_layout%": "Layout",
"%mainMenu_Help%": "Help",
"%mainMenu_Layout%": "Layout",
"%mainMenu_menuItemName_aboutPlatformBible%": "About Platform.Bible",
"%mainMenu_menuItemName_downloadSlashInstallResources%": "Download/Install Resources",
"%mainMenu_menuItemName_exit%": "Exit",
"%mainMenu_menuItemName_settings%": "Settings",
"%mainMenu_menuItemName_visitSupportBible%": "Visit Support.Bible",
"%mainMenu_openProject%": "Open Project",
"%mainMenu_project%": "Project",
"%mainMenu_settings%": "Settings",
"%mainMenu_visitSupportBible%": "Visit Support.Bible",
"%mainMenu_window%": "Window",
"%some_localization_key%": "This is the English text for %some_localization_key%.",
"%mainMenu_Window%": "Window",
"%menuItemName_wordList%": "Word List",
"%product_name%": "Platform.Bible",
"%project_full_name_missing%": "*Name Missing*",
"%project_language_missing%": "*Language Missing*",
"%project_settings_platform_defaultSettingName_noName%": "_NoName_",
"%project_settings_platform_group1_description%": "Project settings pertaining to the software overall",
"%project_settings_platform_fullName_label%": "Project Full Name",
"%project_settings_platform_label_group1%": "Platform Settings",
"%project_settings_platform_isEditable_label%": "Is Editable",
"%project_settings_platform_isEditable_description%": "Whether this project is editable. A project that is not editable is sometimes called a resource.",
"%project_settings_platform_language_label%": "Project Primary Language",
"%project_settings_platform_name_label%": "Project Short Name",
"%selectBooks_title_selectBooks%": "Select Books",
"%selectMultipleProjects_title_selectProjects%": "Select Projects",
"%selectProject_title_selectProject%": "Select Project",
"%settings_defaultMessage_loadingSetting%": "Loading setting",
"%settings_defaultSearchText_searchProjectSettingsEllipsis%": "Search Project Settings...",
"%settings_defaultSearchText_searchUserSettingsEllipsis%": "Search User Settings...",
"%settings_platform_group1_description%": "Settings pertaining to the software overall",
"%settings_platform_interfaceLanguage_description%": "List of languages used when localizing the interface in descending order of priority. 'en' (English) is always added at the end, so if a translation is not found in any of the specified languages, it will appear in English.",
"%settings_platform_group1_label%": "Platform Settings",
"%settings_platform_settingName_interfaceLanguage%": "Interface Language",
"%settings_platform_paratextDataLastRegistryDataCachedTimes_label%": "ParatextData Last Registry Data Cached Times",
"%settings_platform_ptxUtilsMementoData_label%": "PtxUtils Memento Data",
"%settings_platform_verseRef_label%": "Current Verse Reference",
"%settings_title_projectSettings%": "Project Settings",
"%settings_title_userSettings%": "User Settings",
"%submitButton%": "Submit",
"%scrollGroup_undefined%": "Ø",
"%scrollGroup_0%": "A",
"%scrollGroup_1%": "B",
"%scrollGroup_2%": "C",
"%scrollGroup_3%": "D",
"%scrollGroup_4%": "E",
"%webView_edit%": "Edit",
"%some_localization_key%": "This is the English text for %some_localization_key%.",
"%tab_aria_tab%": "Tab",
"%tab_title_error%": "Error",
"%tab_title_unknown%": "Unknown",
"%webView_defaultTitle_webView%": "Web View",
"%webView_menuItemName_edit%": "Edit",
"%webView_openProjectSettings%": "Open Project Settings",
"%webView_project%": "Project",
"%webView_projectAssignmentsAndProgress%": "Assignments and Progress",
"%wordList%": "Word List",
"%settings_platform_group1_label%": "Platform Settings",
"%settings_platform_group1_description%": "Settings pertaining to the software overall",
"%settings_platform_verseRef_label%": "Current Verse Reference for Scroll Group A (Deprecated)",
"%settings_platform_verseRef_description%": "Current Verse Reference for Scroll Group A. Deprecated - please use `papi.scrollGroups` and `useWebViewScrollGroupScrRef`",
"%settings_platform_interfaceLanguage_label%": "Interface Language",
"%settings_platform_interfaceLanguage_description%": "List of locales to use when localizing the interface. First in the list receives highest priority. 'en' (English) is always added at the end, so everything localizes to English if it does not have a localization in a higher-priority locale.",
"%settings_platform_ptxUtilsMementoData_label%": "PtxUtils Memento Data",
"%settings_platform_paratextDataLastRegistryDataCachedTimes_label%": "ParatextData Last Registry Data Cached Times",
"%project_settings_platform_group1_label%": "Platform Settings",
"%project_settings_platform_group1_description%": "Project settings pertaining to the software overall",
"%project_settings_platform_name_label%": "Project Short Name",
"%project_name_missing%": "_NoName_",
"%project_settings_platform_fullName_label%": "Project Full Name",
"%project_full_name_missing%": "*Name Missing*",
"%project_language_missing%": "*Language Missing*",
"%project_settings_platform_language_label%": "Project Primary Language",
"%project_settings_platform_isEditable_label%": "Is Editable",
"%project_settings_platform_isEditable_description%": "Whether this project is editable. A project that is not editable is sometimes called a resource."
"%webView_menuItemName_project%": "Project",
"%webView_menuItemName_projectAssignmentsAndProgress%": "Assignments and Progress",
"%webView_title_type_formatString%": "{type} {defaultTitle}"
}
6 changes: 3 additions & 3 deletions assets/localization/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
"%webView_project%": "Proyecto",
"%webView_projectAssignmentsAndProgress%": "Asignaciones y progreso",
"%wordList%": "Lista de palabras",
"%settings_platform_group1_label%": "Configuraciones de Platform",
"%settings_platform_group1_description%": "Configuraciones generales del software fundamental",
"%settings_platform_interfaceLanguage_label%": "Idioma de interfaz",
"%settings_platform_interfaceLanguage_description%": "Lista de locales usados al localizar la interfaz en orden descendente de prioridad. 'en' (inglés) siempre se añade al final, de modo que si no se encuentra una traducción en ninguno de los idiomas especificados, aparecerá en inglés."
"%settings_platform_interfaceLanguage_description%": "Lista de locales usados al localizar la interfaz en orden descendente de prioridad. 'en' (inglés) siempre se añade al final, de modo que si no se encuentra una traducción en ninguno de los idiomas especificados, aparecerá en inglés.",
"%settings_platform_label_group1%": "Configuraciones de Platform",
"%settings_platform_settingName_interfaceLanguage%": "Idioma de interfaz"
}
2 changes: 1 addition & 1 deletion assets/localization/fr.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"%some_localization_key%": "Ceci est le texte en français pour %some_localization_key%.",
"%submitButton%": "Soumettre",
"%general_button_submit%": "Soumettre",
"%Book.Gen%": "Genèse"
}
30 changes: 28 additions & 2 deletions extensions/src/hello-world/contributions/localizedStrings.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,36 @@
"%mainMenu_openHelloWorldProject%": "Open Hello World Project",
"%mainMenu_createNewHelloWorldProject%": "Create New Hello World Project",
"%mainMenu_deleteHelloWorldProject%": "Delete Hello World Project",
"%helloWorld_webViewMenu_project%": "Project",
"%helloWorld_webViewMenu_view%": "View",
"%helloSomeone_greetingLoading%": "Greeting loading",
"%helloWorld_delete%": "Delete",
"%helloWorld_frenchLocalizationSubmit%": "French localization of Submit Button",
"%helloWorld_helloWorld%": "Hello World",
"%helloWorld_listOfSelectedIds%": "List of Selected Project Id(s)",
"%helloWorld_logo%": "Hello World Logo",
"%helloWorld_none%": "None",
"%helloWorld_openResourceViewer%": "Open in Resource Viewer",
"%helloWorld_openScriptureEditor%": "Open in Scripture Editor",
"%helloWorld_option1%": "Option 1",
"%helloWorld_option2%": "Option 2",
"%helloWorld_react%": "React",
"%helloWorld_select_project%": "Select Project",
"%helloWorld_select_projects%": "Select Projects",
"%helloWorld_selected_project%": "Selected Project",
"%helloWorld_table_id%": "ID",
"%helloWorld_table_subtitle%": "Subtitle",
"%helloWorld_table_title%": "Title",
"%helloWorld_testMe%": "Test Me",
"%helloWorld_throw_test_exception%": "Throw test exception",
"%helloWorld_webViewMenu_deleteProject%": "Delete this Project",
"%helloWorld_webViewMenu_openViewer%": "Open Viewer",
"%helloWorld_webViewMenu_project%": "Project",
"%helloWorld_webViewMenu_view%": "View",
"%quickVerse_loadingLatest%": "Loading latest Scripture text...",
"%scripture_loadingVerse%": "Loading Verse",
"%selectProject_prompt%": "Please select a Scripture project for Hello World WebView: (Render",
"%selectProject_title%": "Select Hello World Project",
"%selectProjects_prompt%": "Please select one or more Scripture projects for Hello World WebView:",
"%selectProjects_title%": "Select List of Hello World Projects",
"%settings_hello_world_group1_label%": "Hello World Settings",
"%settings_hello_world_personName_label%": "Selected Person's Name on Hello World Web View",
"%project_settings_helloWorld_group1_label%": "Hello World Project Settings",
Expand Down
Loading
Loading