Skip to content
Snippets Groups Projects
Commit beaeea7d authored by hluk's avatar hluk
Browse files

Add script to update translations


Signed-off-by: default avatarLukas Holecek <hluk@email.cz>
parent 8a87fe27
No related branches found
No related tags found
No related merge requests found
......@@ -38,7 +38,7 @@ To add new language for the application follow these steps.
1. Edit ``copyq.pro`` and add file name for new language
(``translations/copyq_<LANGUAGE>.ts``) to ``TRANSLATIONS`` variable.
2. Create new language file with ``lupdate copyq.pro``.
2. Create new language file with ``utils/lupdate.sh``.
3. Add new language file to Git repository.
4. Translate with Weblate service or locally with
``linguist translations/copyq_<LANGUAGE>.ts``.
#!/bin/bash
exec "${LUPDATE:-lupdate-qt5}" src/ plugins/*/*.{cpp,h,ui} -ts translations/*.ts
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment