Skip to content

Commit

Permalink
Merge pull request #5825 from lognaturel/update-translations
Browse files Browse the repository at this point in the history
Update translations
  • Loading branch information
seadowg committed Nov 6, 2023
2 parents b8d4cc8 + aea440c commit 9e31df8
Show file tree
Hide file tree
Showing 62 changed files with 3,547 additions and 842 deletions.
Expand Up @@ -36,6 +36,6 @@ class SettingLanguageTest {
.clickOnUserInterface()
.clickOnLanguage()
.clickOnSelectedLanguage("svenska (Sverige)")
.assertText("Fyll i tomt formulär")
.assertText("Börja nytt formulär")
}
}
Expand Up @@ -7,10 +7,10 @@ import java.util.TreeMap

object LocaleHelper {
private val TRANSLATIONS_AVAILABLE = arrayOf(
"af", "am", "ar", "bg", "bn", "ca", "cs", "da", "de", "en", "es", "et", "fa", "fi", "fr",
"hi", "in", "it", "ja", "ka", "km", "ln", "lo_LA", "lt", "mg", "ml", "mr", "ms", "my",
"ne_NP", "nl", "no", "pl", "ps", "pt", "ro", "ru", "rw", "si", "sl", "so", "sq", "sr",
"sv_SE", "sw", "sw_KE", "te", "th_TH", "ti", "tl", "tr", "uk", "ur", "ur_PK", "vi", "zh", "zu"
"af", "am", "ar", "bg", "bn", "ca", "cs", "da", "de", "en", "es", "et", "fa", "fa_AF",
"fi", "fr", "hi", "ht", "in", "it", "ja", "ka", "km", "ln", "lo_LA", "lt", "mg", "ml", "mr",
"ms", "my", "ne_NP", "nl", "no", "pl", "ps", "pt", "ro", "ru", "rw", "si", "sl", "so", "sq",
"sr", "sv_SE", "sw", "sw_KE", "te", "th_TH", "ti", "tl", "tr", "uk", "ur", "vi", "zh", "zu"
)

@JvmStatic
Expand Down
28 changes: 22 additions & 6 deletions strings/src/main/res/values-af/strings.xml
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='UTF-8'?>
<resources xmlns:tools="http://schemas.android.com/tools">
<resources xmlns:tools="http://schemas.android.com/tools" xmlns:oat="http://schema.getodk.org/odkAndroidTools">
<!--Text for the topmost button on the main screen. It should be short and action-oriented.-->
<!--Text for an action button on the main screen.-->
<!--Text for an action button on the main screen.-->
Expand All @@ -22,8 +22,6 @@
<string name="modified_on_date_at_time">\'Verander op\' EEE, MMM dd, yyyy \'om\' HH:mm</string>
<!--A sort option for blank forms. When this option is selected, the form for which a filled instance was last filled will go first.-->
<!--Displayed in search boxes for form lists or question types that involve search-->
<string name="no_items_display">Niks beskikbaar om te vertoon nie</string>
<string name="no_items_display_forms">Niks beskikbaar om te vertoon nie.\n\nProbeer om \'n leë vorm te haal en in te vul.</string>
<!--Starting in Android 12, Android makes it possible to give precise or approximate location permissions to an application. ODK Collect only captures location if the precise location permission is granted.-->
<!--##############################################
# FILL BLANK FORM
Expand Down Expand Up @@ -343,11 +341,8 @@
# GOOGLE DRIVE, GOOGLE SHEETS
##############################################-->
<!--Title of the screen that lists forms in user's Google Drive-->
<string name="go_drive">My Skyf</string>
<!--Title of the screen that lists forms shared with Google Drive user-->
<string name="go_shared">Met my gedeel</string>
<!--Button for navigating across Google Drive folders-->
<string name="drive_get_file">Besig om %1$s en media leêrs te haal.</string>
<string name="no_google_account">Geen Google rekening geselekteer nie!</string>
<!--Text shown in dialog when a Google Sheets form upload was canceled before completion-->
<!--##############################################
Expand Down Expand Up @@ -395,6 +390,7 @@
<!--Preceded by "Don't have a project yet?" question-->
<!--Error shown when a user tries to open a form that's in a different project-->
<!--Error shown when a user tries to open a form when there are no projects-->
<!--Error shown when a user tries to start a new form in a Google Drive project-->
<!--##############################################
# Errors
##############################################-->
Expand All @@ -417,4 +413,24 @@
<!--##############################################
# Form saved Snackbar
##############################################-->
<!--##############################################
# Forms ready to send banner
##############################################-->
<!--Message showed on main menu to inform users that the ability to edit finalized forms is going away-->
<!--Label for Drafts list option that attempts to finalize all the drafts the user is currently looking at. Finalizing a draft locks it so it can't be edited and makes it eligible for autosend-->
<!--Dialog title that asks if the user wants to finalize all drafts-->
<!--Explanation for how bulk finalize works shown in a dialog before the user confirms if they want to proceed or cancel-->
<!--Message shown after bulk finalization when finalizing all drafts has succeeded-->
<!--Message shown after bulk finalization when no drafts finalized successfully-->
<!--Message shown after bulk finalization when some drafts finalize successfully and others fail-->
<!--Message shown when some drafts finalize successfully but others need to be finalized manually-->
<!--Displayed above a draft that has constraints that aren't met or required questions that aren't answered or both. Should match the wording for the 'Check for errors' feature.-->
<!--Displayed above a draft that has no constraint violations and in which all required questions have been answered. Should match the wording for the 'Check for errors' feature.-->
<!--Title of section of features that the user can uncheck to hide from the Drafts screen-->
<!--Title for dialog explaining the drafts marked with "Error" shown to the user the first time they view the Drafts screen-->
<!--Message for dialog explaining the drafts marked with "Error" shown to the user the first time they view the Drafts screen-->
<!--General message displayed when the list of forms-->
<!--Message displayed when the list of drafts is empty-->
<!--Message displayed when the list of ready to send forms is empty-->
<!--Message displayed when the list of sent forms is empty-->
</resources>
31 changes: 22 additions & 9 deletions strings/src/main/res/values-am/strings.xml
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='UTF-8'?>
<resources xmlns:tools="http://schemas.android.com/tools">
<resources xmlns:tools="http://schemas.android.com/tools" xmlns:oat="http://schema.getodk.org/odkAndroidTools">
<!--Text for the topmost button on the main screen. It should be short and action-oriented.-->
<!--Text for an action button on the main screen.-->
<!--Text for an action button on the main screen.-->
Expand Down Expand Up @@ -29,9 +29,6 @@
<!--A sort option for blank forms. When this option is selected, the form for which a filled instance was last filled will go first.-->
<!--Displayed in search boxes for form lists or question types that involve search-->
<string name="search">ፈልግ</string>
<string name="no_items_display">ምንም የሚታይ የለም</string>
<string name="no_items_display_forms">ምንም የሚታይ ነገር የለም:: \n\n አንድ ባዶ ቅጽ በማግኘትና በመሙላት ይሞክሩ::</string>
<string name="no_items_display_sent_forms">ምንም የሚታይ ነገር የለም:: \n\n ከማየትዎ በፊት የተጠናቀቁ ቅጾችን ይላኩ::</string>
<!--Starting in Android 12, Android makes it possible to give precise or approximate location permissions to an application. ODK Collect only captures location if the precise location permission is granted.-->
<!--##############################################
# FILL BLANK FORM
Expand Down Expand Up @@ -390,14 +387,9 @@
# GOOGLE DRIVE, GOOGLE SHEETS
##############################################-->
<!--Title of the screen that lists forms in user's Google Drive-->
<string name="go_drive">የእኔ Drive</string>
<!--Title of the screen that lists forms shared with Google Drive user-->
<string name="go_shared">ከእኔ ጋር የተጋሩ</string>
<!--Button for navigating across Google Drive folders-->
<string name="download_selected">የተመረጠውን አውርድ</string>
<string name="go_back">ተመለስ</string>
<string name="no_google_account">ምንም የ Google መለያ አልተመረጠም!</string>
<string name="google_search_browse">ቅጾችን ይፈልጉ፡፡ ወይም ለማሰስ ከታች \"የእኔ Drive\" ን ይምረጡ.</string>
<!--Text shown in dialog when a Google Sheets form upload was canceled before completion-->
<!--##############################################
# ABOUT
Expand Down Expand Up @@ -447,6 +439,7 @@
<!--Preceded by "Don't have a project yet?" question-->
<!--Error shown when a user tries to open a form that's in a different project-->
<!--Error shown when a user tries to open a form when there are no projects-->
<!--Error shown when a user tries to start a new form in a Google Drive project-->
<!--##############################################
# Errors
##############################################-->
Expand All @@ -469,4 +462,24 @@
<!--##############################################
# Form saved Snackbar
##############################################-->
<!--##############################################
# Forms ready to send banner
##############################################-->
<!--Message showed on main menu to inform users that the ability to edit finalized forms is going away-->
<!--Label for Drafts list option that attempts to finalize all the drafts the user is currently looking at. Finalizing a draft locks it so it can't be edited and makes it eligible for autosend-->
<!--Dialog title that asks if the user wants to finalize all drafts-->
<!--Explanation for how bulk finalize works shown in a dialog before the user confirms if they want to proceed or cancel-->
<!--Message shown after bulk finalization when finalizing all drafts has succeeded-->
<!--Message shown after bulk finalization when no drafts finalized successfully-->
<!--Message shown after bulk finalization when some drafts finalize successfully and others fail-->
<!--Message shown when some drafts finalize successfully but others need to be finalized manually-->
<!--Displayed above a draft that has constraints that aren't met or required questions that aren't answered or both. Should match the wording for the 'Check for errors' feature.-->
<!--Displayed above a draft that has no constraint violations and in which all required questions have been answered. Should match the wording for the 'Check for errors' feature.-->
<!--Title of section of features that the user can uncheck to hide from the Drafts screen-->
<!--Title for dialog explaining the drafts marked with "Error" shown to the user the first time they view the Drafts screen-->
<!--Message for dialog explaining the drafts marked with "Error" shown to the user the first time they view the Drafts screen-->
<!--General message displayed when the list of forms-->
<!--Message displayed when the list of drafts is empty-->
<!--Message displayed when the list of ready to send forms is empty-->
<!--Message displayed when the list of sent forms is empty-->
</resources>

0 comments on commit 9e31df8

Please sign in to comment.