Skip to content

Commit

Permalink
mgr/dashboard: Remove messages.xlf
Browse files Browse the repository at this point in the history
Removes the messages.xlf file from the git repository, due to a lot of merge conflicts.
It won't cause any problems, because the file is not important for building or the translation during runtime.

Fixes: https://tracker.ceph.com/issues/38003
Signed-off-by: Sebastian Krah <skrah@suse.com>
  • Loading branch information
Sebastian Krah committed May 9, 2019
1 parent 615b11b commit 170b964
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 6,925 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,4 @@ GTAGS
/src/pybind/mgr/dashboard/frontend/.protractor-report
/src/pybind/mgr/dashboard/frontend/src/environments/environment.ts
/src/pybind/mgr/dashboard/frontend/src/environments/environment.prod.ts
/src/pybind/mgr/dashboard/frontend/src/locale/messages.xlf
5 changes: 2 additions & 3 deletions src/pybind/mgr/dashboard/HACKING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -333,9 +333,8 @@ parse the TypeScript files.
When the command ran successfully, it should have created or updated the file
``src/locale/messages.xlf``.

To make sure this file is always up to date in master branch, we added a
validation in ``run-frontend-unittests.sh`` that will fail if it finds
uncommitted translations.
The file isn't tracked by git, you can just use it to start with the
translation offline or add/update the resource files on transifex.

Supported languages
~~~~~~~~~~~~~~~~~~~
Expand Down
Loading

0 comments on commit 170b964

Please sign in to comment.