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

Make l10n paths more common, add l10n.toml config for checks #882

Merged
merged 2 commits into from Dec 14, 2018
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -47,7 +47,7 @@
<!-- This string will be displayed in a dialog box presented to the user when the application
needs to request permission to access the device's external storage such as the
sdcard. '%1$s' will be replaced at runtime with the website's domain name. -->
<string name="permission_persistent_storage">%S가 영구 저장 장치에 데이터를 저장하도록 허용하겠습니까?</string>
<string name="permission_persistent_storage">%s가 영구 저장 장치에 데이터를 저장하도록 허용하겠습니까?</string>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this a typo? should be %1$s, eh?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed that. Both are OK, but it's better to be explicit and also consistent with the rest of the file.


<!-- This string is displayed in the Settings dialog box and how
the user can know which version of the application they are currently running.
Expand Down
23 changes: 23 additions & 0 deletions l10n.toml
@@ -0,0 +1,23 @@

basepath = "."

locales = [
"de",
"es",
"fr",
"it",
"ja",
"ko",
"zh-CN",
"zh-TW",
]

[env]

[[paths]]
reference = "app/src/main/res/values/strings.xml"
l10n = "app/src/main/res/values-{android_locale}/strings.xml"

[[paths]]
reference = "app/src/main/res/values/localpages_strings.xml"
l10n = "app/src/main/res/values-{android_locale}/localpages_strings.xml"