Unverified Commit 81f6cdd1 authored by dmMaze's avatar dmMaze Committed by GitHub
Browse files

Merge pull request #840 from AkemiKami201/dev

Added **Spanish** language to the graphical interface and corrected misspelling
parents c8a3a498 5e579823
Loading
Loading
Loading
Loading

translate/es_MX.qm

0 → 100755
+26.7 KiB

File added.

No diff preview for this file type.

translate/es_MX.ts

0 → 100755
+1417 −0

File added.

Preview size limit exceeded, changes collapsed.

+2 −2
Original line number Diff line number Diff line
@@ -101,12 +101,12 @@ class LeftBar(Widget):
        actionImportFromDoc = QAction(self.tr("Import from Doc"), self)
        self.import_doc = actionImportFromDoc.triggered

        actionExportSrcTxt = QAction(self.tr("Export soure text as TXT"), self)
        actionExportSrcTxt = QAction(self.tr("Export source text as TXT"), self)
        self.export_src_txt = actionExportSrcTxt.triggered
        actionExportTranslationTxt = QAction(self.tr("Export translation as TXT"), self)
        self.export_trans_txt = actionExportTranslationTxt.triggered

        actionExportSrcMD = QAction(self.tr("Export soure text as markdown"), self)
        actionExportSrcMD = QAction(self.tr("Export source text as markdown"), self)
        self.export_src_md = actionExportSrcMD.triggered
        actionExportTranslationMD = QAction(self.tr("Export translation as markdown"), self)
        self.export_trans_md = actionExportTranslationMD.triggered
+2 −1
Original line number Diff line number Diff line
@@ -79,7 +79,8 @@ DISPLAY_LANGUAGE_MAP = {
    "简体中文": "zh_CN",
    "Русский": "ru_RU",
    "Português (Brasil)": "pt_BR",
    "한국어": "ko_KR"
    "한국어": "ko_KR",
    "Español": "es_MX"
}
VALID_LANG_SET = set(list(DISPLAY_LANGUAGE_MAP.values()))