Skip to content

Commit 0f0cece

Browse files
committed
fix: bad message parameter formatting in CSS-004 and RSC-028
Fix #1480
1 parent fc5e360 commit 0f0cece

9 files changed

+15
-15
lines changed

src/main/resources/com/adobe/epubcheck/messages/MessageBundle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ CHK_008=Error encountered while processing an item "%1$s"; skip other checks for
2626
CSS_001=The "%1$s" property must not be included in an EPUB Style Sheet.
2727
CSS_002=Empty or NULL reference found.
2828
CSS_003=CSS document is encoded in UTF-16. It should be encoded in UTF-8 instead.
29-
CSS_004=CSS documents must be encoded in UTF-8, detected %1%s;
29+
CSS_004=CSS documents must be encoded in UTF-8, detected %1$s;
3030
CSS_005=Conflicting alternate style tags found: %1$s.
3131
CSS_006=CSS selector specifies fixed position.
3232
CSS_007=Font-face reference "%1$s" refers to non-standard font type "%2$s".
@@ -278,7 +278,7 @@ RSC_024=Informative parsing warning: %1$s
278278
RSC_025=Informative parsing error: %1$s
279279
RSC_026=URL "%1$s" leaks outside the container (it is not a valid-relative-ocf-URL-with-fragment string)
280280
RSC_027=XML document is encoded in UTF-16. It should be encoded in UTF-8 instead.
281-
RSC_028=XML documents must be encoded in UTF-8, but %1%s was detected.
281+
RSC_028=XML documents must be encoded in UTF-8, but %1$s was detected.
282282
RSC_029=Data URL is not allowed in this context.
283283
RSC_030=File URLs are not allowed in EPUB, but found "%1$s".
284284
RSC_031=Remote resource references should use HTTPS, but found "%1$s".

src/main/resources/com/adobe/epubcheck/messages/MessageBundle_da.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ RSC_024=Informativ advarsel om parsing: %1$s
278278
RSC_025=Informativ fejl om parsing: %1$s
279279
RSC_026=URL'en "%1$s" peger udenfor EPUB zip-arkivet (den er derfor ikke en gyldig-relativ-ocf-URL-med-fragment-streng)
280280
RSC_027=XML-dokumentet er kodet som UTF-16. Det bør være kodet som UTF-8 i stedet for.
281-
RSC_028=XML-dokumenter skal kodes som UTF-8, men fandt %1%s.
281+
RSC_028=XML-dokumenter skal kodes som UTF-8, men fandt %1$s.
282282
RSC_029=Data URL er ikke tilladt i denne kontekst.
283283
RSC_030=Fil URL'er er ikke tilladt i EPUB, men der blev fundet "%1$s".
284284
RSC_031=Henvisninger til fjernresurser bør bruge HTTPS, men fandt "%1$s".

src/main/resources/com/adobe/epubcheck/messages/MessageBundle_de.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ CHK_008=Fehler beim Verarbeiten von "%1$s", weitere Checks werden übersprungen.
2626
CSS_001=Die CSS-Eigenschaft "%1$s" darf im EPUB nicht verwendet werden!
2727
CSS_002=Leere oder Keine Referenz gefunden.
2828
CSS_003=CSS document is encoded in UTF-16. It should be encoded in UTF-8 instead.
29-
CSS_004=CSS documents must be encoded in UTF-8, detected %1%s;
29+
CSS_004=CSS documents must be encoded in UTF-8, detected %1$s;
3030
CSS_005=Conflicting alternate style tags found: %1$s.
3131
CSS_006=CSS-Eigenschaft "position:fixed" wird verwendet.
3232
CSS_007=Die "font-face" Deklaration "%1$s" referenziert einen nicht-standardisierten Schriftentyp: "%2$s"
@@ -278,7 +278,7 @@ RSC_024=Informative parsing warning: %1$s
278278
RSC_025=Informative parsing error: %1$s
279279
RSC_026=URL "%1$s" leaks outside the container (it is not a valid-relative-ocf-URL-with-fragment string)
280280
RSC_027=XML document is encoded in UTF-16. It should be encoded in UTF-8 instead.
281-
RSC_028=XML documents must be encoded in UTF-8, but %1%s was detected.
281+
RSC_028=XML documents must be encoded in UTF-8, but %1$s was detected.
282282
RSC_029=Data URL is not allowed in this context.
283283
RSC_030=File URLs are not allowed in EPUB, but found "%1$s".
284284
RSC_031=Remote resource references should use HTTPS, but found "%1$s".

src/main/resources/com/adobe/epubcheck/messages/MessageBundle_es.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ RSC_024=Informative parsing warning: %1$s
278278
RSC_025=Informative parsing error: %1$s
279279
RSC_026=URL "%1$s" leaks outside the container (it is not a valid-relative-ocf-URL-with-fragment string)
280280
RSC_027=XML document is encoded in UTF-16. It should be encoded in UTF-8 instead.
281-
RSC_028=XML documents must be encoded in UTF-8, but %1%s was detected.
281+
RSC_028=XML documents must be encoded in UTF-8, but %1$s was detected.
282282
RSC_029=Data URL is not allowed in this context.
283283
RSC_030=File URLs are not allowed in EPUB, but found "%1$s".
284284
RSC_031=Remote resource references should use HTTPS, but found "%1$s".

src/main/resources/com/adobe/epubcheck/messages/MessageBundle_fr.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ CHK_008=Erreur produite lors du traitement d’un item "%1$s" ; Les autres véri
2626
CSS_001=La propriété "%1$s" ne doit pas être incluse dans une feuille de style ePub.
2727
CSS_002=Référence vide ou NULL présente.
2828
CSS_003=CSS document is encoded in UTF-16. It should be encoded in UTF-8 instead.
29-
CSS_004=CSS documents must be encoded in UTF-8, detected %1%s;
29+
CSS_004=CSS documents must be encoded in UTF-8, detected %1$s;
3030
CSS_005=Conflicting alternate style tags found: %1$s.
3131
CSS_006=Le sélecteur CSS spécifie une position fixe
3232
CSS_007=La référence font-face "%1$s" se réfère à une fonte de type non-standard "%2$s".
@@ -278,7 +278,7 @@ RSC_024=Informative parsing warning: %1$s
278278
RSC_025=Informative parsing error: %1$s
279279
RSC_026=URL "%1$s" leaks outside the container (it is not a valid-relative-ocf-URL-with-fragment string)
280280
RSC_027=XML document is encoded in UTF-16. It should be encoded in UTF-8 instead.
281-
RSC_028=XML documents must be encoded in UTF-8, but %1%s was detected.
281+
RSC_028=XML documents must be encoded in UTF-8, but %1$s was detected.
282282
RSC_029=Data URL is not allowed in this context.
283283
RSC_030=File URLs are not allowed in EPUB, but found "%1$s".
284284
RSC_031=Remote resource references should use HTTPS, but found "%1$s".

src/main/resources/com/adobe/epubcheck/messages/MessageBundle_it.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ CHK_008=Si è verificato un errore durante l'elaborazione di un elemento "%1$s";
2626
CSS_001=La proprietà "%1$s" non deve essere inclusa in un CSS per EPUB.
2727
CSS_002=È stato trovato un riferimento vuoto o NULL.
2828
CSS_003=Il documento CSS è codificato in UTF-16. Dovrebbe invece essere codificato in UTF-8.
29-
CSS_004=I documenti CSS devono essere codificati in UTF-8, rilevato %1%s;
29+
CSS_004=I documenti CSS devono essere codificati in UTF-8, rilevato %1$s;
3030
CSS_005=Conflicting alternate style tags found: %1$s.
3131
CSS_006=La regola CSS specifica una posizione fissa.
3232
CSS_007=Il riferimento "font-face" "%1$s" punta a una font non standard "%2$s".

src/main/resources/com/adobe/epubcheck/messages/MessageBundle_nl.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ CHK_008=Error encountered while processing an item "%1$s"; skip other checks for
2626
CSS_001=Eigenschap "%1$s" mag niet in een EPUB Style Sheet opgenomen worden.
2727
CSS_002=Lege of NULL reference gevonden.
2828
CSS_003=CSS document is encoded in UTF-16. It should be encoded in UTF-8 instead.
29-
CSS_004=CSS documents must be encoded in UTF-8, detected %1%s;
29+
CSS_004=CSS documents must be encoded in UTF-8, detected %1$s;
3030
CSS_005=Conflicting alternate style tags found: %1$s.
3131
CSS_006=CSS selector specifies fixed position.
3232
CSS_007=Font-face verwijzing %1$s verwijst naar een niet-standaard font type %2$s.
@@ -278,7 +278,7 @@ RSC_024=Informative parsing warning: %1$s
278278
RSC_025=Informative parsing error: %1$s
279279
RSC_026=URL "%1$s" leaks outside the container (it is not a valid-relative-ocf-URL-with-fragment string)
280280
RSC_027=XML document is encoded in UTF-16. It should be encoded in UTF-8 instead.
281-
RSC_028=XML documents must be encoded in UTF-8, but %1%s was detected.
281+
RSC_028=XML documents must be encoded in UTF-8, but %1$s was detected.
282282
RSC_029=Data URL is not allowed in this context.
283283
RSC_030=File URLs are not allowed in EPUB, but found "%1$s".
284284
RSC_031=Remote resource references should use HTTPS, but found "%1$s".

src/main/resources/com/adobe/epubcheck/messages/MessageBundle_pt_BR.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ CHK_008=Erro encontrado ao processar um item "%1$s"; pular outras verificações
2626
CSS_001=A propriedade "%1$s" não deve ser incluída na Folha de Estilos do EPUB.
2727
CSS_002=Referência vazia ou nula encontrada.
2828
CSS_003=CSS document is encoded in UTF-16. It should be encoded in UTF-8 instead.
29-
CSS_004=CSS documents must be encoded in UTF-8, detected %1%s;
29+
CSS_004=CSS documents must be encoded in UTF-8, detected %1$s;
3030
CSS_005=Conflicting alternate style tags found: %1$s.
3131
CSS_006=O seletor CSS especifica uma posição fixa.
3232
CSS_007=O arquivo indicado na regra font-face "%1$s" refere-se ao tipo não padronizado "%2$s".
@@ -278,7 +278,7 @@ RSC_024=Informative parsing warning: %1$s
278278
RSC_025=Informative parsing error: %1$s
279279
RSC_026=URL "%1$s" leaks outside the container (it is not a valid-relative-ocf-URL-with-fragment string)
280280
RSC_027=XML document is encoded in UTF-16. It should be encoded in UTF-8 instead.
281-
RSC_028=XML documents must be encoded in UTF-8, but %1%s was detected.
281+
RSC_028=XML documents must be encoded in UTF-8, but %1$s was detected.
282282
RSC_029=Data URL is not allowed in this context.
283283
RSC_030=File URLs are not allowed in EPUB, but found "%1$s".
284284
RSC_031=Remote resource references should use HTTPS, but found "%1$s".

src/main/resources/com/adobe/epubcheck/messages/MessageBundle_zh_TW.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ CHK_008=當在處理項目「%1$s」時遇到錯誤;跳過對該項目的其
2626
CSS_001="%1$s" 屬性不能包含在EPUB的樣式表中。
2727
CSS_002=發現空白或者NULL參照。
2828
CSS_003=CSS document is encoded in UTF-16. It should be encoded in UTF-8 instead.
29-
CSS_004=CSS documents must be encoded in UTF-8, detected %1%s;
29+
CSS_004=CSS documents must be encoded in UTF-8, detected %1$s;
3030
CSS_005=Conflicting alternate style tags found: %1$s.
3131
CSS_006=CSS 選擇器指定了固定位置選項
3232
CSS_007=Font-face 參照 %1$s 指定了非標準字型檔案類型 %2$s 。
@@ -278,7 +278,7 @@ RSC_024=Informative parsing warning: %1$s
278278
RSC_025=Informative parsing error: %1$s
279279
RSC_026=URL "%1$s" leaks outside the container (it is not a valid-relative-ocf-URL-with-fragment string)
280280
RSC_027=XML document is encoded in UTF-16. It should be encoded in UTF-8 instead.
281-
RSC_028=XML documents must be encoded in UTF-8, but %1%s was detected.
281+
RSC_028=XML documents must be encoded in UTF-8, but %1$s was detected.
282282
RSC_029=Data URL is not allowed in this context.
283283
RSC_030=File URLs are not allowed in EPUB, but found "%1$s".
284284
RSC_031=Remote resource references should use HTTPS, but found "%1$s".

0 commit comments

Comments
 (0)