Repository navigation
Releases
Releases Β· locize/locize-cli
v12.10.9
sync --delete-remote-namespaceno 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, soa#bno longer deletesa.downloadandsyncread a listed file's language and namespace by name: a namespace with
/in its name (legacy/ns) is written tolegacy/ns.json(its folder created on Windows
too) instead of overlegacy.json, and an unpublished one is pulled as one namespace.- a listed file, or with
--unpublisheda 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/--namespaceask for a name with special characters encoded.
v12.10.8
- a request answered with HTTP 429 is retried after the
Retry-Afterthe API
sends (at most 30 seconds, three retries), instead of failing at once. delete-branchandmerge-branch --deleteno longer fail when the job poll is
refused after the branch is already gone.
v12.10.7
- nested downloads skip a key with a
__proto__segment or aconstructor.prototype
pair: such a key would write ontoObject.prototypeof the CLI process. remove-versionneeds an API key with theadminrole (or a personal access
token with themanagescope of an admin, or of a manager without restriction);
the README says so.
v12.10.6
v12.10.5
android: a non-breaking space written as is kept on import (it
became a normal space), and a<string>without anameattribute is
skipped instead of coming in as the keyundefined(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\tor\uXXXXno longer comes in with invisible marker characters
(since 12.10.2), and comments keep\tand\uXXXXas written again.
v12.10.4
v12.10.3
- 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
android: a value that holds a typed Android escape such as\nor
\u2605is 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,\tand
\uXXXXinstrings.xmlare 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
v12.10.0
po/gettext: entries that differ only by theirmsgctxtstay apart. The
key holdsmsgidandmsgctxtjoined by U+0004 (as gettext does in.mo
files), anddownloadwrites it back asmsgctxt. Until now they merged
into one key, which kept one variant and dropped the others.
po_i18next/gettext_i18nextare unchanged (_context, i18next's
convention).syncwithpo/gettextsends an entry'smsgctxtas the context of the
keys it adds, so translators and the AI see it; existing keys keep their
context,migratesends none.- Upgrading with
po/gettextfiles that usemsgctxt: the firstsync
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.formatandmigrateproduce the new keys as well. - update gettext-converter to 1.4.1 (plural entries keep their
msgctxt).