diff --git a/.tx/config b/.tx/config index 52bed83f3..42ffa6ffd 100644 --- a/.tx/config +++ b/.tx/config @@ -3,6 +3,7 @@ host = https://www.transifex.com [qbittorrent.qbittorrent_master] file_filter = src/lang/qbittorrent_.ts +lang_map = pt: pt_PT source_file = src/lang/qbittorrent_en.ts source_lang = en type = QT diff --git a/src/lang.qrc b/src/lang.qrc index 8c049520d..e060ab126 100644 --- a/src/lang.qrc +++ b/src/lang.qrc @@ -31,7 +31,7 @@ lang/qbittorrent_nb.qm lang/qbittorrent_nl.qm lang/qbittorrent_pl.qm - lang/qbittorrent_pt.qm + lang/qbittorrent_pt_PT.qm lang/qbittorrent_pt_BR.qm lang/qbittorrent_ro.qm lang/qbittorrent_ru.qm diff --git a/src/lang/qbittorrent_pt.ts b/src/lang/qbittorrent_pt_PT.ts similarity index 100% rename from src/lang/qbittorrent_pt.ts rename to src/lang/qbittorrent_pt_PT.ts diff --git a/src/src.pro b/src/src.pro index 346757a01..40ac30e2d 100644 --- a/src/src.pro +++ b/src/src.pro @@ -98,7 +98,7 @@ TRANSLATIONS = \ $$LANG_PATH/qbittorrent_sk.ts \ $$LANG_PATH/qbittorrent_sl.ts \ $$LANG_PATH/qbittorrent_ro.ts \ - $$LANG_PATH/qbittorrent_pt.ts \ + $$LANG_PATH/qbittorrent_pt_PT.ts \ $$LANG_PATH/qbittorrent_nb.ts \ $$LANG_PATH/qbittorrent_fi.ts \ $$LANG_PATH/qbittorrent_da.ts \