Repository navigation
Add Spanish translations - #12
Open
PedroFlores199 wants to merge 1 commit into
Open
PedroFlores199 wants to merge 1 commit into
PedroFlores199 wants to merge 1 commit into
Conversation
Owner
|
Thanks a lot for this addition. It will be included on the next release |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds complete Spanish (Spain) resources for beta: all 159 translatable strings and 17 plural groups, in
values-es/strings.xmlof:feature:homeand:feature:settings. Spanish is added toLANGUAGESinTvDevice.kt, so the four layout tests check every screen in it, and to the languagesPictureTextsTestchecks for the megapixel unit (Spanish keeps the default unit, so it needs nointegers.xml).docs/TRANSLATIONS.mdlists the new language, its resource directories and theadbcommand that switches the app to it.The files are laid out like the Greek and Arabic ones: the strings in the English order, without the comments, under a one-line header. Format arguments, the
<xliff:g>parts, the U+2068/U+2069 isolates around app names and the D-pad arrows are unchanged. The wording follows the guide: titles, entries and count lines without a period, "fondo" for the background and never for anything else, one name for each thing ("las imágenes de Luncher" for Luncher's pictures, "mosaico" for a tile, "banner del mosaico" for its picture), Dim's levels in Blur's words, informal "tú". The remote's OK key stays "OK" in the hints, and a message's OK answer is "Aceptar", as Android says it in Spanish. Texts on a single line or sharing a row (the rename dialog's three buttons, the picture editors' options, the tile banner editor's title) are kept short.Each plural has
one,manyandother, withmanythe same asother. With targetSdk 36, lint applies CLDR 42's rules, which give Spanish amanyform, andMissingQuantitywould otherwise fail the build.The new files were checked with the SDK's standalone lint (9.2.1, minSdk 22, targetSdk 36,
-Werror): MissingTranslation, ExtraTranslation, MissingQuantity, UnusedQuantity, ImpliedQuantity, the StringFormat checks, Typos and the Typography checks report no issues. The Gradle tasks (the layout tests in Spanish,:app:lintDebug) were not run locally.