Checks and fixups¶
The quality checks help catch common translator errors, ensuring the translation is in good shape. The checks can be ignored in case of false positives. For practical translation guidance around placeholders, markup, punctuation, and plural forms, see Translating special text safely.
Once submitting a translation with a failing check, this is immediately shown to the user:
Automatski ispravci¶
In addition to Provjere kvalitete, Weblate can fix some common errors in translated strings automatically. Use it with caution to not have it add errors.
Više informacija
Zamjena završne trotočke¶
- Ime klase:
weblate.trans.autofixes.chars.ReplaceTrailingDotsWithEllipsis
Replace trailing dots (...) with an ellipsis (…) to make it consistent with the source string.
Uklanjanje razmaka bez širine¶
- Ime klase:
weblate.trans.autofixes.chars.RemoveZeroSpace
Razmak bez širine obično nije poželjan znak u prijevodu. Ovaj ispravak će ga ukloniti ukoliko ne postoji i u izvornom nizu.
Uklanjanje kontrolnih znakove¶
- Ime klase:
weblate.trans.autofixes.chars.RemoveControlChars
Uklanja kontrolne znakove ako ih izvor ne sadrži.
Devanagari danda¶
- Ime klase:
weblate.trans.autofixes.chars.DevanagariDanda
Zamjenjuje točku u rečenici u bengalskom jeziku znakom Devanagari danda (।).
Razmaci interpunkcija¶
- Ime klase:
weblate.trans.autofixes.chars.PunctuationSpacing
Added in version 5.3.
Osigurava da francuski jezik koristi ispravan razmak interpunkcija.
This fixup can be disabled via ignore-punctuation-spacing flag (which also
disables Razmaci interpunkcija).
Ispravljanje nesigurnog HTML-a¶
- Ime klase:
weblate.trans.autofixes.html.BleachHTML
Removes unsafe HTML markup from strings flagged as safe-html.
Više informacija
Ispravljanje završnih i početnih razmaknih znakova¶
- Ime klase:
weblate.trans.autofixes.whitespace.SameBookendingWhitespace
Makes leading and trailing whitespace consistent with the source string. The
behavior can be fine-tuned using ignore-begin-space and
ignore-end-space flags to skip processing parts of the string.
Provjere kvalitete¶
Weblate employs a wide range of quality checks on strings. The following section describes them all in further detail. There are also language specific checks. Please file a bug if anything is reported in error.
Više informacija
Provjere prijevoda¶
Izvršava se nakon svake promjene prijevoda, pomažući prevoditeljima da održe dobru kvalitetu prijevoda.
Accelerator key¶
Added in version 2026.7.
- Sažetak:
Source and translation contain inconsistent accelerator keys.
- Opseg:
prevedeni izrazi
- Provjera klase:
weblate.checks.chars.AcceleratorKeyCheck- Provjera identifikatora:
accelerator- Trigger:
This check needs to be enabled using a flag.
- Oznaka za uključivanje:
accelerator- Oznaka za zanemarivanje:
ignore-accelerator
Accelerator keys (also known as mnemonics) let users trigger a UI action from
the keyboard. They are marked in the string by a single punctuation character,
typically & (Qt, Windows), _ (GTK), or ~. Literal marker characters
can usually be escaped by doubling them, and are ignored by this check. Enable
this check with the accelerator: flag to explicitly choose the marker, for
example accelerator:&, accelerator:_, or accelerator:~.
This check verifies that the source and the translation contain the same number of accelerator keys, and that the translation does not contain more than one.
Napomena
A string such as Walter & Sons might be translated without the
ampersand and trigger a false positive. Use the ignore-accelerator
flag to skip the check for such strings.
AsciiDoc markup¶
Added in version 2026.8.
- Sažetak:
AsciiDoc markup does not match source.
- Opseg:
prevedeni izrazi
- Provjera klase:
weblate.checks.markup.AsciiDocMarkupCheck- Provjera identifikatora:
asciidoc-markup- Trigger:
This check needs to be enabled using a flag.
- File formats automatically enabling this check:
- Oznaka za uključivanje:
asciidoc-text- Oznaka za zanemarivanje:
ignore-asciidoc-markup
This check compares the markups found in the source with the markups found in the translation. It includes:
inline and block macros (e.g.
link:andimage::)cross-references (
<<id>>)passthroughs (e.g.
+++...+++,$$...$$)
Macro attribute text and cross-reference labels may be translated; the macro name, target, and reference identifier must stay the same in both the source and the translation.
BBCode označavanje¶
Promijenjeno u verziji 5.10: This checks no longer relies on unreliable automatic detection, it now needs to be turned on using the bbcode-text flag.
- Sažetak:
BBCode u prijevodu se ne poklapa s izvorom.
- Opseg:
prevedeni izrazi
- Provjera klase:
weblate.checks.markup.BBCodeCheck- Provjera identifikatora:
bbcode- Trigger:
This check needs to be enabled using a flag.
- Oznaka za uključivanje:
bbcode-text- Oznaka za zanemarivanje:
ignore-bbcode
BBCode predstavlja jednostavno označavanje, kao na primjer isticanje važnih dijelova poruke podebljanim fontom ili kurzivom.
Ova provjera osigurava da će se pronaći i u prijevodu.
Napomena
Metoda za otkrivanje BBCode-a je trenutačno prilično jednostavna, zbog čega ova provjera može proizvesti krive pozitivne rezultate.
Uzastopne jednake riječi¶
Added in version 4.1.
- Sažetak:
Tekst sadrži istu riječ dvaput zaredom.
- Opseg:
prevedeni izrazi
- Provjera klase:
weblate.checks.duplicate.DuplicateCheck- Provjera identifikatora:
duplicate- Trigger:
This check is always enabled but can be ignored using a flag.
- Oznaka za zanemarivanje:
ignore-duplicate
Provjerava uzastopno pojavljivanje jednakih riječi. To obično ukazuje na grešku u prijevodu.
Savjet
This check includes language specific rules to avoid false positives. In case it triggers falsely in your case, let us know. See Reporting issues in Weblate.
Ne odgovara glosaru¶
Added in version 4.5.
- Sažetak:
Prijevod ne odgovara izrazima u glosaru.
- Opseg:
prevedeni izrazi
- Provjera klase:
weblate.checks.glossary.GlossaryCheck- Provjera identifikatora:
check_glossary- Trigger:
This check needs to be enabled using a flag.
- Oznaka za uključivanje:
check-glossary- Oznaka za zanemarivanje:
ignore-check-glossary
This check has to be turned on using check-glossary flag (see
Customizing behavior using flags). Please consider following prior to enabling it:
It does exact string matching, the glossary is expected to contain terms in all variants.
Checking each string against glossary is expensive, it will slow down any operation in Weblate which involves running checks like importing strings or translating.
Također koristi neprevodive pojmove glosara u Nepromijenjen prijevod.
Više informacija
Dvostruki razmak¶
- Sažetak:
Prijevod sadrži dvostruki razmak.
- Opseg:
prevedeni izrazi
- Provjera klase:
weblate.checks.chars.DoubleSpaceCheck- Provjera identifikatora:
double_space- Trigger:
This check is always enabled but can be ignored using a flag.
- Oznaka za zanemarivanje:
ignore-double-space
Checks that double space is present in translation to avoid false positives on other space-related checks.
Check is false when double space is found in source meaning double space is intentional.
Fluent dijelovi¶
Added in version 5.0.
- Sažetak:
Fluent dijelovi se moraju poklapati.
- Opseg:
prevedeni izrazi
- Provjera klase:
weblate.checks.fluent.parts.FluentPartsCheck- Provjera identifikatora:
fluent-parts- Trigger:
This check needs to be enabled using a flag.
- File formats automatically enabling this check:
- Oznaka za uključivanje:
fluent-parts- Oznaka za zanemarivanje:
ignore-fluent-parts
Each Fluent Message can have an optional value (the main text content), and optional attributes, each of which is a „part” of the Message. In Weblate, all these parts appear within the same block, using Fluent-like syntax to specify the attributes. For example:
This is the Message value
.title = This is the title attribute
.alt = This is the alt attribute
This check ensures that the translated Message also has a value if the source Message has one, or no value if the source has none. This also checks that the same attributes used in the source Message also appear in the translation, with no additions.
Napomena
This check is not applied to Fluent Terms since Terms always have a value, and Term attributes tend to be locale-specific (used for grammar rules, etc.), and are not expected to appear in all translations.
Više informacija
Fluent reference¶
Added in version 5.0.
- Sažetak:
Fluent reference se moraju poklapati.
- Opseg:
prevedeni izrazi
- Provjera klase:
weblate.checks.fluent.references.FluentReferencesCheck- Provjera identifikatora:
fluent-references- Trigger:
This check needs to be enabled using a flag.
- File formats automatically enabling this check:
- Oznaka za uključivanje:
fluent-references- Oznaka za zanemarivanje:
ignore-fluent-references
A Fluent Message or Term can reference another Message, Term, Attribute, or a variable. For example:
Here is a { message }, a { message.attribute } a { -term } and a { $variable }.
Within a function { NUMBER($num, minimumFractionDigits: 2) }
Generally, translated Messages or Terms are expected to contain the same references as the source, although not necessarily in the same order of appearance. So this check ensures that translations use the same references in their value as the source value, the same number of times, and with no additions. For Messages, this will also check that each Attribute in the translation uses the same references as the matching Attribute in the source.
When the source or translation contains Fluent Select Expressions, then each possible variant in the source must be matched with at least one variant in the translation with the same references, and vice versa.
Moreover, if a variable reference appears both in the Select Expression’s selector and within one of its variants, then all variants may also be considered as if they also contain that reference. The assumption being that the variant’s key may have made the reference redundant for that variant. For example:
{ $num ->
[one] an apple
*[other] { $num } apples
}
Here, for the purposes of this check, the [one] variant will also be
considered to contain the $num reference.
However, a reference within the Select Expression’s selector, which can only be a variable of a Term Attribute in Fluent’s syntax, will not by itself count as a required reference because they do not form the actual text content of the string that the end-user will see, and the presence of a Select Expression is considered locale-specific. For example:
{ -term.starts-with-vowel ->
[yes] an { -term }
*[no] a { -term }
}
Here a reference to -term.starts-with-vowel is not expected to appear in
translations, but a reference to -term is.
Više informacija
Fluent Variables Fluent Message and Term references Fluent Select Expressions
HTML unutar Fluent prijevoda¶
Added in version 5.0.
- Sažetak:
Fluent cilj bi trebao biti važeći unutarnji HTML koji se poklapa.
- Opseg:
prevedeni izrazi
- Provjera klase:
weblate.checks.fluent.inner_html.FluentTargetInnerHTMLCheck- Provjera identifikatora:
fluent-target-inner-html- Trigger:
This check needs to be enabled using a flag.
- File formats automatically enabling this check:
- Oznaka za uključivanje:
fluent-target-inner-html- Oznaka za zanemarivanje:
ignore-fluent-target-inner-html
This check will verify that the translated value of a Message or Term contains the same HTML elements as the source value.
First, if the source value fails the Unutarnji HTML Fluent izvora check, then this check will do nothing. Otherwise, the translated value will also be checked under the same conditions.
Second, the HTML elements found in the translated value will be compared against the HTML elements found in the source value. Two elements will match if they share the exact same tag name, the exact same attributes and values, and all their ancestors match in the same way. This check will ensure that all the elements in the source appear somewhere in the translation, with the same number of appearances, and with no additional elements added. When there are multiple elements in the value, they need not appear in the same order in the translation value.
When the source or translation contains Fluent Select Expressions, then each possible variant in the source must be matched with at least one variant in the translation with the same HTML elements, and vice versa.
When using Fluent in combination with the Fluent DOM package, this check will
ensure that the translation also includes any required data-l10n-name
elements that appear in the source, or any of the allowed inline elements like
<br>.
For example, the following source:
Source message <img data-l10n-name="icon"/> with icon
would match with:
Translated message <img data-l10n-name="icon"/> with icon
but not:
Translated message <img data-l10n-name="new-val"/> with icon
nor
Translated message <br data-l10n-name="icon"/> with no icon
Više informacija
Sintaksa Fluent prijevoda¶
Added in version 5.0.
- Sažetak:
Greška Fluent sintakse u prijevodu.
- Opseg:
prevedeni izrazi
- Provjera klase:
weblate.checks.fluent.syntax.FluentTargetSyntaxCheck- Provjera identifikatora:
fluent-target-syntax- Trigger:
This check needs to be enabled using a flag.
- File formats automatically enabling this check:
- Oznaka za uključivanje:
fluent-target-syntax- Oznaka za zanemarivanje:
ignore-fluent-target-syntax
In Weblate, Fluent strings use Fluent syntax for references and variables, but also for more complex features like defining attributes and selector variants, including plurals. This check ensures that the syntax used in the translation will be valid for Fluent.
Više informacija
Formatted strings¶
Checks that the formatting in strings is replicated between both source and translation. Omitting format strings in translation usually causes severe problems, so the formatting in strings should usually match the source.
Weblate supports checking format strings in several languages. The check is not enabled automatically, only if a string is flagged appropriately (e.g. c-format for C format). Gettext adds this automatically, but you will probably have to add it manually for other file formats or if your PO files are not generated by xgettext.
Most of the format checks allow omitting format strings for plural forms having
a single count. This allows translators to write nicer strings for these cases
(One apple instead of %d apple). Turn this off by adding strict-format flag.
The flags can be customized per string (see Dodatne informacije o izvornim izrazima) or in a Konfiguracija komponente. Having it defined per component is simpler, but it can lead to false positives in case the string is not interpreted as a formatting string, but format string syntax happens to be used.
Savjet
In case specific format check is not available in Weblate, you can use generic Rezervirana mjesta.
Besides checking, this will also highlight the formatting strings to easily insert them into translated strings:
Znakovni niz AngularJS interpolacije¶
- Sažetak:
Znakovni nizovi AngularJS interpolacije se ne poklapaju s izvorom.
- Opseg:
prevedeni izrazi
- Provjera klase:
weblate.checks.angularjs.AngularJSInterpolationCheck- Provjera identifikatora:
angularjs_format- Trigger:
This check needs to be enabled using a flag.
- Oznaka za uključivanje:
angularjs-format- Oznaka za zanemarivanje:
ignore-angularjs-format
- Named format string example:
Your balance is {{amount}} {{ currency }}
Više informacija
Automatsko formatiranje komponenti¶
- Sažetak:
Rezervirana mjesta Automattic komponente se ne poklapaju s izvorom.
- Opseg:
prevedeni izrazi
- Provjera klase:
weblate.checks.format.AutomatticComponentsCheck- Provjera identifikatora:
automattic_components_format- Trigger:
This check needs to be enabled using a flag.
- Oznaka za uključivanje:
automattic-components-format- Oznaka za zanemarivanje:
ignore-automattic-components-format
- Simple format string example:
They bought {{strong}}apples{{/strong}}.
Više informacija
C format¶
- Sažetak:
Izraz u C formatu se ne poklapa s izvorom.
- Opseg:
prevedeni izrazi
- Provjera klase:
weblate.checks.format.CFormatCheck- Provjera identifikatora:
c_format- Trigger:
This check needs to be enabled using a flag.
- Oznaka za uključivanje:
c-format- Oznaka za zanemarivanje:
ignore-c-format
- Simple format string example:
There are %d apples- Position format string example:
Your balance is %1$d %2$s
Više informacija
C# format¶
- Sažetak:
Izraz u C# formatu se ne poklapa s izvorom.
- Opseg:
prevedeni izrazi
- Provjera klase:
weblate.checks.format.CSharpFormatCheck- Provjera identifikatora:
c_sharp_format- Trigger:
This check needs to be enabled using a flag.
- File formats automatically enabling this check:
- Oznaka za uključivanje:
c-sharp-format,csharp-format- Oznaka za zanemarivanje:
ignore-c-sharp-format
- Position format string example:
There are {0} apples
Više informacija
ECMAScript literali predloška¶
- Sažetak:
ECMAScript literali predloška se ne poklapaju s izvorom.
- Opseg:
prevedeni izrazi
- Provjera klase:
weblate.checks.format.ESTemplateLiteralsCheck- Provjera identifikatora:
es_format- Trigger:
This check needs to be enabled using a flag.
- File formats automatically enabling this check:
- Oznaka za uključivanje:
es-format- Oznaka za zanemarivanje:
ignore-es-format
- Interpolation example:
There are ${number} apples
Više informacija
i18next interpolacija¶
Added in version 4.0.
- Sažetak:
i18next interpolacija se ne poklapa s izvorom.
- Opseg:
prevedeni izrazi
- Provjera klase:
weblate.checks.format.I18NextInterpolationCheck- Provjera identifikatora:
i18next_interpolation- Trigger:
This check needs to be enabled using a flag.
- File formats automatically enabling this check:
- Oznaka za uključivanje:
i18next-interpolation- Oznaka za zanemarivanje:
ignore-i18next-interpolation
- Interpolation example:
There are {{number}} apples- Nesting example:
There are $t(number) apples
Više informacija
ICU MessageFormat¶
Added in version 4.9.
- Sažetak:
Sintaktičke greške i/ili nepoklapanje rezerviranih mjesta u ICU MessageFormat izrazima.
- Opseg:
prevedeni izrazi
- Provjera klase:
weblate.checks.icu.ICUMessageFormatCheck- Provjera identifikatora:
icu_message_format- Trigger:
This check needs to be enabled using a flag.
- File formats automatically enabling this check:
- Oznaka za uključivanje:
icu-message-format- Oznaka za zanemarivanje:
ignore-icu-message-format
- Interpolation example:
There {number, plural, one {is one apple} other {are # apples}}.
This check has support for both pure ICU MessageFormat messages as well as ICU with simple
XML tags. You can configure the behavior of this check by using icu-flags:*, either by
opting into XML support or by disabling certain sub-checks. For example, the following flag
enables XML support while disabling validation of plural sub-messages:
icu-message-format, icu-flags:xml:-plural_selectors
|
Enable support for simple XML tags. By default, XML tags
are parsed loosely. Stray |
|
Enable support for strict XML tags. All |
|
Disable highlighting placeholders in the editor. |
|
Disable requiring sub-messages to have an |
|
Skip checking that sub-message selectors match the source. |
|
Preskoči provjeru podudaranja vrsta rezerviranih mjesta s izvorom. |
|
Preskoči provjeru nepostojanja rezerviranih mjesta koja nisu postojala u izvornom izrazu. |
|
Preskoči provjeru postojanja svih rezerviranih mjesta koja su postojala u izvornom izrazu. |
Additionally, when strict-xml is not enabled but xml is enabled, you can use the
icu-tag-prefix:PREFIX flag to require that all XML tags start with a specific string.
For example, the following flag will only allow XML tags to be matched if they start with
<x::
icu-message-format, icu-flags:xml, icu-tag-prefix:"x:"
This would match <x:link>click here</x:link> but not <strong>this</strong>.
Java format¶
- Sažetak:
Izraz u Java formatu se ne poklapa s izvorom.
- Opseg:
prevedeni izrazi
- Provjera klase:
weblate.checks.format.JavaFormatCheck- Provjera identifikatora:
java_printf_format- Trigger:
This check needs to be enabled using a flag.
- File formats automatically enabling this check:
Resursi Android izraza, Kotlin resursi za mobilne uređaje, Compose Multiplatform resources
- Oznaka za uključivanje:
java-printf-format- Oznaka za zanemarivanje:
ignore-java-printf-format
- Simple format string example:
There are %d apples- Position format string example:
Your balance is %1$d %2$s
Promijenjeno u verziji 4.14: This used to be toggled by the java-format flag, it was changed for consistency with GNU gettext.
Više informacija
Java MessageFormat¶
- Sažetak:
Izraz u Java MessageFormat klasi se ne poklapa s izvorom.
- Opseg:
prevedeni izrazi
- Provjera klase:
weblate.checks.format.JavaMessageFormatCheck- Provjera identifikatora:
java_format- Trigger:
This check needs to be enabled using a flag.
- File formats automatically enabling this check:
- Oznaka za uključivanje:
auto-java-messageformat,java-format- Automatic flag behavior:
auto-java-messageformat: Treat a text as conditional Java MessageFormat, enabling Java MessageFormat only when the source contains Java MessageFormat placeholders.- Oznaka za zanemarivanje:
ignore-java-format
- Position format string example:
There are {0} apples
Promijenjeno u verziji 4.14: This used to be toggled by java-messageformat flag, it was changed for consistency with GNU gettext.
This check validates that format string is valid for the Java MessageFormat
class. Besides matching format strings in the curly braces, it also verifies
single quotes as they have a special meaning. Whenever writing single quote, it
should be written as ''. When not paired, it is treated as beginning of
quoting and will not be shown when rendering the string.
Više informacija
JavaScript format¶
- Sažetak:
Izraz u JavaScript formatu se ne poklapa s izvorom.
- Opseg:
prevedeni izrazi
- Provjera klase:
weblate.checks.format.JavaScriptFormatCheck- Provjera identifikatora:
javascript_format- Trigger:
This check needs to be enabled using a flag.
- Oznaka za uključivanje:
javascript-format- Oznaka za zanemarivanje:
ignore-javascript-format
- Simple format string example:
There are %d apples
Više informacija
Laravel format¶
- Sažetak:
Izraz u Laravel formatu se ne poklapa s izvorom.
- Opseg:
prevedeni izrazi
- Provjera klase:
weblate.checks.format.LaravelFormatCheck- Provjera identifikatora:
laravel_format- Trigger:
This check needs to be enabled using a flag.
- File formats automatically enabling this check:
- Oznaka za uključivanje:
laravel-format- Oznaka za zanemarivanje:
ignore-laravel-format
- Named format string example:
The :attribute must be :value
Više informacija
Lua format¶
- Sažetak:
Izraz u Lua formatu se ne poklapa s izvorom.
- Opseg:
prevedeni izrazi
- Provjera klase:
weblate.checks.format.LuaFormatCheck- Provjera identifikatora:
lua_format- Trigger:
This check needs to be enabled using a flag.
- Oznaka za uključivanje:
lua-format- Oznaka za zanemarivanje:
ignore-lua-format
- Simple format string example:
There are %d apples
Više informacija
Objekt u Pascal formatu¶
- Sažetak:
Izraz u Object Pascal formatu se ne poklapa s izvorom.
- Opseg:
prevedeni izrazi
- Provjera klase:
weblate.checks.format.ObjectPascalFormatCheck- Provjera identifikatora:
object_pascal_format- Trigger:
This check needs to be enabled using a flag.
- Oznaka za uključivanje:
object-pascal-format- Oznaka za zanemarivanje:
ignore-object-pascal-format
- Simple format string example:
There are %d apples
Objective-C format¶
Added in version 5.17.
- Sažetak:
Izraz u Objective-C formatu se ne poklapa s izvorom.
- Opseg:
prevedeni izrazi
- Provjera klase:
weblate.checks.format.ObjCFormatCheck- Provjera identifikatora:
objc_format- Trigger:
This check needs to be enabled using a flag.
- File formats automatically enabling this check:
- Oznaka za uključivanje:
objc-format- Oznaka za zanemarivanje:
ignore-objc-format
Rezervirana mjesta između znakova postotka¶
Added in version 4.0.
- Sažetak:
Rezervirana mjesta između znakova postotka se ne poklapaju s izvorom.
- Opseg:
prevedeni izrazi
- Provjera klase:
weblate.checks.format.PercentPlaceholdersCheck- Provjera identifikatora:
percent_placeholders- Trigger:
This check needs to be enabled using a flag.
- Oznaka za uključivanje:
percent-placeholders- Oznaka za zanemarivanje:
ignore-percent-placeholders
- Simple format string example:
There are %number% apples
Više informacija
Perl format s vitičastim zagradama¶
- Sažetak:
Izraz u Perl formatu s vitičastim zagradama se ne poklapa s izvorom.
- Opseg:
prevedeni izrazi
- Provjera klase:
weblate.checks.format.PerlBraceFormatCheck- Provjera identifikatora:
perl_brace_format- Trigger:
This check needs to be enabled using a flag.
- Oznaka za uključivanje:
perl-brace-format- Oznaka za zanemarivanje:
ignore-perl-brace-format
- Named format string example:
There are {number} apples
Više informacija
Perl format¶
- Sažetak:
Izraz u Perl formatu se ne poklapa s izvorom.
- Opseg:
prevedeni izrazi
- Provjera klase:
weblate.checks.format.PerlFormatCheck- Provjera identifikatora:
perl_format- Trigger:
This check needs to be enabled using a flag.
- Oznaka za uključivanje:
perl-format- Oznaka za zanemarivanje:
ignore-perl-format
- Simple format string example:
There are %d apples- Position format string example:
Your balance is %1$d %2$s
Više informacija
PHP format¶
- Sažetak:
Izraz u PHP formatu se ne poklapa s izvorom.
- Opseg:
prevedeni izrazi
- Provjera klase:
weblate.checks.format.PHPFormatCheck- Provjera identifikatora:
php_format- Trigger:
This check needs to be enabled using a flag.
- Oznaka za uključivanje:
php-format- Oznaka za zanemarivanje:
ignore-php-format
- Simple format string example:
There are %d apples- Position format string example:
Your balance is %1$d %2$s
Više informacija
Python format vitičastih zagrada¶
- Sažetak:
Izraz u Python formatu vitičastih zagrada se ne poklapa s izvorom.
- Opseg:
prevedeni izrazi
- Provjera klase:
weblate.checks.format.PythonBraceFormatCheck- Provjera identifikatora:
python_brace_format- Trigger:
This check needs to be enabled using a flag.
- Oznaka za uključivanje:
python-brace-format- Oznaka za zanemarivanje:
ignore-python-brace-format
- Simple format string:
There are {} apples- Named format string example:
Your balance is {amount} {currency}
Više informacija
Python format¶
- Sažetak:
Izraz u Python formatu se ne poklapa s izvorom.
- Opseg:
prevedeni izrazi
- Provjera klase:
weblate.checks.format.PythonFormatCheck- Provjera identifikatora:
python_format- Trigger:
This check needs to be enabled using a flag.
- Oznaka za uključivanje:
python-format- Oznaka za zanemarivanje:
ignore-python-format
- Simple format string:
There are %d apples- Named format string example:
Your balance is %(amount)d %(currency)s
Više informacija
Qt format¶
- Sažetak:
Izraz u Qt formatu se ne poklapa s izvorom.
- Opseg:
prevedeni izrazi
- Provjera klase:
weblate.checks.qt.QtFormatCheck- Provjera identifikatora:
qt_format- Trigger:
This check needs to be enabled using a flag.
- Oznaka za uključivanje:
qt-format- Oznaka za zanemarivanje:
ignore-qt-format
- Position format string example:
There are %1 apples
Više informacija
Oblici množine u Qt formatu¶
- Sažetak:
Množina u Qt formatu se ne poklapa s izvorom.
- Opseg:
prevedeni izrazi
- Provjera klase:
weblate.checks.qt.QtPluralCheck- Provjera identifikatora:
qt_plural_format- Trigger:
This check needs to be enabled using a flag.
- Oznaka za uključivanje:
qt-plural-format- Oznaka za zanemarivanje:
ignore-qt-plural-format
- Plural format string example:
There are %Ln apple(s)
Više informacija
Ruby format¶
- Sažetak:
Izraz u Ruby formatu se ne poklapa s izvorom.
- Opseg:
prevedeni izrazi
- Provjera klase:
weblate.checks.ruby.RubyFormatCheck- Provjera identifikatora:
ruby_format- Trigger:
This check needs to be enabled using a flag.
- Oznaka za uključivanje:
ruby-format- Oznaka za zanemarivanje:
ignore-ruby-format
- Simple format string example:
There are %d apples- Position format string example:
Your balance is %1$f %2$s- Named format string example:
Your balance is %+.2<amount>f %<currency>s- Named template string:
Your balance is %{amount} %{currency}
Više informacija
Format sheme¶
- Sažetak:
Izraz u formatu sheme se ne poklapa s izvorom.
- Opseg:
prevedeni izrazi
- Provjera klase:
weblate.checks.format.SchemeFormatCheck- Provjera identifikatora:
scheme_format- Trigger:
This check needs to be enabled using a flag.
- Oznaka za uključivanje:
scheme-format- Oznaka za zanemarivanje:
ignore-scheme-format
- Simple format string example:
There are ~d apples
Više informacija
Vue I18n formatiranje¶
- Sažetak:
Vue I18n formatiranje se ne poklapa s izvorom.
- Opseg:
prevedeni izrazi
- Provjera klase:
weblate.checks.format.VueFormattingCheck- Provjera identifikatora:
vue_format- Trigger:
This check needs to be enabled using a flag.
- Oznaka za uključivanje:
vue-format- Oznaka za zanemarivanje:
ignore-vue-format
- Named formatting:
There are {count} apples- Rails i18n formatting:
There are %{count} apples- Linked locale messages:
@:message.dio @:message.the_world!
Više informacija
Prevedeno¶
- Sažetak:
Ovaj je izraz već prije bio preveden.
- Opseg:
all strings
- Provjera klase:
weblate.checks.consistency.TranslatedCheck- Provjera identifikatora:
translated- Trigger:
This check is always enabled but can be ignored using a flag.
- Oznaka za zanemarivanje:
ignore-translated
Means a string has been translated already. This can happen when the translations have been reverted in VCS or lost otherwise.
Nedosljednost¶
- Sažetak:
Za ovaj izraz postoje višestruki prijevodi u ovom projektu ili nije preveden u nekim komponentama.
- Opseg:
all strings
- Provjera klase:
weblate.checks.consistency.ConsistencyCheck- Provjera identifikatora:
inconsistent- Trigger:
This check is always enabled but can be ignored using a flag.
- Oznaka za zanemarivanje:
ignore-inconsistent
Weblate checks translations of the same string across all translation within a project to help you keep consistent translations.
The check fails on differing translations of one string within a project. This can also lead to inconsistencies in displayed checks. You can find other translations of this string on the Other occurrences tab.
This check applies to all components in a project that have Dopusti dijeljenje prijevoda turned on.
Savjet
For performance reasons, the check might not find all inconsistencies, it limits number of matches.
Napomena
This check also fires in case the string is translated in one component and not in another. It can be used as a quick way to manually handle strings which are untranslated in some components just by clicking on the Use this translation button displayed on each line in the Other occurrences tab.
You can use Automatsko prevođenje add-on to automate translating of newly added strings which are already translated in another component.
Više informacija
Nedosljedni reStructuredText¶
Added in version 5.10.
- Sažetak:
Nedosljedno reStructuredText označavanja u prevedenoj poruci.
- Opseg:
prevedeni izrazi
- Provjera klase:
weblate.checks.markup.RSTReferencesCheck- Provjera identifikatora:
rst-references- Trigger:
This check needs to be enabled using a flag.
- Oznaka za uključivanje:
rst-text- Oznaka za zanemarivanje:
ignore-rst-references
reStructuredText reference pojma ili druge oznake ne odgovaraju izvornom kodu, tipični uzroci tih grešaka su:
Neusklađeni ili nedostajući navodni znakovi „gravis”.
Missing spaces or interpunction around the reference. The reStructuredText inline blocks need to be separated by non-word characters.
Space between inline tag and backticks.
The reference name is not being translated.
Using quotes instead of backticks.
Nepododarajuće zamjene ili reference fusnota.
Više informacija
Koristi se kashida znak¶
- Sažetak:
Ukrasne kashida znakove ne treba koristiti.
- Opseg:
prevedeni izrazi
- Provjera klase:
weblate.checks.chars.KashidaCheck- Provjera identifikatora:
kashida- Trigger:
This check is always enabled but can be ignored using a flag.
- Oznaka za zanemarivanje:
ignore-kashida
The decorative Kashida letters should not be used in translation. These are also known as Tatweel.
Više informacija
Markdown poveznice¶
- Sažetak:
Markdown poveznice se ne poklapaju s izvorom.
- Opseg:
prevedeni izrazi
- Provjera klase:
weblate.checks.markup.MarkdownLinkCheck- Provjera identifikatora:
md-link- Trigger:
This check needs to be enabled using a flag.
- File formats automatically enabling this check:
- Oznaka za uključivanje:
md-text- Oznaka za zanemarivanje:
ignore-md-link
Markdown poveznice se ne poklapaju s izvorom.
Više informacija
Markdown reference¶
- Sažetak:
Markdown reference poveznica se ne poklapaju s izvorom.
- Opseg:
prevedeni izrazi
- Provjera klase:
weblate.checks.markup.MarkdownRefLinkCheck- Provjera identifikatora:
md-reflink- Trigger:
This check needs to be enabled using a flag.
- File formats automatically enabling this check:
- Oznaka za uključivanje:
md-text- Oznaka za zanemarivanje:
ignore-md-reflink
Markdown reference poveznica se ne poklapaju s izvorom.
Više informacija
Markdown sintaksa¶
- Sažetak:
Markdown sintaksa se ne poklapa s izvorom.
- Opseg:
prevedeni izrazi
- Provjera klase:
weblate.checks.markup.MarkdownSyntaxCheck- Provjera identifikatora:
md-syntax- Trigger:
This check needs to be enabled using a flag.
- File formats automatically enabling this check:
- Oznaka za uključivanje:
md-text- Oznaka za zanemarivanje:
ignore-md-syntax
Markdown sintaksa se ne poklapa s izvorom
Više informacija
Maksimalna dužina prijevoda¶
- Sažetak:
Prijevod ne bi trebao prelaziti zadanu dužinu.
- Opseg:
prevedeni izrazi
- Provjera klase:
weblate.checks.chars.MaxLengthCheck- Provjera identifikatora:
max-length- Trigger:
This check needs to be enabled using a flag.
- Oznaka za uključivanje:
max-length- Oznaka za zanemarivanje:
ignore-max-length
Checks that translations are of acceptable length to fit available space. This only checks for the length of translation characters.
Unlike the other checks, the flag should be set as a key:value pair like
max-length:100.
The max-length flag also triggers Duljina izvornog izraza for source
strings. For English source strings, including English variants, this check
warns when the source uses more than 85% of the configured length to leave room
for translation expansion. For other source languages, the configured
max-length is used directly.
Savjet
This check looks at number of chars, what might not be the best metric when using proportional fonts to render the text. The Maksimalna dužina prijevoda check does check actual rendering of the text.
The replacements: flag might be also useful to expand placeables before
checking the string.
When xml-text flag is also used, the length calculation ignores XML tags.
Maximum number of lines¶
- Sažetak:
Translation should not exceed given number of lines.
- Opseg:
prevedeni izrazi
- Provjera klase:
weblate.checks.chars.MaxLinesCheck- Provjera identifikatora:
max-lines- Trigger:
This check needs to be enabled using a flag.
- Oznaka za uključivanje:
max-lines- Oznaka za zanemarivanje:
ignore-max-lines
Checks that translations do not exceed the configured maximum number of lines. This is useful for translations targeting fixed-height UI elements such as displays, terminals, or constrained containers where a specific number of visible lines is required.
Unlike the other checks, the flag should be set as a key:value pair like
max-lines:3.
A translation with more lines than the configured value triggers a warning. Lines are counted by the number of newline characters plus one.
Savjet
This check counts display lines (separated by \\n), not wrapped lines.
If your UI wraps text automatically, use Maksimalna dužina prijevoda instead.
Maksimalna dužina prijevoda¶
- Sažetak:
Rendered text should not exceed given size.
- Opseg:
source and translated strings
- Provjera klase:
weblate.checks.render.MaxSizeCheck- Provjera identifikatora:
max-size- Trigger:
This check needs to be enabled using a flag.
- Oznaka za uključivanje:
max-size- Oznaka za zanemarivanje:
ignore-max-size
Rendered source or translation text should not exceed given size. It renders the text and checks if it fits into given boundaries. Word wrapping is applied when more than one line is configured.
This check needs one or two parameters - maximal width and maximal number of lines. In case the number of lines is not provided, one line text is considered.
You can also configure used font by font-* directives (see
Customizing behavior using flags), for example following translation flags say that the
text rendered with ubuntu font size 22 should fit into two lines and 500
pixels:
max-size:500:2, font-family:ubuntu, font-size:22
Savjet
You might want to set font-* directives in Konfiguracija komponente to have the same
font configured for all strings within a component. You can override those
values per string in case you need to customize it per string.
The replacements: flag might be also useful to expand placeables before
checking the string.
When xml-text flag is also used, the length calculation ignores XML tags.
Više informacija
Mismatched \n¶
- Sažetak:
Broj \n literala u prijevodu se ne poklapa s izvorom.
- Opseg:
prevedeni izrazi
- Provjera klase:
weblate.checks.chars.EscapedNewlineCountingCheck- Provjera identifikatora:
escaped_newline- Trigger:
This check is always enabled but can be ignored using a flag.
- Oznaka za zanemarivanje:
ignore-escaped-newline
Usually escaped newlines are important for formatting program output.
Check fails if the number of \n literals in translation does not match the source.
Nepoklapanje dvotočke¶
- Sažetak:
Izvor i prijevod ne završavaju s dvotočkom.
- Opseg:
prevedeni izrazi
- Provjera klase:
weblate.checks.chars.EndColonCheck- Provjera identifikatora:
end_colon- Trigger:
This check is always enabled but can be ignored using a flag.
- Oznaka za zanemarivanje:
ignore-end-colon
Checks that colons are replicated between both source and translation. The presence of colons is also checked for various languages where they do not belong (Chinese or Japanese).
Više informacija
Nepoklapanje trotočke¶
- Sažetak:
Izvor i prijevod ne završavaju s trotočkom.
- Opseg:
prevedeni izrazi
- Provjera klase:
weblate.checks.chars.EndEllipsisCheck- Provjera identifikatora:
end_ellipsis- Trigger:
This check is always enabled but can be ignored using a flag.
- Oznaka za zanemarivanje:
ignore-end-ellipsis
Checks that trailing ellipses are replicated between both source and translation.
This only checks for real ellipsis (…) not for three dots (...).
An ellipsis is usually rendered nicer than three dots in print, and sounds better with text-to-speech.
Više informacija
Nepoklapanje uskličnika¶
- Sažetak:
Izvor i prijevod ne završavaju s uskličnikom.
- Opseg:
prevedeni izrazi
- Provjera klase:
weblate.checks.chars.EndExclamationCheck- Provjera identifikatora:
end_exclamation- Trigger:
This check is always enabled but can be ignored using a flag.
- Oznaka za zanemarivanje:
ignore-end-exclamation
Checks that exclamations are replicated between both source and translation. The presence of exclamation marks is also checked for various languages where they do not belong (Chinese, Japanese, Korean, Armenian, Limbu, Myanmar or Nko).
Više informacija
Nepoklapanje točke¶
- Sažetak:
Izvor i prijevod ne završavaju s točkom.
- Opseg:
prevedeni izrazi
- Provjera klase:
weblate.checks.chars.EndStopCheck- Provjera identifikatora:
end_stop- Trigger:
This check is always enabled but can be ignored using a flag.
- Oznaka za zanemarivanje:
ignore-end-stop
Checks that full stops are replicated between both source and translation. The presence of full stops is checked for various languages where they do not belong (Chinese, Japanese, Devanagari or Urdu).
Više informacija
Nepoklapanje interrobang znaka¶
- Sažetak:
Izvor i prijevod ne završavaju s interrobang znakom.
- Opseg:
prevedeni izrazi
- Provjera klase:
weblate.checks.chars.EndInterrobangCheck- Provjera identifikatora:
end_interrobang- Trigger:
This check is always enabled but can be ignored using a flag.
- Oznaka za zanemarivanje:
ignore-end-interrobang
Provjerava jednakost interrobang znakova između izvornog koda i prijevoda. Dozvoljava zamjenu između „!?” i „?!”.
Više informacija
Nepoklapanje upitnika¶
- Sažetak:
Izvor i prijevod ne završavaju s upitnikom.
- Opseg:
prevedeni izrazi
- Provjera klase:
weblate.checks.chars.EndQuestionCheck- Provjera identifikatora:
end_question- Trigger:
This check is always enabled but can be ignored using a flag.
- Oznaka za zanemarivanje:
ignore-end-question
Checks that question marks are replicated between both source and translation. The presence of question marks is also checked for various languages where they do not belong (Armenian, Arabic, Chinese, Korean, Japanese, Ethiopic, Vai or Coptic).
Više informacija
Nepoklapanje točka-zareza¶
- Sažetak:
Izvor i prijevod ne završavaju s točka-zarezom.
- Opseg:
prevedeni izrazi
- Provjera klase:
weblate.checks.chars.EndSemicolonCheck- Provjera identifikatora:
end_semicolon- Trigger:
This check is always enabled but can be ignored using a flag.
- Oznaka za zanemarivanje:
ignore-end-semicolon
Checks that semicolons at the end of sentences are replicated between both source and translation.
Više informacija
Nepoklapanje prekida redaka¶
- Sažetak:
Broj novih redaka u prijevodu se ne poklapa s izvorom.
- Opseg:
prevedeni izrazi
- Provjera klase:
weblate.checks.chars.NewLineCountCheck- Provjera identifikatora:
newline-count- Trigger:
This check is always enabled but can be ignored using a flag.
- Oznaka za zanemarivanje:
ignore-newline-count
Usually newlines are important for formatting program output. Check fails if the number of new lines in translation does not match the source.
Nedostaju oblici množine¶
- Sažetak:
Neki oblici množine nisu prevedeni.
- Opseg:
prevedeni izrazi
- Provjera klase:
weblate.checks.consistency.PluralsCheck- Provjera identifikatora:
plurals- Trigger:
This check is always enabled but can be ignored using a flag.
- Oznaka za zanemarivanje:
ignore-plurals
Checks that all plural forms of a source string have been translated. Specifics on how each plural form is used can be found in the string definition.
Failing to fill in plural forms will in some cases lead to displaying nothing when the plural form is in use.
Višestruka velika slova¶
Added in version 5.16.
- Sažetak:
Prijevod sadrži riječi s pogrešno postavljenim velikim slovima.
- Opseg:
prevedeni izrazi
- Provjera klase:
weblate.checks.chars.MultipleCapitalCheck- Provjera identifikatora:
multiple_capital- Trigger:
This check is always enabled but can be ignored using a flag.
- Oznaka za zanemarivanje:
ignore-multiple-capital
Checks for misplaced capitalization by detecting words that contain consecutive
uppercase letters in otherwise lowercase or normally capitalized text (for
example, HEllo or CAmelCase). Strings that contain capitalization in the
source string are allowed to contain capitalization in the translation.
Nestandardni znakovi u kabilskom jeziku¶
Added in version 5.12.
- Sažetak:
Koristi standardizirane latinične kabilske znakove (npr. ɣ umjesto grčkog γ; ɛ umjesto ε).
- Opseg:
prevedeni izrazi
- Provjera klase:
weblate.checks.chars.KabyleCharactersCheck- Provjera identifikatora:
kabyle-characters- Trigger:
This check is always enabled but can be ignored using a flag.
- Oznaka za zanemarivanje:
ignore-kabyle-characters
Checks that Kabyle translations use correct Kabyle letters and not similar Greek ones, which were often used before Kabyle characters were standardized in Unicode.
Rezervirana mjesta¶
Promijenjeno u verziji 4.3: Kao rezervirano mjesto možeš koristiti regularni izraz.
Promijenjeno u verziji 4.13: With the case-insensitive flag, the placeholders are not case-sensitive.
- Sažetak:
Prijevodu nedostaju neka rezervirana mjesta.
- Opseg:
prevedeni izrazi
- Provjera klase:
weblate.checks.placeholders.PlaceholderCheck- Provjera identifikatora:
placeholders- Trigger:
This check needs to be enabled using a flag.
- Oznaka za uključivanje:
placeholders- Oznaka za zanemarivanje:
ignore-placeholders
Translation is missing some placeholders. These are either extracted from the
translation file or defined manually using placeholders flag, more can be
separated with colon, strings with space can be quoted:
placeholders:$URL$:$TARGET$:"some long text"
In case you have some syntax for placeholders, you can use a regular expression:
placeholders:r"%[^% ]%"
You can also have case insensitive placeholders:
placeholders:$URL$:$TARGET$,case-insensitive
Više informacija
Zabranjen početni znak¶
Added in version 5.9.
- Sažetak:
Izraz počinje sa zabranjenim znakom u CSV-u.
- Opseg:
glossary strings
- Provjera klase:
weblate.checks.glossary.ProhibitedInitialCharacterCheck- Provjera identifikatora:
prohibited_initial_character- Trigger:
This check is always enabled but can be ignored using a flag.
- Oznaka za zanemarivanje:
ignore-prohibited-initial-character
The glossary is often shared as CSV and using some characters at the beginning is restricted by many applications as these can cause the text being evaluated as an expression. This also affects Glosari u automatskom prijedlogu where many services use CSV for synchronizing glossaries and reject such strings.
Razmaci interpunkcija¶
Promijenjeno u verziji 5.10: This check used to apply to Breton language as well, but it was limited to French only.
- Sažetak:
Nedostaje neprekidajući razmak ispred dvodijelnih interpunkcija (; : ? !).
- Opseg:
prevedeni izrazi
- Provjera klase:
weblate.checks.chars.PunctuationSpacingCheck- Provjera identifikatora:
punctuation_spacing- Trigger:
This check is always enabled but can be ignored using a flag.
- Oznaka za zanemarivanje:
ignore-punctuation-spacing
Checks that there is non breakable space before double punctuation sign (exclamation mark, question mark, semicolon and colon). This rule is used only in a few selected languages like French, where space before double punctuation sign is a typographic rule.
Više informacija
Regularni izraz¶
Promijenjeno u verziji 5.10: Extended support for advanced regular expressions including Unicode codepoint properties.
- Sažetak:
Prijevod se ne podudara s regularnim izrazom.
- Opseg:
prevedeni izrazi
- Provjera klase:
weblate.checks.placeholders.RegexCheck- Provjera identifikatora:
regex- Trigger:
This check needs to be enabled using a flag.
- Oznaka za uključivanje:
regex- Oznaka za zanemarivanje:
ignore-regex
Translation does not match regular expression. The expression is either extracted from the
translation file or defined manually using regex flag:
regex:^foo|bar$
The matching also supports Unicode codepoint properties, including scripts and blocks:
regex:^[-_\p{L}\p{N}\p{sc=Deva}\p{sc=Thai}]{1,32}$
Savjet
Use Rezervirana mjesta for detecting missing placeholders in the string.
Više informacija
Greška reStructuredText sintakse¶
Added in version 5.10.
- Sažetak:
Greška reStructuredText sintakse u prijevodu.
- Opseg:
prevedeni izrazi
- Provjera klase:
weblate.checks.markup.RSTSyntaxCheck- Provjera identifikatora:
rst-syntax- Trigger:
This check needs to be enabled using a flag.
- Oznaka za uključivanje:
rst-text- Oznaka za zanemarivanje:
ignore-rst-syntax
Greška reStructuredText sintakse u prijevodu. Problemi koji se trebaju pregledati:
Nepoklapajuće otvarajuće/zatvarajuće oznake.
Missing spaces or interpunction around the reference. The reStructuredText inline blocks need to be separated by non-word characters.
Using quotes instead of backticks.
Više informacija
Ponovo korišten prijevod¶
Added in version 4.18.
- Sažetak:
Različiti izrazi imaju isti prijevod.
- Opseg:
prevedeni izrazi
- Provjera klase:
weblate.checks.consistency.ReusedCheck- Provjera identifikatora:
reused- Trigger:
This check is always enabled but can be ignored using a flag.
- Oznaka za zanemarivanje:
ignore-reused
Check that fails if the same translation is used on different source strings. Such translations can be intentional, but can also confuse users.
Safe MDX¶
Added in version 2026.7.
- Sažetak:
JSX expressions in the translation do not match the source.
- Opseg:
prevedeni izrazi
- Provjera klase:
weblate.checks.mdx.SafeMDXCheck- Provjera identifikatora:
safe-mdx- Trigger:
This check needs to be enabled using a flag.
- File formats automatically enabling this check:
- Oznaka za uključivanje:
safe-mdx- Oznaka za zanemarivanje:
ignore-safe-mdx
Jednake množine¶
- Sažetak:
Neki oblici množine su prevedeni jednako.
- Opseg:
prevedeni izrazi
- Provjera klase:
weblate.checks.consistency.SamePluralsCheck- Provjera identifikatora:
same-plurals- Trigger:
This check is always enabled but can be ignored using a flag.
- Oznaka za zanemarivanje:
ignore-same-plurals
Provjeravanje pojavljivanja jednakih oblika množine u prijevodu. Za većinu jezika moraju biti različiti.
Početni novi redak¶
- Sažetak:
Izvor i prijevod ne započinju s novim retkom.
- Opseg:
prevedeni izrazi
- Provjera klase:
weblate.checks.chars.BeginNewlineCheck- Provjera identifikatora:
begin_newline- Trigger:
This check is always enabled but can be ignored using a flag.
- Oznaka za zanemarivanje:
ignore-begin-newline
Newlines usually appear in source strings for good reason, omissions or additions can lead to formatting problems when the translated text is put to use.
Više informacija
Početni razmaci¶
- Sažetak:
Izvor i prijevod ne započinju s jednakim brojem razmaka.
- Opseg:
prevedeni izrazi
- Provjera klase:
weblate.checks.chars.BeginSpaceCheck- Provjera identifikatora:
begin_space- Trigger:
This check is always enabled but can be ignored using a flag.
- Oznaka za zanemarivanje:
ignore-begin-space
A space in the beginning of a string is usually used for indentation in the interface and thus important to keep.
Završni novi redak¶
- Sažetak:
Izvor i prijevod ne završavaju s novim retkom.
- Opseg:
prevedeni izrazi
- Provjera klase:
weblate.checks.chars.EndNewlineCheck- Provjera identifikatora:
end_newline- Trigger:
This check is always enabled but can be ignored using a flag.
- Oznaka za zanemarivanje:
ignore-end-newline
Newlines usually appear in source strings for good reason, omissions or additions can lead to formatting problems when the translated text is put to use.
Više informacija
Završni razmaci¶
- Sažetak:
Izvor i prijevod ne završavaju s razmakom.
- Opseg:
prevedeni izrazi
- Provjera klase:
weblate.checks.chars.EndSpaceCheck- Provjera identifikatora:
end_space- Trigger:
This check is always enabled but can be ignored using a flag.
- Oznaka za zanemarivanje:
ignore-end-space
Checks that trailing spaces are replicated between both source and translation.
Trailing space is usually utilized to space out neighbouring elements, so removing it might break layout.
Nepromijenjen prijevod¶
- Sažetak:
Izvor i prijevod su jednaki.
- Opseg:
prevedeni izrazi
- Provjera klase:
weblate.checks.same.SameCheck- Provjera identifikatora:
same- Trigger:
This check is always enabled but can be ignored using a flag.
- Oznaka za zanemarivanje:
ignore-same
Happens if the source and corresponding translation strings are identical, down to at least one of the plural forms. Some strings commonly found across all languages are ignored, and various markups are stripped. This reduces the number of false positives.
This check can help find strings mistakenly untranslated.
The default behavior of this check is to exclude words from the built-in terms
list from the checking. These are words which are frequently not being
translated. This is useful to avoid false positives on short strings, which
consist only of a single word which is the same in several languages. This list
can be disabled by adding strict-same flag to a string or component.
Promijenjeno u verziji 4.17: Ako je oznaka check-glossary aktivirana (pogledaj Ne odgovara glosaru), neprevodivi pojmovi iz glosara će se isključiti iz provjere.
Više informacija
Nesiguran HTML¶
- Sažetak:
Prijevod koristi nesigurne HTML oznake.
- Opseg:
prevedeni izrazi
- Provjera klase:
weblate.checks.markup.SafeHTMLCheck- Provjera identifikatora:
safe-html- Trigger:
This check needs to be enabled using a flag.
- File formats automatically enabling this check:
- Oznaka za uključivanje:
auto-safe-html,safe-html- Automatic flag behavior:
auto-safe-html: Treat a text as conditional HTML, enabling Nesiguran HTML only for plain text or source strings that contain standard HTML markup or valid custom elements. This is useful for extended Markdown variants such as MDX, where angle-bracket syntax may not be HTML.- Oznaka za zanemarivanje:
ignore-safe-html
The translation uses unsafe HTML markup. This check has to be enabled using
safe-html flag (see Customizing behavior using flags). There is also accompanied
autofixer which can automatically sanitize the markup.
Savjet
When md-text flag is also used, the Markdown style links are also allowed.
Više informacija
The HTML check is performed by the Ammonia library.
URL¶
- Sažetak:
The translation does not contain a URL.
- Opseg:
prevedeni izrazi
- Provjera klase:
weblate.checks.markup.URLCheck- Provjera identifikatora:
url- Trigger:
This check needs to be enabled using a flag.
- Oznaka za uključivanje:
url- Oznaka za zanemarivanje:
ignore-url
The translation does not contain a URL. This is triggered only in case the unit is marked as containing URL. In that case the translation has to be a valid URL.
XML označavanje¶
- Sažetak:
XML oznake u prijevodu se ne poklapaju s izvorom.
- Opseg:
prevedeni izrazi
- Provjera klase:
weblate.checks.markup.XMLTagsCheck- Provjera identifikatora:
xml-tags- Trigger:
This check is always enabled but can be ignored using a flag.
- Oznaka za zanemarivanje:
ignore-xml-tags
This usually means the resulting output will look different. In most cases this is not a desired result from changing the translation, but occasionally it is.
Checks that XML tags are replicated between both source and translation.
The check is automatically enabled for XML like strings. You might need to add
xml-text flag in some cases to force turning it on.
Napomena
This check is disabled by the safe-html flag as the HTML cleanup done by
it can produce HTML markup which is not valid XML.
XML sintaksa¶
- Sažetak:
Prijevod nije ispravan XML.
- Opseg:
prevedeni izrazi
- Provjera klase:
weblate.checks.markup.XMLValidityCheck- Provjera identifikatora:
xml-invalid- Trigger:
This check is always enabled but can be ignored using a flag.
- Oznaka za zanemarivanje:
ignore-xml-invalid
The XML markup is not valid.
The check is automatically enabled for XML like strings. You might need to add
xml-text flag in some cases to force turning it on.
Napomena
This check is disabled by the safe-html flag as the HTML cleanup done by
it can produce HTML markup which is not valid XML.
Razmak bez širine¶
- Sažetak:
Prijevod sadrži dodatni znak razmaka bez širine.
- Opseg:
prevedeni izrazi
- Provjera klase:
weblate.checks.chars.ZeroWidthSpaceCheck- Provjera identifikatora:
zero-width-space- Trigger:
This check is always enabled but can be ignored using a flag.
- Oznaka za zanemarivanje:
ignore-zero-width-space
Znak razmaka bez širine (<U+200B>) se koristi za rastavljanje poruka unutar riječi (prijelom riječi).
Budući da se obično unose greškom, ova se provjera pokreće kada postoje u prijevodu. Neki programi mogu imati problema kad se ovaj znak koristi.
Više informacija
Provjere izvora¶
Provjere izvora mogu programerima pomoći poboljšati kvalitetu izvornih izraza.
Trotočka¶
- Sažetak:
Izraz koristi tri točke
(...)umjesto znaka trotočke(…).- Opseg:
izvorni izrazi
- Provjera klase:
weblate.checks.source.EllipsisCheck- Provjera identifikatora:
ellipsis- Trigger:
This check is always enabled but can be ignored using a flag.
- Oznaka za zanemarivanje:
ignore-ellipsis
Ovo ne uspijeva kada izraz koristi tri točke (...) a trebao bi koristiti trotočku (…).
Using the Unicode character is in most cases the better approach and looks better rendered, and may sound better with text-to-speech.
Više informacija
Unutarnji HTML Fluent izvora¶
Added in version 5.0.
- Sažetak:
Fluent izvor bi trebao biti važeći unutarnji HTML.
- Opseg:
izvorni izrazi
- Provjera klase:
weblate.checks.fluent.inner_html.FluentSourceInnerHTMLCheck- Provjera identifikatora:
fluent-source-inner-html- Trigger:
This check needs to be enabled using a flag.
- File formats automatically enabling this check:
- Oznaka za uključivanje:
fluent-source-inner-html- Oznaka za zanemarivanje:
ignore-fluent-source-inner-html
Fluent is often used in contexts where the value for a Message (or Term) is
meant to be used directly as .innerHTML (rather than .textContent) for
some HTML element. For example, when using the Fluent DOM package.
The aim of this check is to predict how the value will be parsed as inner HTML, assuming an HTML5 conforming parser, to catch cases where there would be some „unintended” loss of the string, without being too strict about technical parsing errors that do not lead to a loss of the string.
This check is applied to the value of Fluent Messages or Terms, but not their Attributes. For Messages, the Fluent Attributes are often just HTML attribute values, so can be arbitrary strings. For Terms, the Fluent Attributes are often language properties that can only be referenced in the selectors of Fluent Select Expressions.
Generally, most Fluent values are not expected to contain any HTML markup. Therefore, this check does not expect or want translators and developers to have to care about strictly avoiding any technical HTML5 parsing errors (let alone XHTML parsing errors). Instead, this check will just want to warn them when they may have unintentionally opened an HTML tag or inserted a character reference.
Moreover, for the Fluent values that intentionally contain HTML tags or character references, this check will verify some „good practices”, such as matching closing and ending tags, valid character references, and quoted attribute values. In addition, whilst the HTML5 specification technically allows for quite arbitrary tag and attribute names, this check will restrain them to some basic ASCII values that should cover the standard HTML5 element tags and attributes, as well as allow some custom element or attribute names. This is partially to ensure that the user is using HTML intentionally.
Primjeri:
Vrijednost |
Upozorava? |
Razlog |
|---|---|---|
|
yes |
The |
|
no |
The |
|
yes |
Missing a closing tag. |
|
yes |
|
|
no |
Custom element tag with a matching closing tag. |
|
no |
|
|
no |
|
|
yes |
Vrijednost atributa nije zadana pod navodnicima. |
|
yes |
Non-ASCII tag name. |
|
yes |
The |
|
no |
The character reference seems to be intentional. |
|
yes |
The |
|
yes |
Referenca na znak nije ispravna. |
|
yes |
The Fluent variable may unintentionally become a tag. |
|
yes |
The Fluent variable may unintentionally become a character reference. |
Napomena
This check will not ensure the inner HTML is safe or sanitized, and is not
meant to protect against malicious attempts to alter the inner HTML.
Moreover, it should be remembered that Fluent variables and references may
expand to arbitrary strings, so could expand to arbitrary HTML unless they
are escaped. As an exception, a < or & character before a Fluent
reference will trigger this check since even an escaped value could lead to
unexpected results.
Napomena
The Fluent DOM package has further limitations, such as allowed tags and attributes, which this check will not enforce.
Više informacija
Sintaksa Fluent izvora¶
Added in version 5.0.
- Sažetak:
Greška Fluent sintakse u izvoru.
- Opseg:
izvorni izrazi
- Provjera klase:
weblate.checks.fluent.syntax.FluentSourceSyntaxCheck- Provjera identifikatora:
fluent-source-syntax- Trigger:
This check needs to be enabled using a flag.
- File formats automatically enabling this check:
- Oznaka za uključivanje:
fluent-source-syntax- Oznaka za zanemarivanje:
ignore-fluent-source-syntax
In Weblate, Fluent strings use Fluent syntax for references and variables, but also for more complex features like defining attributes and selector variants, including plurals. This check ensures that the syntax used in source will be valid for Fluent.
Više informacija
ICU MessageFormat sintaksa¶
Added in version 4.9.
- Sažetak:
Sintaktičke greške u ICU MessageFormat izrazima.
- Opseg:
izvorni izrazi
- Provjera klase:
weblate.checks.icu.ICUSourceCheck- Provjera identifikatora:
icu_message_format_syntax- Trigger:
This check needs to be enabled using a flag.
- File formats automatically enabling this check:
- Oznaka za uključivanje:
icu-message-format- Oznaka za zanemarivanje:
ignore-icu-message-format
Više informacija
Dugo neprevedeno¶
Added in version 4.1.
- Sažetak:
Izraz već dugo nije preveden.
- Opseg:
izvorni izrazi
- Provjera klase:
weblate.checks.source.LongUntranslatedCheck- Provjera identifikatora:
long_untranslated- Trigger:
This check is always enabled but can be ignored using a flag.
- Oznaka za zanemarivanje:
ignore-long-untranslated
When the string has not been translated for a long time, it can indicate a problem in a source string making it hard to translate.
Višestruke neuspjele provjere¶
- Sažetak:
Prijevodi u više jezika sadrže neuspjele provjere.
- Opseg:
izvorni izrazi
- Provjera klase:
weblate.checks.source.MultipleFailingCheck- Provjera identifikatora:
multiple_failures- Trigger:
This check is always enabled but can be ignored using a flag.
- Oznaka za zanemarivanje:
ignore-multiple-failures
Numerous translations of this string have failing quality checks. This is usually an indication that something could be done to improve the source string.
This check failing can quite often be caused by a missing full stop at the end of a sentence, or similar minor issues which translators tend to fix in translation, while it would be better to fix it in the source string.
Višestruke neimenovane varijable¶
Added in version 4.1.
- Sažetak:
Izraz sadrži višestruke neimenovane varijable, što prevoditeljima onemogućuje njihovo preraspoređivanje.
- Opseg:
izvorni izrazi
- Provjera klase:
weblate.checks.format.MultipleUnnamedFormatsCheck- Provjera identifikatora:
unnamed_format- Trigger:
This check is always enabled but can be ignored using a flag.
- Oznaka za zanemarivanje:
ignore-unnamed-format
Izraz sadrži višestruke neimenovane varijable, što prevoditeljima onemogućuje njihovo preraspoređivanje.
Consider using named variables instead to allow translators to reorder them.
Duljina izvornog izraza¶
- Sažetak:
Source string is close to or exceeds the configured maximum length for translations.
- Opseg:
izvorni izrazi
- Provjera klase:
weblate.checks.source.SourceMaxLengthCheck- Provjera identifikatora:
source-max-length- Trigger:
This check is always enabled but can be ignored using a flag.
- Oznaka za zanemarivanje:
ignore-source-max-length
Translations often need more room than the source text, especially when the
source language is English. This check helps maintainers find source strings
that are already close to their configured max-length before translators
have to shorten or omit meaning to fit the limit.
For English source strings, including English variants, the check reports
strings using more than 85% of the configured max-length. For other source
languages, it reports source strings longer than the configured
max-length.
This catches source strings that are likely to make translations fail Maksimalna dužina prijevoda, and source strings that already do not fit the declared limit.
Bez množine¶
- Sažetak:
Izraz se koristi kao oblik množine, ali se oblici množine ne koriste.
- Opseg:
izvorni izrazi
- Provjera klase:
weblate.checks.source.OptionalPluralCheck- Provjera identifikatora:
optional_plural- Trigger:
This check is always enabled but can be ignored using a flag.
- Oznaka za zanemarivanje:
ignore-optional-plural
The string is used as a plural, but does not use plural forms. In case your translation system supports this, you should use the plural aware variant of it.
For example with Gettext in Python it could be:
from gettext import ngettext
print(ngettext("Selected %d file", "Selected %d files", files) % files)
Placeables in automatic suggestion¶
Checks for placeables expose information on current placeables and this can be used to instruct automatic suggestion engines to keep them. The support for this varies in different services and in many cases there is no way to enforce keeping placeables intact.
Više informacija