Skip to content

Commit

Permalink
Remove en translation since we can attach english to our template in …
Browse files Browse the repository at this point in the history
…poeditor
  • Loading branch information
xeco23 committed Aug 8, 2023
1 parent a35d187 commit 1655a5e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 216 deletions.
6 changes: 3 additions & 3 deletions po/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ file(GLOB PO_FILES *.po)

add_custom_command(
OUTPUT ${CMAKE_PROJECT_NAME}.pot
COMMAND intltool-update -g ${CMAKE_PROJECT_NAME} -p && intltool-update --dist --gettext-package=whatsapp-for-linux --output-file=en.po en
COMMAND intltool-update -g ${CMAKE_PROJECT_NAME} -p && intltool-update --pot --gettext-package=${CMAKE_PROJECT_NAME}
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
COMMENT "Updating default translation files"
COMMENT "Updating template translation"
)

add_custom_target(update-translations DEPENDS ${CMAKE_PROJECT_NAME}.pot en.po)
add_custom_target(update-template-translation DEPENDS ${CMAKE_PROJECT_NAME}.pot)

foreach (LANG ${PO_FILES})
get_filename_component(LANG ${LANG} NAME)
Expand Down
1 change: 0 additions & 1 deletion po/LINGUAS
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
bn
cs
de
en
es
fr
hu
Expand Down
212 changes: 0 additions & 212 deletions po/en.po

This file was deleted.

0 comments on commit 1655a5e

Please sign in to comment.