Skip to content

Commit

Permalink
fix(formats): rename mi18n format
Browse files Browse the repository at this point in the history
It was renamed upstream, see
Draggable/i18n@f6f7fa4
  • Loading branch information
nijel committed Nov 2, 2024
1 parent 75502d7 commit 634ce60
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
17 changes: 11 additions & 6 deletions docs/formats/mi18n.rst
Original file line number Diff line number Diff line change
@@ -1,25 +1,30 @@
.. _mi18n-lang:

mi18n lang files
----------------
draggable/i18n lang files
-------------------------

.. index::
pair: mi18n lang; file format
pair: i18n lang; file format

.. versionadded:: 4.7

File format used for JavaScript localization by `mi18n`_. Syntactically it matches :ref:`javaprop`.
.. note::

The library was former published as mi18n.

File format used for JavaScript localization by `draggable/i18n`_. Syntactically it matches :ref:`javaprop`.

.. seealso::

`mi18n`_,
`draggable/i18n`_,
:doc:`tt:formats/properties`,
:ref:`javaprop`,
:ref:`updating-target-files`,
:ref:`addon-weblate.properties.sort`,
:ref:`addon-weblate.cleanup.generic`

.. _mi18n: https://github.com/Draggable/mi18n
.. _draggable/i18n: https://github.com/Draggable/i18n

Weblate configuration
+++++++++++++++++++++
Expand All @@ -33,5 +38,5 @@ Weblate configuration
+--------------------------------+----------------------------------+
| Template for new translations | `Empty` |
+--------------------------------+----------------------------------+
| File format | `mi18n lang file` |
| File format | `draggabble/i18n lang file` |
+--------------------------------+----------------------------------+
2 changes: 1 addition & 1 deletion weblate/formats/ttkit.py
Original file line number Diff line number Diff line change
Expand Up @@ -2085,7 +2085,7 @@ def __init__(


class PropertiesMi18nFormat(PropertiesUtf8Format):
name = gettext_lazy("mi18n lang file")
name = gettext_lazy("@draggable/i18n lang file")
format_id = "mi18n-lang"
new_translation = "\n"
language_format = "bcp_legacy"
Expand Down

0 comments on commit 634ce60

Please sign in to comment.