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

add Ukrainian translation #354

Merged
merged 5 commits into from
Oct 5, 2020
Merged

add Ukrainian translation #354

merged 5 commits into from
Oct 5, 2020

Conversation

JekRock
Copy link
Contributor

@JekRock JekRock commented Oct 4, 2020

Changes

Add Ukrainian translation

Testing

  • Tested on a physical device
  • Added or modified unit test cases

Others

@JekRock
Copy link
Contributor Author

JekRock commented Oct 4, 2020

Also, there are a few issues I've found on a real device.
Here the text is too long to fit and it's not scrollable.

Here and on the previous screenshot, the "skip" and "done" buttons aren't translated for some reason. They aren't present in the resources list though.

@codecov
Copy link

codecov bot commented Oct 4, 2020

Codecov Report

Merging #354 into master will decrease coverage by 36.38%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff             @@
##           master     #354       +/-   ##
===========================================
- Coverage   86.88%   50.49%   -36.39%     
===========================================
  Files          30       30               
  Lines        1617     1602       -15     
  Branches      178      161       -17     
===========================================
- Hits         1405      809      -596     
- Misses        114      758      +644     
+ Partials       98       35       -63     
Flag Coverage Δ
#android 46.64% <ø> (-39.54%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...thub/ashutoshgngwr/noice/fragment/AboutFragment.kt 0.00% <ø> (-99.11%) ⬇️
...com/github/ashutoshgngwr/noice/AppIntroActivity.kt 0.00% <0.00%> (-100.00%) ⬇️
...gngwr/noice/fragment/SupportDevelopmentFragment.kt 0.00% <0.00%> (-100.00%) ⬇️
...ashutoshgngwr/noice/fragment/SleepTimerFragment.kt 0.00% <0.00%> (-95.24%) ⬇️
...hutoshgngwr/noice/fragment/SoundLibraryFragment.kt 0.00% <0.00%> (-86.73%) ⬇️
...ub/ashutoshgngwr/noice/cast/CastOptionsProvider.kt 0.00% <0.00%> (-85.72%) ⬇️
...hub/ashutoshgngwr/noice/fragment/PresetFragment.kt 0.00% <0.00%> (-83.14%) ⬇️
...shutoshgngwr/noice/fragment/WakeUpTimerFragment.kt 0.00% <0.00%> (-80.71%) ⬇️
...ava/com/github/ashutoshgngwr/noice/MainActivity.kt 0.00% <0.00%> (-78.41%) ⬇️
... and 16 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 44fd8c8...ffa4742. Read the comment docs.

Copy link
Member

@ashutoshgngwr ashutoshgngwr left a comment

Choose a reason for hiding this comment

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

Hey @JekRock, thank you for taking the time to create this PR. I found 2 issues, please take a look at them.

Regarding the concerns that you pointed out:

Also, there are a few issues I've found on a real device. Here the text is too long to fit and it's not scrollable.

You can rephrase the text to be shorter. User will tend to skip very long texts in the intro slides. The original intent of the message was to explain what the time slider does.

Here and on the previous screenshot, the "skip" and "done" buttons aren't translated for some reason. They aren't present in the resources list though.

These are provided by the AppIntro library. You can create a PR in their repository to provide Ukrainian translations. See this.

@@ -0,0 +1 @@
Розслабтесь, покращить фокус та збільште продуктивність з мінімальним фоновим шумом
Copy link
Member

Choose a reason for hiding this comment

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

The short description needs to be <= 80 characters. Can you rephrase it to be at least 3 characters shorter?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure, I'll rephrase the description to make it fit the 80 characters limitation

<string name="water_stream">Потік води</string>
<string name="white_noise">Білий шум</string>
<string name="wind_in_palm_trees">Вітер у пальмах</string>
<string name="wind_in_chimes_of_shells">Китайський дзвіночок із мушель</string>
Copy link
Member

Choose a reason for hiding this comment

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

I am not sure if this is accurate. Google translates it to Chinese bell with shells.

Visual description: https://images.app.goo.gl/yiFc1eDhhXdn4DHj9

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It was the most difficult to translate.
If I understand it correctly, it's the sound made by something that looks similar to that
There is no short name for that thing in Ukrainian and the closest description is what I put into translation.
Russian translation has the word "Фурин" (link) that means "Japanese bell" (I don't agree with that translation).

I can change it to "Дзвін мушель" (bell of shells) if you think that it's a better translation for that.

Copy link
Member

Choose a reason for hiding this comment

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

@JekRock Can we make it Bells of glass shells?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm not sure that it sounds like glass shells (I may be wrong).
But generally, yes, it's kind of similar to what you suggested.

Copy link
Member

Choose a reason for hiding this comment

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

Yeah right. More like metal shells. Bell of shells is fine I guess!

@JekRock
Copy link
Contributor Author

JekRock commented Oct 5, 2020

You can rephrase the text to be shorter. User will tend to skip very long texts in the intro slides. The original intent of the message was to explain what the time slider does.

Got it, I'll rephrase it

These are provided by the AppIntro library. You can create a PR in their repository to provide Ukrainian translations. See this

Thanks, I'll send them a PR with translation

@JekRock
Copy link
Contributor Author

JekRock commented Oct 5, 2020

Also, I can help with updating the Russian translation, if you don't mind

@ashutoshgngwr
Copy link
Member

@JekRock Thanks for the quick response.

Also, I can help with updating the Russian translation, if you don't mind

Yes, please. Translations are lagging behind by a lot.

@JekRock
Copy link
Contributor Author

JekRock commented Oct 5, 2020

Yes, please. Translations are lagging behind by a lot.

Sure, I'll send a PR after we finish with the Ukrainian translation

@JekRock
Copy link
Contributor Author

JekRock commented Oct 5, 2020

Also, do you have a template for the featureGraphic?
I would like to add it to the translation as well.

@ashutoshgngwr
Copy link
Member

@JekRock I don't have a template. I create it at canva.com using a natural image for background. The dimensions must be 1024x500.

@JekRock
Copy link
Contributor Author

JekRock commented Oct 5, 2020

@ashutoshgngwr I've made changes that we've discussed.
Also, I've added the featureGraphic for the Ukrainian translation. Let me know if it looks fine.

@JekRock
Copy link
Contributor Author

JekRock commented Oct 5, 2020

I would appriciate if you could add the "hacktoberfest-accepted" label to the PR before merging. If not, that's fine, no worries

@ashutoshgngwr
Copy link
Member

@JekRock I've added the Hacktoberfest topic to the repository so I don't think it'll be necessary but I'll add it anyways.

@ashutoshgngwr ashutoshgngwr merged commit bf87039 into trynoice:master Oct 5, 2020
@JekRock
Copy link
Contributor Author

JekRock commented Oct 6, 2020

@ashutoshgngwr Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants