Skip to content

webui: improve localization process#1429

Merged
joergsteffens merged 4 commits intobareos:masterfrom
joergsteffens:dev/joergs/master/poeditor
Apr 4, 2023
Merged

webui: improve localization process#1429
joergsteffens merged 4 commits intobareos:masterfrom
joergsteffens:dev/joergs/master/poeditor

Conversation

@joergsteffens
Copy link
Member

@joergsteffens joergsteffens commented Mar 31, 2023

Have the msgids in the pot and po always in the same order.
This should make diffs between language commits smaller and easier to read.

Remove some msgids by choosing the some upper/lower-case writing as in other occurrences.

Please check

  • Short description and the purpose of this PR is present above this paragraph
  • Your name is present in the AUTHORS file (optional)

If you have any questions or problems, please give a comment in the PR.

Helpful documentation and best practices

Checklist for the reviewer of the PR (will be processed by the Bareos team)

Make sure you check/merge the PR using devtools/pr-tool to have some simple automated checks run and a proper changelog record added.

General
  • Is the PR title usable as CHANGELOG entry?
  • Purpose of the PR is understood
  • Commit descriptions are understandable and well formatted
Source code quality
  • Source code changes are understandable
  • Variable and function names are meaningful
  • Code comments are correct (logically and spelling)
  • Required documentation changes are present and part of the PR

@joergsteffens joergsteffens requested a review from frb121 March 31, 2023 17:56
Copy link
Contributor

@frb121 frb121 left a comment

Choose a reason for hiding this comment

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

Commit 747bfa1 is going to collide with #1414 .

Thus we should remove it from this PR and update the *.po(t) files in a separate PR after #1414 and #1429 have been merged.

@frb121 frb121 self-assigned this Apr 4, 2023
@frb121
Copy link
Contributor

frb121 commented Apr 4, 2023

I'd like to suggest changing the PR title to sth. like webui: improve localization process.

@frb121 frb121 assigned joergsteffens and unassigned frb121 Apr 4, 2023
@joergsteffens joergsteffens changed the title webui: cleanup localization webui: improve localization process Apr 4, 2023
@joergsteffens joergsteffens force-pushed the dev/joergs/master/poeditor branch from 958d2d6 to fee4c47 Compare April 4, 2023 10:56
@joergsteffens joergsteffens requested a review from frb121 April 4, 2023 10:57
Copy link
Contributor

@frb121 frb121 left a comment

Choose a reason for hiding this comment

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

Looks good to me.

@joergsteffens joergsteffens force-pushed the dev/joergs/master/poeditor branch 4 times, most recently from d0b9441 to 42688c5 Compare April 4, 2023 14:08
Try to generate the translations files always in the same order,
to minimize the differences between changes.
Some strings have been used multiple times but with different
lower/upper-case writing.
We change some of these string to a unified form.
Add a hint, that new languages can now also be added by poeditor.com
@joergsteffens joergsteffens force-pushed the dev/joergs/master/poeditor branch from 0332a8d to 210a8fa Compare April 4, 2023 15:05
@joergsteffens joergsteffens merged commit 8b9e0e2 into bareos:master Apr 4, 2023
@joergsteffens joergsteffens deleted the dev/joergs/master/poeditor branch April 4, 2023 15:06
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