-
Notifications
You must be signed in to change notification settings - Fork 45
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
Japanese translation has been completed. #751
Conversation
Japanese translation has been completed.
Added Japanese translation of timeline
Code Refactoring
ContributorsCommit-Lint commandsYou can trigger Commit-Lint actions by commenting on this PR:
|
Thanks for this! |
Should I create a new file and put strings.xml in it? |
If you create the required directories and put the new strings.xml there it should be all good. The idea is to have the |
I understand! Do I just create a new pull request when I'm done? |
You can update this one (assuming the English strings are put back), or create a new one. Whichever you find easier for you 😃 |
Yes, sir. |
Please confirm that the Japanese translation has been completed.
Corrected the translation of strings.xml
I created a values-ja folder and added the strings.xml file translated into Japanese in it. Also, the original strings.xml file has been restored to English. How about this? |
Codecov Report
@@ Coverage Diff @@
## master #751 +/- ##
============================================
- Coverage 68.98% 68.79% -0.20%
+ Complexity 441 436 -5
============================================
Files 109 109
Lines 1680 1679 -1
Branches 143 145 +2
============================================
- Hits 1159 1155 -4
Misses 478 478
- Partials 43 46 +3
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes look good, thanks for this.
One additional change to get this working is to update the app/build.gradle
to include
defaultConfig {
applicationId "com.chesire.nekome"
minSdk 21
targetSdk sdk_version
versionCode 22040915 // Date of build formatted as 'yyMMddHH'
versionName "1.5.3"
testInstrumentationRunner "com.chesire.nekome.TestRunner"
resConfigs "en", "ja"
}
as the resConfig
is only setup for en
currently.
<string name="login_forgot_password_url">https://kitsu.io/password-reset</string> | ||
<string name="login_sign_up">まだKitsuに登録されていませんか? こちらからKitsuに登録出来ます</string> | ||
<!-- This text should be exactly what part of login_sign_up should be a link --> | ||
<string name="login_sign_up_link_target">サインアップ</string> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The text in this string will need to be a part of the string above it. In English
<string name="login_sign_up">Not yet registered? Sign up</string>
<!-- This text should be exactly what part of login_sign_up should be a link -->
<string name="login_sign_up_link_target">Sign up</string>
it uses the Sign up
part as a link.
Could this be こちらからKitsuに登録出来ます
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How should I change the sign up part?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
login_sign_up
needs to contain the text from login_sign_up_link_target
as it sets up a link using login_sign_up_link_target
.
login_sign_up_link_target
is not displayed to the user, its just used to lookup which part of the login_sign_up
should contain a link.
It should be whichever part of login_sign_up
is the equivalent to "Sign up"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the late correction.
The translation has been corrected. How about this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Made a change to what I think it needs to be. If you are happy with the change I'll give it a test locally and look to merge it all in
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for changing the translation!
We're happy enough with it and you can merge it!
I got it |
Add "ja" to resconfig
Updated build.gradle. Is this correct? |
Yup looks good 👍 |
Some translations were changed and corrected.
Update string to target part of the login_sign_up string.
<string name="login_forgot_password_url">https://kitsu.io/password-reset</string> | ||
<string name="login_sign_up">こちらからKitsuに登録出来ます</string> | ||
<!-- This text should be exactly what part of login_sign_up should be a link --> | ||
<string name="login_sign_up_link_target">こちらから</string> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've made a change here to show what I think the string should be. It needs to have a matching section in the login_sign_up
part. Its used just to set up some formatting for the string above.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for changing the translation!
Thanks for this 👍 |
Please confirm that the Japanese translation has been completed.