Skip to content

Conversation

@nickvergessen
Copy link
Member

Don't know how to run the script local. @MorrisJobke to the rescue

@nickvergessen nickvergessen added bug 3. to review Waiting for reviews feature: language/translations (l10n/i18n) Localization and translation matters labels Jan 29, 2018
@nickvergessen nickvergessen added this to the Nextcloud 14 milestone Jan 29, 2018
@nickvergessen
Copy link
Member Author

For testing see the empty translation list of the notifications app.

@codecov
Copy link

codecov bot commented Jan 29, 2018

Codecov Report

❗ No coverage uploaded for pull request base (master@01482b3). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff            @@
##             master   #8094   +/-   ##
========================================
  Coverage          ?   51.7%           
  Complexity        ?   25426           
========================================
  Files             ?    1598           
  Lines             ?   95236           
  Branches          ?    1376           
========================================
  Hits              ?   49244           
  Misses            ?   45992           
  Partials          ?       0

Signed-off-by: Joas Schilling <coding@schilljs.com>
@nickvergessen nickvergessen force-pushed the bugfix/noid/read-translations-for-vue-files-too branch from d1d45e4 to d1618f1 Compare January 29, 2018 14:25
@nickvergessen
Copy link
Member Author

Okay, got it working now and confirmed its working.

For extra apps nextcloud/docker-ci#73 is necessary

foreach my $i ( @files ){
next if substr( $i, 0, 1 ) eq '.';
next if $i eq 'l10n';
next if $i eq 'node_modules';
Copy link
Member Author

Choose a reason for hiding this comment

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

I also made it skip node_modules by default...

@nickvergessen
Copy link
Member Author

nickvergessen commented Jan 30, 2018

I noticed, that the way I use currently is quite unsatisfying for apps with a lot of strings in the UI:
https://github.com/nextcloud/notifications/blob/b59df847cf8a6fcc906e97496784d8446f8371f1/js-src/components/root.vue#L38-L40

Maybe it's time to write a component for t() and n(), or how did you experience this stuff?
@ChristophWurst @juliushaertl

nextcloud/notifications#114

@nickvergessen
Copy link
Member Author

Removed by #6265 -> closing

@nickvergessen nickvergessen deleted the bugfix/noid/read-translations-for-vue-files-too branch February 2, 2018 11:18
@MorrisJobke MorrisJobke removed this from the Nextcloud 14 milestone Feb 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews bug feature: language/translations (l10n/i18n) Localization and translation matters

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants