From 1655a5ef21138c31b9a8f02bdae469789c5c480e Mon Sep 17 00:00:00 2001 From: Enes Hecan Date: Tue, 8 Aug 2023 13:59:05 +0200 Subject: [PATCH] Remove en translation since we can attach english to our template in poeditor --- po/CMakeLists.txt | 6 +- po/LINGUAS | 1 - po/en.po | 212 ---------------------------------------------- 3 files changed, 3 insertions(+), 216 deletions(-) delete mode 100644 po/en.po diff --git a/po/CMakeLists.txt b/po/CMakeLists.txt index b784f60..84b30ff 100644 --- a/po/CMakeLists.txt +++ b/po/CMakeLists.txt @@ -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) diff --git a/po/LINGUAS b/po/LINGUAS index 5cf0c3c..56d6194 100644 --- a/po/LINGUAS +++ b/po/LINGUAS @@ -2,7 +2,6 @@ bn cs de -en es fr hu diff --git a/po/en.po b/po/en.po deleted file mode 100644 index 868e820..0000000 --- a/po/en.po +++ /dev/null @@ -1,212 +0,0 @@ -msgid "" -msgstr "" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Generator: POEditor.com\n" -"Project-Id-Version: WhatsApp for Linux\n" -"Language: en\n" - -#: ../src/ui/MainWindow.cpp:343 ../src/ui/TrayIcon.cpp:46 -#: ../resource/ui/MainWindow.ui.h:4 -msgid "About" -msgstr "About" - -#: ../src/ui/MainWindow.cpp:345 ../resource/ui/MainWindow.ui.h:6 -msgid "WhatsApp for Linux" -msgstr "WhatsApp for Linux" - -#: ../src/ui/MainWindow.cpp:346 -msgid "An unofficial WhatsApp desktop application for Linux" -msgstr "An unofficial WhatsApp desktop application for Linux" - -#: ../src/ui/PreferencesWindow.cpp:40 -msgid "On Demand" -msgstr "On Demand" - -#: ../src/ui/PreferencesWindow.cpp:41 -msgid "Always" -msgstr "Always" - -#: ../src/ui/PreferencesWindow.cpp:42 -msgid "Never" -msgstr "Never" - -#: ../src/ui/TrayIcon.cpp:45 -msgid "Show" -msgstr "Show" - -#: ../src/ui/TrayIcon.cpp:47 ../resource/ui/MainWindow.ui.h:5 -#: ../resource/ui/ShortcutsWindow.ui.h:10 -msgid "Quit" -msgstr "Quit" - -#: ../src/ui/WebView.cpp:75 -msgid "Save File" -msgstr "Save File" - -#: ../src/ui/WebView.cpp:76 -msgid "Ok" -msgstr "Ok" - -#: ../src/ui/WebView.cpp:77 -msgid "Cancel" -msgstr "Cancel" - -#: ../src/ui/WebView.cpp:328 -msgid "Unresponsive" -msgstr "Unresponsive" - -#: ../src/ui/WebView.cpp:329 -msgid "The application is not responding. Would you like to reload?" -msgstr "The application is not responding. Would you like to reload?" - -#: ../resource/ui/MainWindow.ui.h:1 -msgid "Fullscreen" -msgstr "Fullscreen" - -#: ../resource/ui/MainWindow.ui.h:2 ../resource/ui/PreferencesWindow.ui.h:22 -msgid "Preferences" -msgstr "Preferences" - -#: ../resource/ui/MainWindow.ui.h:3 ../resource/ui/ShortcutsWindow.ui.h:9 -msgid "Keyboard Shortcuts" -msgstr "Keyboard Shortcuts" - -#: ../resource/ui/MainWindow.ui.h:7 -msgid "Refresh" -msgstr "Refresh" - -#: ../resource/ui/MainWindow.ui.h:8 ../resource/ui/PhoneNumberDialog.ui.h:1 -msgid "Open chat by phone number" -msgstr "Open chat by phone number" - -#: ../resource/ui/PhoneNumberDialog.ui.h:2 -msgid "Enter phone number (only digits)" -msgstr "Enter phone number (only digits)" - -#: ../resource/ui/PreferencesWindow.ui.h:1 -msgid "Close to Tray" -msgstr "Close to Tray" - -#: ../resource/ui/PreferencesWindow.ui.h:2 -msgid "Start in Tray" -msgstr "Start in Tray" - -#: ../resource/ui/PreferencesWindow.ui.h:3 -msgid "Start Minimized" -msgstr "Start Minimized" - -#: ../resource/ui/PreferencesWindow.ui.h:4 -msgid "Autostart" -msgstr "Autostart" - -#: ../resource/ui/PreferencesWindow.ui.h:5 -msgid "Enable tray icon" -msgstr "Enable tray icon" - -#: ../resource/ui/PreferencesWindow.ui.h:6 -msgid "Start application as closed to tray" -msgstr "Start application as closed to tray" - -#: ../resource/ui/PreferencesWindow.ui.h:7 -msgid "Start application as minimized" -msgstr "Start application as minimized" - -#: ../resource/ui/PreferencesWindow.ui.h:8 -msgid "Start application after system boots" -msgstr "Start application after system boots" - -#: ../resource/ui/PreferencesWindow.ui.h:11 -#: ../resource/ui/ShortcutsWindow.ui.h:2 -msgid "General" -msgstr "General" - -#: ../resource/ui/PreferencesWindow.ui.h:12 -msgid "Prefer Dark Theme" -msgstr "Prefer Dark Theme" - -#: ../resource/ui/PreferencesWindow.ui.h:13 -msgid "Prefer dark theme for the application if system theme includes a dark variant" -msgstr "Prefer dark theme for the application if system theme includes a dark variant" - -#: ../resource/ui/PreferencesWindow.ui.h:14 -msgid "Appearance" -msgstr "Appearance" - -#: ../resource/ui/PreferencesWindow.ui.h:15 -msgid "Hardware Acceleration" -msgstr "Hardware Acceleration" - -#: ../resource/ui/PreferencesWindow.ui.h:16 -msgid "Allow Permissions" -msgstr "Allow Permissions" - -#: ../resource/ui/PreferencesWindow.ui.h:17 -msgid "Set hardware acceleration policy used by webkit" -msgstr "Set hardware acceleration policy used by webkit" - -#: ../resource/ui/PreferencesWindow.ui.h:18 -msgid "Allow permissions on application startup" -msgstr "Allow permissions on application startup" - -#: ../resource/ui/PreferencesWindow.ui.h:21 -msgid "Web" -msgstr "Web" - -#: ../resource/ui/ShortcutsWindow.ui.h:1 -msgid "Shortcuts" -msgstr "Shortcuts" - -#: ../resource/ui/ShortcutsWindow.ui.h:3 -msgid "Refresh Page" -msgstr "Refresh Page" - -#: ../resource/ui/ShortcutsWindow.ui.h:6 -msgid "Enter/Exit Fullscreen" -msgstr "Enter/Exit Fullscreen" - -#: ../resource/ui/ShortcutsWindow.ui.h:7 -msgid "Show/Hide Header Bar" -msgstr "Show/Hide Header Bar" - -#: ../resource/ui/ShortcutsWindow.ui.h:8 -msgid "Open Preferences" -msgstr "Open Preferences" - -#: ../src/ui/MainWindow.cpp:348 -msgid "GitHub Repository" -msgstr "GitHub Repository" - -#: ../resource/ui/PreferencesWindow.ui.h:9 -msgid "Enable Notification Sounds" -msgstr "Enable Notification Sounds" - -#: ../resource/ui/PreferencesWindow.ui.h:10 -msgid "Play sound on a notification raised by the application" -msgstr "Play sound on a notification raised by the application" - -#: ../resource/ui/PreferencesWindow.ui.h:19 -msgid "Minimum Font Size" -msgstr "Minimum Font Size" - -#: ../resource/ui/PreferencesWindow.ui.h:20 -msgid "Minimum font size used to display text, values other than 0 can potentially break page layouts" -msgstr "Minimum font size used to display text, values other than 0 can potentially break page layouts" - -#: ../resource/ui/ShortcutsWindow.ui.h:4 -msgid "Zoom In" -msgstr "Zoom In" - -#: ../resource/ui/ShortcutsWindow.ui.h:5 -msgid "Zoom Out" -msgstr "Zoom Out" - -#: ../src/ui/WebView.cpp:40 -msgid "Permission Request" -msgstr "Permission Request" - -#: ../src/ui/WebView.cpp:41 -msgid "Would you like to allow permissions?" -msgstr "Would you like to allow permissions?" -