diff --git a/.gitignore b/.gitignore index b6e4761..ac90f23 100644 --- a/.gitignore +++ b/.gitignore @@ -52,7 +52,7 @@ coverage.xml .pytest_cache/ # Translations -*.mo +# *.mo *.pot # Django stuff: diff --git a/MANIFEST.in b/MANIFEST.in index 443bb8b..f1df7ba 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1 +1,9 @@ graft doc/ + +recursive-include sphinx_togglebutton *.js +recursive-include sphinx_togglebutton *.css + +recursive-include sphinx_togglebutton *.json +recursive-include sphinx_togglebutton *.mo +recursive-include sphinx_togglebutton *.po +recursive-include sphinx_togglebutton *.py \ No newline at end of file diff --git a/setup.py b/setup.py index 3556000..4b698f3 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,15 @@ license="MIT License", packages=find_packages(), package_data={ - "sphinx_togglebutton": ["_static/togglebutton.css", "_static/togglebutton.js", "_static/togglebutton-chevron.svg"] + "sphinx_togglebutton": [ + "_static/togglebutton.css", + "_static/togglebutton.js", + "_static/togglebutton-chevron.svg", + "translations/README.md", + "translations/_convert.py", + "translations/jsons/*.json", + "translations/locales/**/*" + ] }, install_requires=["setuptools", "wheel", "sphinx", "docutils"], extras_require={"sphinx": ["matplotlib", "numpy", "myst_nb", "sphinx_book_theme", "sphinx_design", "sphinx_examples"]}, diff --git a/sphinx_togglebutton/__init__.py b/sphinx_togglebutton/__init__.py index 0792641..c96c957 100644 --- a/sphinx_togglebutton/__init__.py +++ b/sphinx_togglebutton/__init__.py @@ -3,6 +3,10 @@ from docutils.parsers.rst import Directive, directives from docutils import nodes +from sphinx.locale import get_translation +MESSAGE_CATALOG_NAME = "togglebutton" +translate = get_translation(MESSAGE_CATALOG_NAME) + __version__ = "0.3.2" @@ -50,6 +54,12 @@ def run(self): # We connect this function to the step after the builder is initialized def setup(app): + # add translations + package_dir = os.path.abspath(os.path.dirname(__file__)) + locale_dir = os.path.join(package_dir, "translations", "locales") + app.add_message_catalog(MESSAGE_CATALOG_NAME, locale_dir) + + # Add our static path app.connect("builder-inited", st_static_path) @@ -59,8 +69,8 @@ def setup(app): # Add the string we'll use to select items in the JS # Tell Sphinx about this configuration variable app.add_config_value("togglebutton_selector", ".toggle, .admonition.dropdown", "html") - app.add_config_value("togglebutton_hint", "Click to show", "html") - app.add_config_value("togglebutton_hint_hide", "Click to hide", "html") + app.add_config_value("togglebutton_hint", f"{translate('Click to show')}", "html") + app.add_config_value("togglebutton_hint_hide", f"{translate('Click to hide')}", "html") app.add_config_value("togglebutton_open_on_print", True, "html") # Run the function after the builder is initialized diff --git a/sphinx_togglebutton/_static/togglebutton.js b/sphinx_togglebutton/_static/togglebutton.js index d67ccf1..a07c5e8 100644 --- a/sphinx_togglebutton/_static/togglebutton.js +++ b/sphinx_togglebutton/_static/togglebutton.js @@ -123,6 +123,25 @@ var toggleHidden = (button) => { } }; +// Function to synchronize the data-toggle-hint with the current state +var syncToggleHint = (button) => { + const target = button.dataset["target"]; + const itemToToggle = document.getElementById(target); + + if (itemToToggle && itemToToggle.classList.contains("toggle-hidden")) { + button.dataset.toggleHint = toggleHintShow; + button.setAttribute("aria-expanded", false); + } else if (itemToToggle) { + button.dataset.toggleHint = toggleHintHide; + button.setAttribute("aria-expanded", true); + } +}; + +// Function to sync all toggle buttons - can be called by external extensions +var syncAllToggleHints = () => { + document.querySelectorAll('.toggle-button').forEach(syncToggleHint); +}; + var toggleClickHandler = (click) => { // Be cause the admonition title is clickable and extends to the whole admonition // We only look for a click event on this title to trigger the toggle. @@ -170,6 +189,33 @@ const sphinxToggleRunWhenDOMLoaded = (cb) => { sphinxToggleRunWhenDOMLoaded(addToggleToSelector); sphinxToggleRunWhenDOMLoaded(initToggleItems); +// Set up MutationObserver to watch for external changes to toggle states +sphinxToggleRunWhenDOMLoaded(() => { + const observer = new MutationObserver((mutations) => { + mutations.forEach((mutation) => { + if (mutation.type === 'attributes' && mutation.attributeName === 'class') { + const target = mutation.target; + // Check if this is a toggle item that had its class changed + if (target.classList.contains('toggle')) { + // Find the associated toggle button and sync its hint + const button = target.querySelector('.toggle-button'); + if (button) { + syncToggleHint(button); + } + } + } + }); + }); + + // Start observing class changes on all toggle elements + document.querySelectorAll('.toggle').forEach((toggleElement) => { + observer.observe(toggleElement, { + attributes: true, + attributeFilter: ['class'] + }); + }); +}); + /** Toggle details blocks to be open when printing */ if (toggleOpenOnPrint == "true") { window.addEventListener("beforeprint", () => { diff --git a/sphinx_togglebutton/translations/README.md b/sphinx_togglebutton/translations/README.md new file mode 100644 index 0000000..8dff863 --- /dev/null +++ b/sphinx_togglebutton/translations/README.md @@ -0,0 +1,3 @@ +JSONs created using GitHub Copilot Pro. + +To convert to locale files run `_convert.py` in this folder. diff --git a/sphinx_togglebutton/translations/_convert.py b/sphinx_togglebutton/translations/_convert.py new file mode 100644 index 0000000..45829b4 --- /dev/null +++ b/sphinx_togglebutton/translations/_convert.py @@ -0,0 +1,58 @@ +import json +import os +from pathlib import Path +import subprocess + +MESSAGE_CATALOG_NAME = "togglebutton" + +def convert_json(folder=None): + folder = folder or Path(__file__).parent + + # remove exising + for path in (folder / "locales").glob(f"**/{MESSAGE_CATALOG_NAME}.po"): + path.unlink() + + # compile po + for path in (folder / "jsons").glob("*.json"): + data = json.loads(path.read_text("utf8")) + assert data[0]["symbol"] == "en" + english = data[0]["text"] + for item in data[1:]: + language = item["symbol"] + out_path = folder / "locales" / language / "LC_MESSAGES" / f"{MESSAGE_CATALOG_NAME}.po" + if not out_path.parent.exists(): + out_path.parent.mkdir(parents=True) + if not out_path.exists(): + header = f""" +msgid "" +msgstr "" +"Project-Id-Version: Sphinx-ToggleButton\\n" +"MIME-Version: 1.0\\n" +"Content-Type: text/plain; charset=UTF-8\\n" +"Content-Transfer-Encoding: 8bit\\n" +"Language: {language}\\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\\n" +""" + out_path.write_text(header) + + with out_path.open("a", encoding="utf8") as f: + f.write("\n") + f.write(f'msgid "{english}"\n') + text = item["text"].replace('"', '\\"') + f.write(f'msgstr "{text}"\n') + + # compile mo + for path in (folder / "locales").glob(f"**/{MESSAGE_CATALOG_NAME}.po"): + print(path) + subprocess.check_call( + [ + "msgfmt", + os.path.abspath(path), + "-o", + os.path.abspath(path.parent / f"{MESSAGE_CATALOG_NAME}.mo"), + ] + ) + + +if __name__ == "__main__": + convert_json() diff --git a/sphinx_togglebutton/translations/jsons/Hide.json b/sphinx_togglebutton/translations/jsons/Hide.json new file mode 100644 index 0000000..1e8ceaf --- /dev/null +++ b/sphinx_togglebutton/translations/jsons/Hide.json @@ -0,0 +1,34 @@ +[ + {"language":"English","symbol":"en","text":"Click to hide"}, + {"language":"Chinese (Simplified)","symbol":"zh-cn","text":"点击隐藏"}, + {"language":"Chinese (Traditional)","symbol":"zh-tw","text":"點擊隱藏"}, + {"language":"Hindi","symbol":"hi","text":"छुपाने के लिए क्लिक करें"}, + {"language":"Spanish","symbol":"es","text":"Haz clic para ocultar"}, + {"language":"French","symbol":"fr","text":"Cliquez pour masquer"}, + {"language":"Arabic","symbol":"ar","text":"انقر للإخفاء"}, + {"language":"Bengali","symbol":"bn","text":"লুকাতে ক্লিক করুন"}, + {"language":"Russian","symbol":"ru","text":"Нажмите, чтобы скрыть"}, + {"language":"Portuguese","symbol":"pt","text":"Clique para ocultar"}, + {"language":"Indonesian","symbol":"id","text":"Klik untuk menyembunyikan"}, + {"language":"Japanese","symbol":"ja","text":"クリックして非表示"}, + {"language":"German","symbol":"de","text":"Klicken zum Ausblenden"}, + {"language":"Korean","symbol":"ko","text":"숨기려면 클릭"}, + {"language":"Turkish","symbol":"tr","text":"Gizlemek için tıklayın"}, + {"language":"Vietnamese","symbol":"vi","text":"Nhấp để ẩn"}, + {"language":"Tamil","symbol":"ta","text":"மறைக்க கிளிக் செய்யவும்"}, + {"language":"Italian","symbol":"it","text":"Clicca per nascondere"}, + {"language":"Thai","symbol":"th","text":"คลิกเพื่อซ่อน"}, + {"language":"Dutch","symbol":"nl","text":"Klik om te verbergen"}, + {"language":"Greek","symbol":"el","text":"Κάντε κλικ για απόκρυψη"}, + {"language":"Polish","symbol":"pl","text":"Kliknij, aby ukryć"}, + {"language":"Ukrainian","symbol":"uk","text":"Натисніть, щоб приховати"}, + {"language":"Persian","symbol":"fa","text":"برای مخفی کردن کلیک کنید"}, + {"language":"Malay","symbol":"ms","text":"Klik untuk menyembunyikan"}, + {"language":"Swahili","symbol":"sw","text":"Bonyeza kuficha"}, + {"language":"Romanian","symbol":"ro","text":"Faceți clic pentru a ascunde"}, + {"language":"Czech","symbol":"cs","text":"Klikněte pro skrytí"}, + {"language":"Hungarian","symbol":"hu","text":"Kattintson az elrejtéshez"}, + {"language":"Hebrew","symbol":"he","text":"לחץ להסתרה"}, + {"language":"Swedish","symbol":"sv","text":"Klicka för att dölja"}, + {"language":"Norwegian","symbol":"no","text":"Klikk for å skjule"} +] diff --git a/sphinx_togglebutton/translations/jsons/Show.json b/sphinx_togglebutton/translations/jsons/Show.json new file mode 100644 index 0000000..c10fb4d --- /dev/null +++ b/sphinx_togglebutton/translations/jsons/Show.json @@ -0,0 +1,34 @@ +[ + {"language":"English","symbol":"en","text":"Click to show"}, + {"language":"Chinese (Simplified)","symbol":"zh-cn","text":"点击显示"}, + {"language":"Chinese (Traditional)","symbol":"zh-tw","text":"點擊顯示"}, + {"language":"Hindi","symbol":"hi","text":"दिखाने के लिए क्लिक करें"}, + {"language":"Spanish","symbol":"es","text":"Haz clic para mostrar"}, + {"language":"French","symbol":"fr","text":"Cliquez pour afficher"}, + {"language":"Arabic","symbol":"ar","text":"انقر للعرض"}, + {"language":"Bengali","symbol":"bn","text":"দেখাতে ক্লিক করুন"}, + {"language":"Russian","symbol":"ru","text":"Нажмите, чтобы показать"}, + {"language":"Portuguese","symbol":"pt","text":"Clique para mostrar"}, + {"language":"Indonesian","symbol":"id","text":"Klik untuk menampilkan"}, + {"language":"Japanese","symbol":"ja","text":"クリックして表示"}, + {"language":"German","symbol":"de","text":"Klicken zum Anzeigen"}, + {"language":"Korean","symbol":"ko","text":"표시하려면 클릭"}, + {"language":"Turkish","symbol":"tr","text":"Göstermek için tıklayın"}, + {"language":"Vietnamese","symbol":"vi","text":"Nhấp để hiển thị"}, + {"language":"Tamil","symbol":"ta","text":"காட்ட கிளிக் செய்யவும்"}, + {"language":"Italian","symbol":"it","text":"Clicca per mostrare"}, + {"language":"Thai","symbol":"th","text":"คลิกเพื่อแสดง"}, + {"language":"Dutch","symbol":"nl","text":"Klik om te tonen"}, + {"language":"Greek","symbol":"el","text":"Κάντε κλικ για εμφάνιση"}, + {"language":"Polish","symbol":"pl","text":"Kliknij, aby pokazać"}, + {"language":"Ukrainian","symbol":"uk","text":"Натисніть, щоб показати"}, + {"language":"Persian","symbol":"fa","text":"برای نمایش کلیک کنید"}, + {"language":"Malay","symbol":"ms","text":"Klik untuk menunjukkan"}, + {"language":"Swahili","symbol":"sw","text":"Bonyeza kuonyesha"}, + {"language":"Romanian","symbol":"ro","text":"Faceți clic pentru a afișa"}, + {"language":"Czech","symbol":"cs","text":"Klikněte pro zobrazení"}, + {"language":"Hungarian","symbol":"hu","text":"Kattintson a megjelenítéshez"}, + {"language":"Hebrew","symbol":"he","text":"לחץ להצגה"}, + {"language":"Swedish","symbol":"sv","text":"Klicka för att visa"}, + {"language":"Norwegian","symbol":"no","text":"Klikk for å vise"} +] diff --git a/sphinx_togglebutton/translations/locales/ar/LC_MESSAGES/togglebutton.mo b/sphinx_togglebutton/translations/locales/ar/LC_MESSAGES/togglebutton.mo new file mode 100644 index 0000000..63f81e0 Binary files /dev/null and b/sphinx_togglebutton/translations/locales/ar/LC_MESSAGES/togglebutton.mo differ diff --git a/sphinx_togglebutton/translations/locales/ar/LC_MESSAGES/togglebutton.po b/sphinx_togglebutton/translations/locales/ar/LC_MESSAGES/togglebutton.po new file mode 100644 index 0000000..15fc833 --- /dev/null +++ b/sphinx_togglebutton/translations/locales/ar/LC_MESSAGES/togglebutton.po @@ -0,0 +1,15 @@ + +msgid "" +msgstr "" +"Project-Id-Version: Sphinx-ToggleButton\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: ar\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +msgid "Click to hide" +msgstr "انقر للإخفاء" + +msgid "Click to show" +msgstr "انقر للعرض" diff --git a/sphinx_togglebutton/translations/locales/bn/LC_MESSAGES/togglebutton.mo b/sphinx_togglebutton/translations/locales/bn/LC_MESSAGES/togglebutton.mo new file mode 100644 index 0000000..2a6fe24 Binary files /dev/null and b/sphinx_togglebutton/translations/locales/bn/LC_MESSAGES/togglebutton.mo differ diff --git a/sphinx_togglebutton/translations/locales/bn/LC_MESSAGES/togglebutton.po b/sphinx_togglebutton/translations/locales/bn/LC_MESSAGES/togglebutton.po new file mode 100644 index 0000000..e7d2af6 --- /dev/null +++ b/sphinx_togglebutton/translations/locales/bn/LC_MESSAGES/togglebutton.po @@ -0,0 +1,15 @@ + +msgid "" +msgstr "" +"Project-Id-Version: Sphinx-ToggleButton\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: bn\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +msgid "Click to hide" +msgstr "লুকাতে ক্লিক করুন" + +msgid "Click to show" +msgstr "দেখাতে ক্লিক করুন" diff --git a/sphinx_togglebutton/translations/locales/cs/LC_MESSAGES/togglebutton.mo b/sphinx_togglebutton/translations/locales/cs/LC_MESSAGES/togglebutton.mo new file mode 100644 index 0000000..57c72bc Binary files /dev/null and b/sphinx_togglebutton/translations/locales/cs/LC_MESSAGES/togglebutton.mo differ diff --git a/sphinx_togglebutton/translations/locales/cs/LC_MESSAGES/togglebutton.po b/sphinx_togglebutton/translations/locales/cs/LC_MESSAGES/togglebutton.po new file mode 100644 index 0000000..85e701e --- /dev/null +++ b/sphinx_togglebutton/translations/locales/cs/LC_MESSAGES/togglebutton.po @@ -0,0 +1,15 @@ + +msgid "" +msgstr "" +"Project-Id-Version: Sphinx-ToggleButton\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: cs\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +msgid "Click to hide" +msgstr "Klikněte pro skrytí" + +msgid "Click to show" +msgstr "Klikněte pro zobrazení" diff --git a/sphinx_togglebutton/translations/locales/de/LC_MESSAGES/togglebutton.mo b/sphinx_togglebutton/translations/locales/de/LC_MESSAGES/togglebutton.mo new file mode 100644 index 0000000..68bff25 Binary files /dev/null and b/sphinx_togglebutton/translations/locales/de/LC_MESSAGES/togglebutton.mo differ diff --git a/sphinx_togglebutton/translations/locales/de/LC_MESSAGES/togglebutton.po b/sphinx_togglebutton/translations/locales/de/LC_MESSAGES/togglebutton.po new file mode 100644 index 0000000..ae676dc --- /dev/null +++ b/sphinx_togglebutton/translations/locales/de/LC_MESSAGES/togglebutton.po @@ -0,0 +1,15 @@ + +msgid "" +msgstr "" +"Project-Id-Version: Sphinx-ToggleButton\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: de\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +msgid "Click to hide" +msgstr "Klicken zum Ausblenden" + +msgid "Click to show" +msgstr "Klicken zum Anzeigen" diff --git a/sphinx_togglebutton/translations/locales/el/LC_MESSAGES/togglebutton.mo b/sphinx_togglebutton/translations/locales/el/LC_MESSAGES/togglebutton.mo new file mode 100644 index 0000000..6002117 Binary files /dev/null and b/sphinx_togglebutton/translations/locales/el/LC_MESSAGES/togglebutton.mo differ diff --git a/sphinx_togglebutton/translations/locales/el/LC_MESSAGES/togglebutton.po b/sphinx_togglebutton/translations/locales/el/LC_MESSAGES/togglebutton.po new file mode 100644 index 0000000..f6273f6 --- /dev/null +++ b/sphinx_togglebutton/translations/locales/el/LC_MESSAGES/togglebutton.po @@ -0,0 +1,15 @@ + +msgid "" +msgstr "" +"Project-Id-Version: Sphinx-ToggleButton\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: el\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +msgid "Click to hide" +msgstr "Κάντε κλικ για απόκρυψη" + +msgid "Click to show" +msgstr "Κάντε κλικ για εμφάνιση" diff --git a/sphinx_togglebutton/translations/locales/es/LC_MESSAGES/togglebutton.mo b/sphinx_togglebutton/translations/locales/es/LC_MESSAGES/togglebutton.mo new file mode 100644 index 0000000..bf37e5f Binary files /dev/null and b/sphinx_togglebutton/translations/locales/es/LC_MESSAGES/togglebutton.mo differ diff --git a/sphinx_togglebutton/translations/locales/es/LC_MESSAGES/togglebutton.po b/sphinx_togglebutton/translations/locales/es/LC_MESSAGES/togglebutton.po new file mode 100644 index 0000000..b16c536 --- /dev/null +++ b/sphinx_togglebutton/translations/locales/es/LC_MESSAGES/togglebutton.po @@ -0,0 +1,15 @@ + +msgid "" +msgstr "" +"Project-Id-Version: Sphinx-ToggleButton\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: es\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +msgid "Click to hide" +msgstr "Haz clic para ocultar" + +msgid "Click to show" +msgstr "Haz clic para mostrar" diff --git a/sphinx_togglebutton/translations/locales/fa/LC_MESSAGES/togglebutton.mo b/sphinx_togglebutton/translations/locales/fa/LC_MESSAGES/togglebutton.mo new file mode 100644 index 0000000..ec6f79e Binary files /dev/null and b/sphinx_togglebutton/translations/locales/fa/LC_MESSAGES/togglebutton.mo differ diff --git a/sphinx_togglebutton/translations/locales/fa/LC_MESSAGES/togglebutton.po b/sphinx_togglebutton/translations/locales/fa/LC_MESSAGES/togglebutton.po new file mode 100644 index 0000000..2f1bcf1 --- /dev/null +++ b/sphinx_togglebutton/translations/locales/fa/LC_MESSAGES/togglebutton.po @@ -0,0 +1,15 @@ + +msgid "" +msgstr "" +"Project-Id-Version: Sphinx-ToggleButton\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: fa\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +msgid "Click to hide" +msgstr "برای مخفی کردن کلیک کنید" + +msgid "Click to show" +msgstr "برای نمایش کلیک کنید" diff --git a/sphinx_togglebutton/translations/locales/fr/LC_MESSAGES/togglebutton.mo b/sphinx_togglebutton/translations/locales/fr/LC_MESSAGES/togglebutton.mo new file mode 100644 index 0000000..e8fc04d Binary files /dev/null and b/sphinx_togglebutton/translations/locales/fr/LC_MESSAGES/togglebutton.mo differ diff --git a/sphinx_togglebutton/translations/locales/fr/LC_MESSAGES/togglebutton.po b/sphinx_togglebutton/translations/locales/fr/LC_MESSAGES/togglebutton.po new file mode 100644 index 0000000..5704221 --- /dev/null +++ b/sphinx_togglebutton/translations/locales/fr/LC_MESSAGES/togglebutton.po @@ -0,0 +1,15 @@ + +msgid "" +msgstr "" +"Project-Id-Version: Sphinx-ToggleButton\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: fr\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +msgid "Click to hide" +msgstr "Cliquez pour masquer" + +msgid "Click to show" +msgstr "Cliquez pour afficher" diff --git a/sphinx_togglebutton/translations/locales/he/LC_MESSAGES/togglebutton.mo b/sphinx_togglebutton/translations/locales/he/LC_MESSAGES/togglebutton.mo new file mode 100644 index 0000000..560f453 Binary files /dev/null and b/sphinx_togglebutton/translations/locales/he/LC_MESSAGES/togglebutton.mo differ diff --git a/sphinx_togglebutton/translations/locales/he/LC_MESSAGES/togglebutton.po b/sphinx_togglebutton/translations/locales/he/LC_MESSAGES/togglebutton.po new file mode 100644 index 0000000..59ac8b1 --- /dev/null +++ b/sphinx_togglebutton/translations/locales/he/LC_MESSAGES/togglebutton.po @@ -0,0 +1,15 @@ + +msgid "" +msgstr "" +"Project-Id-Version: Sphinx-ToggleButton\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: he\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +msgid "Click to hide" +msgstr "לחץ להסתרה" + +msgid "Click to show" +msgstr "לחץ להצגה" diff --git a/sphinx_togglebutton/translations/locales/hi/LC_MESSAGES/togglebutton.mo b/sphinx_togglebutton/translations/locales/hi/LC_MESSAGES/togglebutton.mo new file mode 100644 index 0000000..86a735c Binary files /dev/null and b/sphinx_togglebutton/translations/locales/hi/LC_MESSAGES/togglebutton.mo differ diff --git a/sphinx_togglebutton/translations/locales/hi/LC_MESSAGES/togglebutton.po b/sphinx_togglebutton/translations/locales/hi/LC_MESSAGES/togglebutton.po new file mode 100644 index 0000000..020601e --- /dev/null +++ b/sphinx_togglebutton/translations/locales/hi/LC_MESSAGES/togglebutton.po @@ -0,0 +1,15 @@ + +msgid "" +msgstr "" +"Project-Id-Version: Sphinx-ToggleButton\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: hi\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +msgid "Click to hide" +msgstr "छुपाने के लिए क्लिक करें" + +msgid "Click to show" +msgstr "दिखाने के लिए क्लिक करें" diff --git a/sphinx_togglebutton/translations/locales/hu/LC_MESSAGES/togglebutton.mo b/sphinx_togglebutton/translations/locales/hu/LC_MESSAGES/togglebutton.mo new file mode 100644 index 0000000..e9ddd5a Binary files /dev/null and b/sphinx_togglebutton/translations/locales/hu/LC_MESSAGES/togglebutton.mo differ diff --git a/sphinx_togglebutton/translations/locales/hu/LC_MESSAGES/togglebutton.po b/sphinx_togglebutton/translations/locales/hu/LC_MESSAGES/togglebutton.po new file mode 100644 index 0000000..d55b541 --- /dev/null +++ b/sphinx_togglebutton/translations/locales/hu/LC_MESSAGES/togglebutton.po @@ -0,0 +1,15 @@ + +msgid "" +msgstr "" +"Project-Id-Version: Sphinx-ToggleButton\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: hu\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +msgid "Click to hide" +msgstr "Kattintson az elrejtéshez" + +msgid "Click to show" +msgstr "Kattintson a megjelenítéshez" diff --git a/sphinx_togglebutton/translations/locales/id/LC_MESSAGES/togglebutton.mo b/sphinx_togglebutton/translations/locales/id/LC_MESSAGES/togglebutton.mo new file mode 100644 index 0000000..9789d3b Binary files /dev/null and b/sphinx_togglebutton/translations/locales/id/LC_MESSAGES/togglebutton.mo differ diff --git a/sphinx_togglebutton/translations/locales/id/LC_MESSAGES/togglebutton.po b/sphinx_togglebutton/translations/locales/id/LC_MESSAGES/togglebutton.po new file mode 100644 index 0000000..e7b67d6 --- /dev/null +++ b/sphinx_togglebutton/translations/locales/id/LC_MESSAGES/togglebutton.po @@ -0,0 +1,15 @@ + +msgid "" +msgstr "" +"Project-Id-Version: Sphinx-ToggleButton\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: id\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +msgid "Click to hide" +msgstr "Klik untuk menyembunyikan" + +msgid "Click to show" +msgstr "Klik untuk menampilkan" diff --git a/sphinx_togglebutton/translations/locales/it/LC_MESSAGES/togglebutton.mo b/sphinx_togglebutton/translations/locales/it/LC_MESSAGES/togglebutton.mo new file mode 100644 index 0000000..8217e7d Binary files /dev/null and b/sphinx_togglebutton/translations/locales/it/LC_MESSAGES/togglebutton.mo differ diff --git a/sphinx_togglebutton/translations/locales/it/LC_MESSAGES/togglebutton.po b/sphinx_togglebutton/translations/locales/it/LC_MESSAGES/togglebutton.po new file mode 100644 index 0000000..a03667f --- /dev/null +++ b/sphinx_togglebutton/translations/locales/it/LC_MESSAGES/togglebutton.po @@ -0,0 +1,15 @@ + +msgid "" +msgstr "" +"Project-Id-Version: Sphinx-ToggleButton\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: it\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +msgid "Click to hide" +msgstr "Clicca per nascondere" + +msgid "Click to show" +msgstr "Clicca per mostrare" diff --git a/sphinx_togglebutton/translations/locales/ja/LC_MESSAGES/togglebutton.mo b/sphinx_togglebutton/translations/locales/ja/LC_MESSAGES/togglebutton.mo new file mode 100644 index 0000000..30a2b03 Binary files /dev/null and b/sphinx_togglebutton/translations/locales/ja/LC_MESSAGES/togglebutton.mo differ diff --git a/sphinx_togglebutton/translations/locales/ja/LC_MESSAGES/togglebutton.po b/sphinx_togglebutton/translations/locales/ja/LC_MESSAGES/togglebutton.po new file mode 100644 index 0000000..35810f9 --- /dev/null +++ b/sphinx_togglebutton/translations/locales/ja/LC_MESSAGES/togglebutton.po @@ -0,0 +1,15 @@ + +msgid "" +msgstr "" +"Project-Id-Version: Sphinx-ToggleButton\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: ja\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +msgid "Click to hide" +msgstr "クリックして非表示" + +msgid "Click to show" +msgstr "クリックして表示" diff --git a/sphinx_togglebutton/translations/locales/ko/LC_MESSAGES/togglebutton.mo b/sphinx_togglebutton/translations/locales/ko/LC_MESSAGES/togglebutton.mo new file mode 100644 index 0000000..b6a68bd Binary files /dev/null and b/sphinx_togglebutton/translations/locales/ko/LC_MESSAGES/togglebutton.mo differ diff --git a/sphinx_togglebutton/translations/locales/ko/LC_MESSAGES/togglebutton.po b/sphinx_togglebutton/translations/locales/ko/LC_MESSAGES/togglebutton.po new file mode 100644 index 0000000..e75629e --- /dev/null +++ b/sphinx_togglebutton/translations/locales/ko/LC_MESSAGES/togglebutton.po @@ -0,0 +1,15 @@ + +msgid "" +msgstr "" +"Project-Id-Version: Sphinx-ToggleButton\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: ko\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +msgid "Click to hide" +msgstr "숨기려면 클릭" + +msgid "Click to show" +msgstr "표시하려면 클릭" diff --git a/sphinx_togglebutton/translations/locales/ms/LC_MESSAGES/togglebutton.mo b/sphinx_togglebutton/translations/locales/ms/LC_MESSAGES/togglebutton.mo new file mode 100644 index 0000000..b2b458a Binary files /dev/null and b/sphinx_togglebutton/translations/locales/ms/LC_MESSAGES/togglebutton.mo differ diff --git a/sphinx_togglebutton/translations/locales/ms/LC_MESSAGES/togglebutton.po b/sphinx_togglebutton/translations/locales/ms/LC_MESSAGES/togglebutton.po new file mode 100644 index 0000000..ff9790a --- /dev/null +++ b/sphinx_togglebutton/translations/locales/ms/LC_MESSAGES/togglebutton.po @@ -0,0 +1,15 @@ + +msgid "" +msgstr "" +"Project-Id-Version: Sphinx-ToggleButton\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: ms\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +msgid "Click to hide" +msgstr "Klik untuk menyembunyikan" + +msgid "Click to show" +msgstr "Klik untuk menunjukkan" diff --git a/sphinx_togglebutton/translations/locales/nl/LC_MESSAGES/togglebutton.mo b/sphinx_togglebutton/translations/locales/nl/LC_MESSAGES/togglebutton.mo new file mode 100644 index 0000000..2b2ede6 Binary files /dev/null and b/sphinx_togglebutton/translations/locales/nl/LC_MESSAGES/togglebutton.mo differ diff --git a/sphinx_togglebutton/translations/locales/nl/LC_MESSAGES/togglebutton.po b/sphinx_togglebutton/translations/locales/nl/LC_MESSAGES/togglebutton.po new file mode 100644 index 0000000..e5f0dc2 --- /dev/null +++ b/sphinx_togglebutton/translations/locales/nl/LC_MESSAGES/togglebutton.po @@ -0,0 +1,15 @@ + +msgid "" +msgstr "" +"Project-Id-Version: Sphinx-ToggleButton\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: nl\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +msgid "Click to hide" +msgstr "Klik om te verbergen" + +msgid "Click to show" +msgstr "Klik om te tonen" diff --git a/sphinx_togglebutton/translations/locales/no/LC_MESSAGES/togglebutton.mo b/sphinx_togglebutton/translations/locales/no/LC_MESSAGES/togglebutton.mo new file mode 100644 index 0000000..a81de3d Binary files /dev/null and b/sphinx_togglebutton/translations/locales/no/LC_MESSAGES/togglebutton.mo differ diff --git a/sphinx_togglebutton/translations/locales/no/LC_MESSAGES/togglebutton.po b/sphinx_togglebutton/translations/locales/no/LC_MESSAGES/togglebutton.po new file mode 100644 index 0000000..a097237 --- /dev/null +++ b/sphinx_togglebutton/translations/locales/no/LC_MESSAGES/togglebutton.po @@ -0,0 +1,15 @@ + +msgid "" +msgstr "" +"Project-Id-Version: Sphinx-ToggleButton\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: no\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +msgid "Click to hide" +msgstr "Klikk for å skjule" + +msgid "Click to show" +msgstr "Klikk for å vise" diff --git a/sphinx_togglebutton/translations/locales/pl/LC_MESSAGES/togglebutton.mo b/sphinx_togglebutton/translations/locales/pl/LC_MESSAGES/togglebutton.mo new file mode 100644 index 0000000..38483ba Binary files /dev/null and b/sphinx_togglebutton/translations/locales/pl/LC_MESSAGES/togglebutton.mo differ diff --git a/sphinx_togglebutton/translations/locales/pl/LC_MESSAGES/togglebutton.po b/sphinx_togglebutton/translations/locales/pl/LC_MESSAGES/togglebutton.po new file mode 100644 index 0000000..a7e1104 --- /dev/null +++ b/sphinx_togglebutton/translations/locales/pl/LC_MESSAGES/togglebutton.po @@ -0,0 +1,15 @@ + +msgid "" +msgstr "" +"Project-Id-Version: Sphinx-ToggleButton\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: pl\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +msgid "Click to hide" +msgstr "Kliknij, aby ukryć" + +msgid "Click to show" +msgstr "Kliknij, aby pokazać" diff --git a/sphinx_togglebutton/translations/locales/pt/LC_MESSAGES/togglebutton.mo b/sphinx_togglebutton/translations/locales/pt/LC_MESSAGES/togglebutton.mo new file mode 100644 index 0000000..35f2cfc Binary files /dev/null and b/sphinx_togglebutton/translations/locales/pt/LC_MESSAGES/togglebutton.mo differ diff --git a/sphinx_togglebutton/translations/locales/pt/LC_MESSAGES/togglebutton.po b/sphinx_togglebutton/translations/locales/pt/LC_MESSAGES/togglebutton.po new file mode 100644 index 0000000..05cfc6c --- /dev/null +++ b/sphinx_togglebutton/translations/locales/pt/LC_MESSAGES/togglebutton.po @@ -0,0 +1,15 @@ + +msgid "" +msgstr "" +"Project-Id-Version: Sphinx-ToggleButton\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: pt\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +msgid "Click to hide" +msgstr "Clique para ocultar" + +msgid "Click to show" +msgstr "Clique para mostrar" diff --git a/sphinx_togglebutton/translations/locales/ro/LC_MESSAGES/togglebutton.mo b/sphinx_togglebutton/translations/locales/ro/LC_MESSAGES/togglebutton.mo new file mode 100644 index 0000000..99c916f Binary files /dev/null and b/sphinx_togglebutton/translations/locales/ro/LC_MESSAGES/togglebutton.mo differ diff --git a/sphinx_togglebutton/translations/locales/ro/LC_MESSAGES/togglebutton.po b/sphinx_togglebutton/translations/locales/ro/LC_MESSAGES/togglebutton.po new file mode 100644 index 0000000..e126413 --- /dev/null +++ b/sphinx_togglebutton/translations/locales/ro/LC_MESSAGES/togglebutton.po @@ -0,0 +1,15 @@ + +msgid "" +msgstr "" +"Project-Id-Version: Sphinx-ToggleButton\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: ro\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +msgid "Click to hide" +msgstr "Faceți clic pentru a ascunde" + +msgid "Click to show" +msgstr "Faceți clic pentru a afișa" diff --git a/sphinx_togglebutton/translations/locales/ru/LC_MESSAGES/togglebutton.mo b/sphinx_togglebutton/translations/locales/ru/LC_MESSAGES/togglebutton.mo new file mode 100644 index 0000000..3272a99 Binary files /dev/null and b/sphinx_togglebutton/translations/locales/ru/LC_MESSAGES/togglebutton.mo differ diff --git a/sphinx_togglebutton/translations/locales/ru/LC_MESSAGES/togglebutton.po b/sphinx_togglebutton/translations/locales/ru/LC_MESSAGES/togglebutton.po new file mode 100644 index 0000000..59f376f --- /dev/null +++ b/sphinx_togglebutton/translations/locales/ru/LC_MESSAGES/togglebutton.po @@ -0,0 +1,15 @@ + +msgid "" +msgstr "" +"Project-Id-Version: Sphinx-ToggleButton\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: ru\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +msgid "Click to hide" +msgstr "Нажмите, чтобы скрыть" + +msgid "Click to show" +msgstr "Нажмите, чтобы показать" diff --git a/sphinx_togglebutton/translations/locales/sv/LC_MESSAGES/togglebutton.mo b/sphinx_togglebutton/translations/locales/sv/LC_MESSAGES/togglebutton.mo new file mode 100644 index 0000000..fc536aa Binary files /dev/null and b/sphinx_togglebutton/translations/locales/sv/LC_MESSAGES/togglebutton.mo differ diff --git a/sphinx_togglebutton/translations/locales/sv/LC_MESSAGES/togglebutton.po b/sphinx_togglebutton/translations/locales/sv/LC_MESSAGES/togglebutton.po new file mode 100644 index 0000000..c6af43c --- /dev/null +++ b/sphinx_togglebutton/translations/locales/sv/LC_MESSAGES/togglebutton.po @@ -0,0 +1,15 @@ + +msgid "" +msgstr "" +"Project-Id-Version: Sphinx-ToggleButton\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: sv\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +msgid "Click to hide" +msgstr "Klicka för att dölja" + +msgid "Click to show" +msgstr "Klicka för att visa" diff --git a/sphinx_togglebutton/translations/locales/sw/LC_MESSAGES/togglebutton.mo b/sphinx_togglebutton/translations/locales/sw/LC_MESSAGES/togglebutton.mo new file mode 100644 index 0000000..4ee2cb7 Binary files /dev/null and b/sphinx_togglebutton/translations/locales/sw/LC_MESSAGES/togglebutton.mo differ diff --git a/sphinx_togglebutton/translations/locales/sw/LC_MESSAGES/togglebutton.po b/sphinx_togglebutton/translations/locales/sw/LC_MESSAGES/togglebutton.po new file mode 100644 index 0000000..5735e67 --- /dev/null +++ b/sphinx_togglebutton/translations/locales/sw/LC_MESSAGES/togglebutton.po @@ -0,0 +1,15 @@ + +msgid "" +msgstr "" +"Project-Id-Version: Sphinx-ToggleButton\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: sw\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +msgid "Click to hide" +msgstr "Bonyeza kuficha" + +msgid "Click to show" +msgstr "Bonyeza kuonyesha" diff --git a/sphinx_togglebutton/translations/locales/ta/LC_MESSAGES/togglebutton.mo b/sphinx_togglebutton/translations/locales/ta/LC_MESSAGES/togglebutton.mo new file mode 100644 index 0000000..dbfeffc Binary files /dev/null and b/sphinx_togglebutton/translations/locales/ta/LC_MESSAGES/togglebutton.mo differ diff --git a/sphinx_togglebutton/translations/locales/ta/LC_MESSAGES/togglebutton.po b/sphinx_togglebutton/translations/locales/ta/LC_MESSAGES/togglebutton.po new file mode 100644 index 0000000..63c8e85 --- /dev/null +++ b/sphinx_togglebutton/translations/locales/ta/LC_MESSAGES/togglebutton.po @@ -0,0 +1,15 @@ + +msgid "" +msgstr "" +"Project-Id-Version: Sphinx-ToggleButton\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: ta\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +msgid "Click to hide" +msgstr "மறைக்க கிளிக் செய்யவும்" + +msgid "Click to show" +msgstr "காட்ட கிளிக் செய்யவும்" diff --git a/sphinx_togglebutton/translations/locales/th/LC_MESSAGES/togglebutton.mo b/sphinx_togglebutton/translations/locales/th/LC_MESSAGES/togglebutton.mo new file mode 100644 index 0000000..e21de4d Binary files /dev/null and b/sphinx_togglebutton/translations/locales/th/LC_MESSAGES/togglebutton.mo differ diff --git a/sphinx_togglebutton/translations/locales/th/LC_MESSAGES/togglebutton.po b/sphinx_togglebutton/translations/locales/th/LC_MESSAGES/togglebutton.po new file mode 100644 index 0000000..06b91bb --- /dev/null +++ b/sphinx_togglebutton/translations/locales/th/LC_MESSAGES/togglebutton.po @@ -0,0 +1,15 @@ + +msgid "" +msgstr "" +"Project-Id-Version: Sphinx-ToggleButton\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: th\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +msgid "Click to hide" +msgstr "คลิกเพื่อซ่อน" + +msgid "Click to show" +msgstr "คลิกเพื่อแสดง" diff --git a/sphinx_togglebutton/translations/locales/tr/LC_MESSAGES/togglebutton.mo b/sphinx_togglebutton/translations/locales/tr/LC_MESSAGES/togglebutton.mo new file mode 100644 index 0000000..3bda369 Binary files /dev/null and b/sphinx_togglebutton/translations/locales/tr/LC_MESSAGES/togglebutton.mo differ diff --git a/sphinx_togglebutton/translations/locales/tr/LC_MESSAGES/togglebutton.po b/sphinx_togglebutton/translations/locales/tr/LC_MESSAGES/togglebutton.po new file mode 100644 index 0000000..da60039 --- /dev/null +++ b/sphinx_togglebutton/translations/locales/tr/LC_MESSAGES/togglebutton.po @@ -0,0 +1,15 @@ + +msgid "" +msgstr "" +"Project-Id-Version: Sphinx-ToggleButton\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: tr\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +msgid "Click to hide" +msgstr "Gizlemek için tıklayın" + +msgid "Click to show" +msgstr "Göstermek için tıklayın" diff --git a/sphinx_togglebutton/translations/locales/uk/LC_MESSAGES/togglebutton.mo b/sphinx_togglebutton/translations/locales/uk/LC_MESSAGES/togglebutton.mo new file mode 100644 index 0000000..0803659 Binary files /dev/null and b/sphinx_togglebutton/translations/locales/uk/LC_MESSAGES/togglebutton.mo differ diff --git a/sphinx_togglebutton/translations/locales/uk/LC_MESSAGES/togglebutton.po b/sphinx_togglebutton/translations/locales/uk/LC_MESSAGES/togglebutton.po new file mode 100644 index 0000000..ad640c0 --- /dev/null +++ b/sphinx_togglebutton/translations/locales/uk/LC_MESSAGES/togglebutton.po @@ -0,0 +1,15 @@ + +msgid "" +msgstr "" +"Project-Id-Version: Sphinx-ToggleButton\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: uk\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +msgid "Click to hide" +msgstr "Натисніть, щоб приховати" + +msgid "Click to show" +msgstr "Натисніть, щоб показати" diff --git a/sphinx_togglebutton/translations/locales/vi/LC_MESSAGES/togglebutton.mo b/sphinx_togglebutton/translations/locales/vi/LC_MESSAGES/togglebutton.mo new file mode 100644 index 0000000..c777a46 Binary files /dev/null and b/sphinx_togglebutton/translations/locales/vi/LC_MESSAGES/togglebutton.mo differ diff --git a/sphinx_togglebutton/translations/locales/vi/LC_MESSAGES/togglebutton.po b/sphinx_togglebutton/translations/locales/vi/LC_MESSAGES/togglebutton.po new file mode 100644 index 0000000..cdb662f --- /dev/null +++ b/sphinx_togglebutton/translations/locales/vi/LC_MESSAGES/togglebutton.po @@ -0,0 +1,15 @@ + +msgid "" +msgstr "" +"Project-Id-Version: Sphinx-ToggleButton\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: vi\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +msgid "Click to hide" +msgstr "Nhấp để ẩn" + +msgid "Click to show" +msgstr "Nhấp để hiển thị" diff --git a/sphinx_togglebutton/translations/locales/zh-cn/LC_MESSAGES/togglebutton.mo b/sphinx_togglebutton/translations/locales/zh-cn/LC_MESSAGES/togglebutton.mo new file mode 100644 index 0000000..b9cffa1 Binary files /dev/null and b/sphinx_togglebutton/translations/locales/zh-cn/LC_MESSAGES/togglebutton.mo differ diff --git a/sphinx_togglebutton/translations/locales/zh-cn/LC_MESSAGES/togglebutton.po b/sphinx_togglebutton/translations/locales/zh-cn/LC_MESSAGES/togglebutton.po new file mode 100644 index 0000000..fc8ccd9 --- /dev/null +++ b/sphinx_togglebutton/translations/locales/zh-cn/LC_MESSAGES/togglebutton.po @@ -0,0 +1,15 @@ + +msgid "" +msgstr "" +"Project-Id-Version: Sphinx-ToggleButton\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: zh-cn\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +msgid "Click to hide" +msgstr "点击隐藏" + +msgid "Click to show" +msgstr "点击显示" diff --git a/sphinx_togglebutton/translations/locales/zh-tw/LC_MESSAGES/togglebutton.mo b/sphinx_togglebutton/translations/locales/zh-tw/LC_MESSAGES/togglebutton.mo new file mode 100644 index 0000000..8324f6c Binary files /dev/null and b/sphinx_togglebutton/translations/locales/zh-tw/LC_MESSAGES/togglebutton.mo differ diff --git a/sphinx_togglebutton/translations/locales/zh-tw/LC_MESSAGES/togglebutton.po b/sphinx_togglebutton/translations/locales/zh-tw/LC_MESSAGES/togglebutton.po new file mode 100644 index 0000000..fd65b47 --- /dev/null +++ b/sphinx_togglebutton/translations/locales/zh-tw/LC_MESSAGES/togglebutton.po @@ -0,0 +1,15 @@ + +msgid "" +msgstr "" +"Project-Id-Version: Sphinx-ToggleButton\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: zh-tw\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +msgid "Click to hide" +msgstr "點擊隱藏" + +msgid "Click to show" +msgstr "點擊顯示"