Skip to content

Releases

v12.10.9

Choose a tag to compare

@adrai adrai released this 08 Nov 10:43
  • sync --delete-remote-namespace no longer deletes a namespace whose name has a space, a
    non-ASCII letter or another character a URL encodes: it compared the encoded name, found no
    local file and deleted that namespace on every run. A namespace really missing locally is
    deleted by its encoded name, so a#b no longer deletes a.
  • download and sync read a listed file's language and namespace by name: a namespace with
    / in its name (legacy/ns) is written to legacy/ns.json (its folder created on Windows
    too) instead of over legacy.json, and an unpublished one is pulled as one namespace.
  • a listed file, or with --unpublished a name from the project's statistics, with an empty,
    . or .. part (split at / and \) in its version, language or namespace is skipped
    instead of written outside the target folder.
  • download --language / --namespace ask for a name with special characters encoded.

v12.10.8

Choose a tag to compare

@adrai adrai released this 06 Nov 22:55
  • a request answered with HTTP 429 is retried after the Retry-After the API
    sends (at most 30 seconds, three retries), instead of failing at once.
  • delete-branch and merge-branch --delete no longer fail when the job poll is
    refused after the branch is already gone.

v12.10.7

Choose a tag to compare

@adrai adrai released this 05 Nov 22:44
  • nested downloads skip a key with a __proto__ segment or a constructor.prototype
    pair: such a key would write onto Object.prototype of the CLI process.
  • remove-version needs an API key with the admin role (or a personal access
    token with the manage scope of an admin, or of a manager without restriction);
    the README says so.

v12.10.6

Choose a tag to compare

@adrai adrai released this 31 Oct 22:35
  • update xliff to 6.5.3: an empty XLIFF file or one without an <xliff>
    element now fails with "The document does not contain an xliff element"
    instead of a TypeError.

v12.10.5

Choose a tag to compare

@adrai adrai released this 29 Oct 19:39
  • android: a non-breaking space written as &#160; is kept on import (it
    became a normal space), and a <string> without a name attribute is
    skipped instead of coming in as the key undefined (update
    android-string-resource to 2.4.0, which reads the file with rdotjson 2.1.0).
  • android: a string-array item with attributes (e.g. tools:ignore) that
    holds \t or \uXXXX no longer comes in with invisible marker characters
    (since 12.10.2), and comments keep \t and \uXXXX as written again.

v12.10.4

Choose a tag to compare

@adrai adrai released this 27 Oct 07:24
  • laravel: a double-quoted string with two or more \" no longer keeps a
    backslash before the last quote on import ("Say \"hi\"" gave Say "hi\")
    (update laravelphp to 2.0.7).

v12.10.3

Choose a tag to compare

@adrai adrai released this 24 Oct 20:59
  • update xliff to 6.5.2: a namespace or an extra attribute with & or < no
    longer makes the XLIFF file invalid.
  • fluent: a line of a multiline value that starts with [, * or . no
    longer cuts off the rest of the value on export (bullet lists, [note]
    lines); selector variants stay as they are (update fluent_conv to 3.3.4).
  • laravel: array entries without a key or with an integer key are kept on
    import, numbered the way PHP does; they were dropped (update laravelphp to
    2.0.6).

v12.10.2

Choose a tag to compare

@adrai adrai released this 24 Oct 17:52
  • android: a value that holds a typed Android escape such as \n or
    \u2605 is now written literally and shows as such in the app; store the
    real character (a line break, β˜…) instead.
    Values with a backslash (a
    Windows path, a regex) are escaped and survive a round trip, \t and
    \uXXXX in strings.xml are decoded on import, non-breaking spaces are
    kept, plural items decode their escapes, and a value starting with @ or
    ? is escaped (update android-string-resource to 2.3.12).
  • laravel: backslashes and quotes in keys and values are escaped, so a
    trailing backslash or a ' in a key no longer breaks the PHP file (update
    laravelphp to 2.0.5).
  • fluent: string literal placeables ({"{"}, {" "}) keep their source
    form, so escaped braces and quotes and leading spaces survive a round trip;
    imported values show them as placeables (update fluent_conv to 3.3.3).

v12.10.1

Choose a tag to compare

@adrai adrai released this 24 Oct 17:24
  • update xliff to 6.5.1: a value with a literal &amp; now survives an XLIFF
    round trip (it came back as &); plain & was never affected.

v12.10.0

Choose a tag to compare

@adrai adrai released this 24 Oct 16:48
  • po / gettext: entries that differ only by their msgctxt stay apart. The
    key holds msgid and msgctxt joined by U+0004 (as gettext does in .mo
    files), and download writes it back as msgctxt. Until now they merged
    into one key, which kept one variant and dropped the others.
    po_i18next / gettext_i18next are unchanged (_ context, i18next's
    convention).
  • sync with po / gettext sends an entry's msgctxt as the context of the
    keys it adds, so translators and the AI see it; existing keys keep their
    context, migrate sends none.
  • Upgrading with po / gettext files that use msgctxt: the first sync
    adds those entries as new keys; where a file has no plain entry for that
    text, the old merged key is removed (unless --skip-delete true), together
    with its translations. format and migrate produce the new keys as well.
  • update gettext-converter to 1.4.1 (plural entries keep their msgctxt).