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/CHANGELOG.md b/CHANGELOG.md index eb09a22..e9d2eee 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,16 @@ # Changelog +## Unreleased + +### Added + +- Support for more languages in toggle button text (see README for full list) [#66](https://github.com/executablebooks/sphinx-togglebutton/pull/66). +- Added new functions (syncToggleHint, syncAllToggleHints) to dynamically update toggle button hints based on the current state [#66](https://github.com/executablebooks/sphinx-togglebutton/pull/66). This allows developers to change the open or closed state of an element and have the button hint text update accordingly automatically. + +### Fixed + +- Update togglebutton.js to use an admonition's existing ID if present, instead of always generating a new one [#66](https://github.com/executablebooks/sphinx-togglebutton/pull/66). + ## v0.3.2 - 2022-07-15 ([full changelog](https://github.com/executablebooks/sphinx-togglebutton/compare/v0.3.1...347b1ad3a093afad0f0d4c0041249f09f39afab2)) 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/README.md b/README.md index 46225be..7b4c992 100644 --- a/README.md +++ b/README.md @@ -69,3 +69,10 @@ here's a container with an image inside: .. image:: https://media.giphy.com/media/mW05nwEyXLP0Y/giphy.gif ``` + +Internationalization (i18n) +============ + +The texts `Click to hide` and `Click to show` used in the toggle buttons are internationalized by using the set language from Sphinx's configuration. + +Supported languages are English (default), Chinese (Simplified), Chinese (Traditional), Hindi, Spanish, French, Arabic, Bengali, Russian, Portuguese, Indonesian, Japanese, German, Korean, Turkish, Vietnamese, Tamil, Italian, Thai, Dutch, Greek, Polish, Ukrainian, Persian, Malay, Swahili, Romanian, Czech, Hungarian, Hebrew, Swedish, and Norwegian. \ No newline at end of file diff --git a/docs/conf.py b/docs/conf.py index b7d6d49..b109b69 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -11,7 +11,12 @@ # -- General configuration --------------------------------------------------- -extensions = ["myst_nb", "sphinx_examples", "sphinx_design", "sphinx_togglebutton"] +extensions = [ + "myst_nb", + "sphinx_examples", + "sphinx_design", + "sphinx_togglebutton", +] templates_path = ["_templates"] source_suffix = ".rst" main_doc = "index" diff --git a/docs/use.md b/docs/use.md index 400d8f8..30b0be0 100644 --- a/docs/use.md +++ b/docs/use.md @@ -129,7 +129,16 @@ Here is my toggle-able content! ## Change the button hint text You can control the "hint" text that is displayed next to togglebuttons. -To do so, use the following configuration variable in your `conf.py` file: + +To use the default values for your language, set the language in your Sphinx configuration: + +```python +language = "nl" # or "de", "es", etc. +``` + +Supported languages are English (default), Chinese (Simplified), Chinese (Traditional), Hindi, Spanish, French, Arabic, Bengali, Russian, Portuguese, Indonesian, Japanese, German, Korean, Turkish, Vietnamese, Tamil, Italian, Thai, Dutch, Greek, Polish, Ukrainian, Persian, Malay, Swahili, Romanian, Czech, Hungarian, Hebrew, Swedish, and Norwegian. + +If you prefer to have custom hint texts instead of the defaults for your language, use the following configuration variable in your `conf.py` file: ```python togglebutton_hint = "Displayed when the toggle is closed." diff --git a/readthedocs.yml b/readthedocs.yml index c76e06a..69a5dea 100644 --- a/readthedocs.yml +++ b/readthedocs.yml @@ -1,4 +1,7 @@ version: 2 +sphinx: + # Path to your Sphinx configuration file. + configuration: docs/conf.py build: os: "ubuntu-22.04" tools: diff --git a/setup.py b/setup.py index 3556000..720b60c 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,6 @@ -import os from pathlib import Path -from setuptools import setup, find_packages + +from setuptools import find_packages, setup version = [ line @@ -24,9 +24,26 @@ 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"]}, + extras_require={ + "sphinx": [ + "matplotlib", + "numpy", + "myst_nb", + "sphinx_book_theme", + "sphinx_design", + "sphinx_examples", + ] + }, classifiers=["License :: OSI Approved :: MIT License"], ) diff --git a/sphinx_togglebutton/__init__.py b/sphinx_togglebutton/__init__.py index 0792641..f479a58 100644 --- a/sphinx_togglebutton/__init__.py +++ b/sphinx_togglebutton/__init__.py @@ -1,28 +1,44 @@ """A small sphinx extension to add "toggle" buttons to items.""" + import os -from docutils.parsers.rst import Directive, directives + from docutils import nodes +from docutils.parsers.rst import Directive, directives +from sphinx.locale import get_translation + +MESSAGE_CATALOG_NAME = "togglebutton" +translate = get_translation(MESSAGE_CATALOG_NAME) __version__ = "0.3.2" def st_static_path(app): - static_path = os.path.abspath(os.path.join(os.path.dirname(__file__), "_static")) + static_path = os.path.abspath( + os.path.join(os.path.dirname(__file__), "_static") + ) app.config.html_static_path.append(static_path) def initialize_js_assets(app, config): # Update the global context - app.add_js_file(None, body=f"let toggleHintShow = '{config.togglebutton_hint}';") - app.add_js_file(None, body=f"let toggleHintHide = '{config.togglebutton_hint_hide}';") + + app.add_js_file( + None, body=f"let toggleHintShow = '{config.togglebutton_hint}';" + ) + app.add_js_file( + None, body=f"let toggleHintHide = '{config.togglebutton_hint_hide}';" + ) open_print = str(config.togglebutton_open_on_print).lower() app.add_js_file(None, body=f"let toggleOpenOnPrint = '{open_print}';") app.add_js_file("togglebutton.js") # This function reads in a variable and inserts it into JavaScript + + def insert_custom_selection_config(app): # This is a configuration that you've specified for users in `conf.py` + selector = app.config["togglebutton_selector"] js_text = "var togglebuttonSelector = '%s';" % selector app.add_js_file(None, body=js_text) @@ -42,28 +58,45 @@ def run(self): classes = ["toggle"] if "show" in self.options: classes.append("toggle-shown") - parent = nodes.container(classes=classes) self.state.nested_parse(self.content, self.content_offset, parent) return [parent] # 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) # Add relevant code to headers + app.add_css_file("togglebutton.css") # 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_selector", ".toggle, .admonition.dropdown", "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 + app.connect("builder-inited", insert_custom_selection_config) app.connect("config-inited", initialize_js_assets) app.add_directive("toggle", Toggle) diff --git a/sphinx_togglebutton/_static/togglebutton.js b/sphinx_togglebutton/_static/togglebutton.js index d67ccf1..e88c0e3 100644 --- a/sphinx_togglebutton/_static/togglebutton.js +++ b/sphinx_togglebutton/_static/togglebutton.js @@ -17,8 +17,13 @@ var initToggleItems = () => { itemsToToggle.forEach((item, index) => { if (item.classList.contains("admonition")) { // If it's an admonition block, then we'll add a button inside - // Generate unique IDs for this item - var toggleID = `toggle-${index}`; + // Generate unique IDs for this item, + // IF AND ONLY IF THE ITEM DOESN'T ALREADY HAVE AN ID + if (!item.id) { + var toggleID = `toggle-${index}`; + } else { + var toggleID = item.id; + } var buttonID = `button-${toggleID}`; item.setAttribute("id", toggleID); @@ -123,6 +128,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 +194,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..485cbdb --- /dev/null +++ b/sphinx_togglebutton/translations/_convert.py @@ -0,0 +1,65 @@ +import json +import os +import subprocess +from pathlib import Path + +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 "點擊顯示"