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

Update translations #5912

Merged
merged 4 commits into from
Jan 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -230,8 +230,8 @@ jobs:
command: ./gradlew assembleSelfSignedRelease

- run:
name: Check APK size isn't larger than 10.5MB
command: if [ $(ls -l collect_app/build/outputs/apk/selfSignedRelease/*.apk | awk '{print $5}') -gt 10500000 ]; then exit 1; fi
name: Check APK size isn't larger than 10.6MB
command: if [ $(ls -l collect_app/build/outputs/apk/selfSignedRelease/*.apk | awk '{print $5}') -gt 10600000 ]; then exit 1; fi

- run:
name: Copy APK to predictable path for artifact storage
Expand Down
Original file line number Diff line number Diff line change
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")
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ 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",
"af", "am", "ar", "bg", "bn", "ca", "cs", "da", "de", "en", "es", "et", "fa", "fa_AF", "fi", "fr",
"hi", "in", "it", "ja", "ht", "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"
)
Expand Down
32 changes: 29 additions & 3 deletions strings/src/main/res/values-af/strings.xml
Original file line number Diff line number Diff line change
@@ -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 @@ -94,6 +94,7 @@
<string name="launch_app">Loods</string>
<string name="activity_not_found">Geen aktiwiteit om te hanteer nie: %s</string>
<string name="no_app">Die program of app wat u aangevra het word vermis. Tik asb self die lesing in.</string>
<!--Name of the button displayed in the PrinterWidget to trigger printing-->
<string name="launch_printer">Begin druk</string>
<string name="no_printer">Die aangevraagde drukker is nie geïnstalleer nie. Installeer asseblief die drukker .</string>
<string name="open_url">Maak Url oop</string>
Expand All @@ -120,7 +121,8 @@
<string name="choose_sound">Kies Klank</string>
<!--Description text for button that that pauses recording sound-->
<!--Description text for button that that resumes recording sound-->
<!--Text next to checkbox to allow the user to toggle audio recording on and off-->
<!--Displayed in the form filling menu when a form has background audio recording enabled-->
<!--Displayed in the form filling menu when a form has background audio recording disabled-->
<!--Text asking the user to confirm whether they want to stop recording or not (which deletes the recording file)-->
<!--Button text for the dialog confirming whether the user wants to disable background recording-->
<!--Text warning that user after they're reenabled background audio recording that it won't start again until they re-open the form-->
Expand Down Expand Up @@ -182,7 +184,8 @@
<string name="get_location">Stoor Posisie</string>
<string name="provider_disabled_error">Jammer, Posisie-verskaffers is afgeskakel!</string>
<!--Action to go to Android settings. Displayed when location providers are disabled.-->
<!--Label for a menu item that can be toggled to turn background location tracking on and off during form filling-->
<!--Displayed in the form filling menu when a form has background location enabled-->
<!--Displayed in the form filling menu when a form has background location disabled-->
<!--Text of an option available when filling out a form. Tapping this option checks the form for constraint or required violations and navigates the user back to the first field with an error.-->
<!--%1$s is the time taken so far in hh:mm:ss-->
<!--%1$s is the accuracy required for a point to be automatically saved-->
Expand Down Expand Up @@ -401,4 +404,27 @@
<!--##############################################
# 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-->
<!--Message displayed when the list of questions is empty-->
<!--Message displayed when the list of blank forms is empty-->
<!--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-->
<!--Message displayed when the list of forms to download is empty-->
<!--Message displayed when the list of forms to delete is empty-->
</resources>
32 changes: 29 additions & 3 deletions strings/src/main/res/values-am/strings.xml
Original file line number Diff line number Diff line change
@@ -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 @@ -97,6 +97,7 @@
<!--Name of button displayed when a screen contains multiple questions populated by an external app: https://docs.getodk.org/launch-apps-from-collect/#launching-external-apps-to-populate-multiple-fields-->
<string name="launch_app">አስጀምር</string>
<string name="activity_not_found">የሚስተናገዱ ምንም እንቅስቃሴዎች አልተገኙም: 1 %s</string>
<!--Name of the button displayed in the PrinterWidget to trigger printing-->
<string name="launch_printer">ማተምን ያስጀምሩ</string>
<string name="open_url">ዩአርኤል ይክፈቱ</string>
<string name="capture_osm">OpenMapKitን አስጀምር</string>
Expand All @@ -123,7 +124,8 @@
<string name="choose_sound">ድምጽ ይምረጡ</string>
<!--Description text for button that that pauses recording sound-->
<!--Description text for button that that resumes recording sound-->
<!--Text next to checkbox to allow the user to toggle audio recording on and off-->
<!--Displayed in the form filling menu when a form has background audio recording enabled-->
<!--Displayed in the form filling menu when a form has background audio recording disabled-->
<!--Text asking the user to confirm whether they want to stop recording or not (which deletes the recording file)-->
<!--Button text for the dialog confirming whether the user wants to disable background recording-->
<!--Text warning that user after they're reenabled background audio recording that it won't start again until they re-open the form-->
Expand Down Expand Up @@ -192,7 +194,8 @@
<string name="get_location">ቦታን መዝግብ</string>
<string name="provider_disabled_error">ይቅርታ፣ የአካባቢ አቅራቢዎች አይሰሩም፡፡</string>
<!--Action to go to Android settings. Displayed when location providers are disabled.-->
<!--Label for a menu item that can be toggled to turn background location tracking on and off during form filling-->
<!--Displayed in the form filling menu when a form has background location enabled-->
<!--Displayed in the form filling menu when a form has background location disabled-->
<!--Text of an option available when filling out a form. Tapping this option checks the form for constraint or required violations and navigates the user back to the first field with an error.-->
<!--%1$s is the time taken so far in hh:mm:ss-->
<!--%1$s is the accuracy required for a point to be automatically saved-->
Expand Down Expand Up @@ -449,4 +452,27 @@
<!--##############################################
# 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-->
<!--Message displayed when the list of questions is empty-->
<!--Message displayed when the list of blank forms is empty-->
<!--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-->
<!--Message displayed when the list of forms to download is empty-->
<!--Message displayed when the list of forms to delete is empty-->
</resources>
Loading