diff --git a/_locales/ar/messages.json b/_locales/ar/messages.json
index d3b1fb74..f9c3e00d 100644
--- a/_locales/ar/messages.json
+++ b/_locales/ar/messages.json
@@ -73,7 +73,8 @@
},
"styleInstall": {
"message": "هل تريد تثبيت '$stylename$' في Stylish؟",
- "description": "Confirmation when installing a style"
+ "description": "Confirmation when installing a style",
+ "placeholders": {"stylename": {"content": "$1"}}
},
"manageText": {
"message": "انتقل إلى userstyles.org للحصول على أنماط معدة مسبقًا. يمكنك طرح سؤال في المنتدى إذا كنت بحاجة للمساعدة.",
@@ -129,11 +130,13 @@
},
"appliesDisplay": {
"message": "ينطبق على: $applies$",
- "description": "Text on the manage screen to describe what the style applies to"
+ "description": "Text on the manage screen to describe what the style applies to",
+ "placeholders": {"applies": {"content": "$1"}}
},
"styleUpdate": {
"message": "Are you sure you want to update '$stylename$'?",
- "description": "Confirmation when updating a style"
+ "description": "Confirmation when updating a style",
+ "placeholders": {"stylename": {"content": "$1"}}
},
"styleSectionsTitle": {
"message": "الأقسام",
@@ -141,7 +144,8 @@
},
"editStyleTitle": {
"message": "تعديل النمط $stylename$",
- "description": "Title of the page for editing styles"
+ "description": "Title of the page for editing styles",
+ "placeholders": {"stylename": {"content": "$1"}}
},
"updateCheckSucceededNoUpdate": {
"message": "النمط محدّث.",
@@ -189,7 +193,8 @@
},
"updateCheckFailBadResponseCode": {
"message": "أخفق التحديث - استجاب الخادم بالرمز $code$.",
- "description": "Text that displays when an update check failed because the response code indicates an error"
+ "description": "Text that displays when an update check failed because the response code indicates an error",
+ "placeholders": {"code": {"content": "$1"}}
},
"appliesSpecify": {
"message": "تحديد",
diff --git a/_locales/cs/messages.json b/_locales/cs/messages.json
index 7536b8ca..e0bfdfbd 100644
--- a/_locales/cs/messages.json
+++ b/_locales/cs/messages.json
@@ -73,7 +73,8 @@
},
"styleInstall": {
"message": "Nainstalovat '$stylename$' do Stylish?",
- "description": "Confirmation when installing a style"
+ "description": "Confirmation when installing a style",
+ "placeholders": {"stylename": {"content": "$1"}}
},
"manageText": {
"message": "Na userstyles.org najdete již vytvořené styly. Na fóru můžete požádat o pomoc.",
@@ -129,11 +130,13 @@
},
"appliesDisplay": {
"message": "Platí pro: $applies$",
- "description": "Text on the manage screen to describe what the style applies to"
+ "description": "Text on the manage screen to describe what the style applies to",
+ "placeholders": {"applies": {"content": "$1"}}
},
"styleUpdate": {
"message": "Určitě chcete aktualizovat '$stylename$'?",
- "description": "Confirmation when updating a style"
+ "description": "Confirmation when updating a style",
+ "placeholders": {"stylename": {"content": "$1"}}
},
"styleSectionsTitle": {
"message": "Sekce",
@@ -141,7 +144,8 @@
},
"editStyleTitle": {
"message": "Upravit Styl $stylename$",
- "description": "Title of the page for editing styles"
+ "description": "Title of the page for editing styles",
+ "placeholders": {"stylename": {"content": "$1"}}
},
"updateCheckSucceededNoUpdate": {
"message": "Styl je aktuální.",
@@ -189,7 +193,8 @@
},
"updateCheckFailBadResponseCode": {
"message": "Aktualizace selhala - server opověděl kódem $code$.",
- "description": "Text that displays when an update check failed because the response code indicates an error"
+ "description": "Text that displays when an update check failed because the response code indicates an error",
+ "placeholders": {"code": {"content": "$1"}}
},
"appliesSpecify": {
"message": "Specifikovat",
diff --git a/_locales/de/messages.json b/_locales/de/messages.json
index efc5e72a..f9904585 100644
--- a/_locales/de/messages.json
+++ b/_locales/de/messages.json
@@ -73,7 +73,8 @@
},
"styleInstall": {
"message": "\"$stylename$\" in Stylish installieren?",
- "description": "Confirmation when installing a style"
+ "description": "Confirmation when installing a style",
+ "placeholders": {"stylename": {"content": "$1"}}
},
"manageText": {
"message": "Besuchen Sie userstyles.org für weitere vorgefertigte Styles. Wenn Sie Hilfe benötigen, können Sie im Forum nachfragen.",
@@ -129,11 +130,13 @@
},
"appliesDisplay": {
"message": "Gilt für: $applies$",
- "description": "Text on the manage screen to describe what the style applies to"
+ "description": "Text on the manage screen to describe what the style applies to",
+ "placeholders": {"applies": {"content": "$1"}}
},
"styleUpdate": {
"message": "Möchten Sie '$stylename$' wirklich aktualisieren?",
- "description": "Confirmation when updating a style"
+ "description": "Confirmation when updating a style",
+ "placeholders": {"stylename": {"content": "$1"}}
},
"styleSectionsTitle": {
"message": "Bereiche",
@@ -141,7 +144,8 @@
},
"editStyleTitle": {
"message": "Style $stylename$ bearbeiten",
- "description": "Title of the page for editing styles"
+ "description": "Title of the page for editing styles",
+ "placeholders": {"stylename": {"content": "$1"}}
},
"updateCheckSucceededNoUpdate": {
"message": "Der Style ist auf dem aktuellsten Stand.",
@@ -189,7 +193,8 @@
},
"updateCheckFailBadResponseCode": {
"message": "Aktualisierung fehlgeschlagen - Server hat den Fehler $code$ ausgegeben.",
- "description": "Text that displays when an update check failed because the response code indicates an error"
+ "description": "Text that displays when an update check failed because the response code indicates an error",
+ "placeholders": {"code": {"content": "$1"}}
},
"appliesSpecify": {
"message": "Angeben",
diff --git a/_locales/el/messages.json b/_locales/el/messages.json
index 342dc907..96724f72 100644
--- a/_locales/el/messages.json
+++ b/_locales/el/messages.json
@@ -73,7 +73,8 @@
},
"styleInstall": {
"message": "Εγκατάσταση του '$stylename$' στο Stylish;",
- "description": "Confirmation when installing a style"
+ "description": "Confirmation when installing a style",
+ "placeholders": {"stylename": {"content": "$1"}}
},
"manageText": {
"message": "Επισκεφθείτε userstyles.org για προ-made στυλ. Ρωτήστε στο η forum αν χρειάζεστε βοήθεια.",
@@ -129,11 +130,13 @@
},
"appliesDisplay": {
"message": "Ισχύει για: $applies$",
- "description": "Text on the manage screen to describe what the style applies to"
+ "description": "Text on the manage screen to describe what the style applies to",
+ "placeholders": {"applies": {"content": "$1"}}
},
"styleUpdate": {
"message": "Είστε σίγουροι ότι θέλετε να ενημερώσετε το '$stylename$';",
- "description": "Confirmation when updating a style"
+ "description": "Confirmation when updating a style",
+ "placeholders": {"stylename": {"content": "$1"}}
},
"styleSectionsTitle": {
"message": "Ενότητες",
@@ -141,7 +144,8 @@
},
"editStyleTitle": {
"message": "Επεξεργασία του στυλ $stylename$",
- "description": "Title of the page for editing styles"
+ "description": "Title of the page for editing styles",
+ "placeholders": {"stylename": {"content": "$1"}}
},
"updateCheckSucceededNoUpdate": {
"message": "Το στυλ είναι ενημερωμένο.",
@@ -189,7 +193,8 @@
},
"updateCheckFailBadResponseCode": {
"message": "Αποτυχία ενημέρωσης - ο διακομιστής ανταποκρίθηκε με κωδικό $code$.",
- "description": "Text that displays when an update check failed because the response code indicates an error"
+ "description": "Text that displays when an update check failed because the response code indicates an error",
+ "placeholders": {"code": {"content": "$1"}}
},
"appliesSpecify": {
"message": "Καθορισμός",
diff --git a/_locales/es/messages.json b/_locales/es/messages.json
index 443d012e..19ef9d70 100644
--- a/_locales/es/messages.json
+++ b/_locales/es/messages.json
@@ -73,7 +73,8 @@
},
"styleInstall": {
"message": "¿Quieres instalar \"$stylename$\" en Stylish?",
- "description": "Confirmation when installing a style"
+ "description": "Confirmation when installing a style",
+ "placeholders": {"stylename": {"content": "$1"}}
},
"manageText": {
"message": "Accede a la página userstyles.org para consultar estilos desarrollados previamente. Plantea una pregunta en el foro si necesitas ayuda.",
@@ -129,11 +130,13 @@
},
"appliesDisplay": {
"message": "Se aplica a: $applies$",
- "description": "Text on the manage screen to describe what the style applies to"
+ "description": "Text on the manage screen to describe what the style applies to",
+ "placeholders": {"applies": {"content": "$1"}}
},
"styleUpdate": {
"message": "Are you sure you want to update '$stylename$'?",
- "description": "Confirmation when updating a style"
+ "description": "Confirmation when updating a style",
+ "placeholders": {"stylename": {"content": "$1"}}
},
"styleSectionsTitle": {
"message": "Secciones",
@@ -141,7 +144,8 @@
},
"editStyleTitle": {
"message": "Editar estilo $stylename$",
- "description": "Title of the page for editing styles"
+ "description": "Title of the page for editing styles",
+ "placeholders": {"stylename": {"content": "$1"}}
},
"updateCheckSucceededNoUpdate": {
"message": "El estilo está actualizado.",
@@ -189,7 +193,8 @@
},
"updateCheckFailBadResponseCode": {
"message": "Error de actualización: el servidor ha respondido con el código $code$.",
- "description": "Text that displays when an update check failed because the response code indicates an error"
+ "description": "Text that displays when an update check failed because the response code indicates an error",
+ "placeholders": {"code": {"content": "$1"}}
},
"appliesSpecify": {
"message": "Especificar",
diff --git a/_locales/fi/messages.json b/_locales/fi/messages.json
index fc4e4ed2..a346749b 100644
--- a/_locales/fi/messages.json
+++ b/_locales/fi/messages.json
@@ -73,7 +73,8 @@
},
"styleInstall": {
"message": "Asennetaanko '$stylename$' Stylishiin?",
- "description": "Confirmation when installing a style"
+ "description": "Confirmation when installing a style",
+ "placeholders": {"stylename": {"content": "$1"}}
},
"manageText": {
"message": "Käy osoitteessa userstyles.org saadaksesi valmiita tyylejä. Kysy foorumista jos tarvitset apua.",
@@ -129,11 +130,13 @@
},
"appliesDisplay": {
"message": "Kooskee: $applies$",
- "description": "Text on the manage screen to describe what the style applies to"
+ "description": "Text on the manage screen to describe what the style applies to",
+ "placeholders": {"applies": {"content": "$1"}}
},
"styleUpdate": {
"message": "Are you sure you want to update '$stylename$'?",
- "description": "Confirmation when updating a style"
+ "description": "Confirmation when updating a style",
+ "placeholders": {"stylename": {"content": "$1"}}
},
"styleSectionsTitle": {
"message": "Osiot",
@@ -141,7 +144,8 @@
},
"editStyleTitle": {
"message": "Muokkaa Tyyliä $stylename$",
- "description": "Title of the page for editing styles"
+ "description": "Title of the page for editing styles",
+ "placeholders": {"stylename": {"content": "$1"}}
},
"updateCheckSucceededNoUpdate": {
"message": "Tyyli on ajan tasalla.",
@@ -189,7 +193,8 @@
},
"updateCheckFailBadResponseCode": {
"message": "Päivitys epäonnistui - palvelin vastasi koodilla $code$.",
- "description": "Text that displays when an update check failed because the response code indicates an error"
+ "description": "Text that displays when an update check failed because the response code indicates an error",
+ "placeholders": {"code": {"content": "$1"}}
},
"appliesSpecify": {
"message": "Tarkenna",
diff --git a/_locales/fr/messages.json b/_locales/fr/messages.json
index 2ed516ac..2c20d765 100644
--- a/_locales/fr/messages.json
+++ b/_locales/fr/messages.json
@@ -73,7 +73,8 @@
},
"styleInstall": {
"message": "Installer \"$stylename$\" dans Stylish ?",
- "description": "Confirmation when installing a style"
+ "description": "Confirmation when installing a style",
+ "placeholders": {"stylename": {"content": "$1"}}
},
"manageText": {
"message": "Pour obtenir des styles prédéfinis, rendez-vous sur userstyles.org. Posez une question sur le forum si vous avez besoin d'aide.",
@@ -129,11 +130,13 @@
},
"appliesDisplay": {
"message": "S'applique à : $applies$",
- "description": "Text on the manage screen to describe what the style applies to"
+ "description": "Text on the manage screen to describe what the style applies to",
+ "placeholders": {"applies": {"content": "$1"}}
},
"styleUpdate": {
"message": "Are you sure you want to update '$stylename$'?",
- "description": "Confirmation when updating a style"
+ "description": "Confirmation when updating a style",
+ "placeholders": {"stylename": {"content": "$1"}}
},
"styleSectionsTitle": {
"message": "Sections",
@@ -141,7 +144,8 @@
},
"editStyleTitle": {
"message": "Modifier le style $stylename$",
- "description": "Title of the page for editing styles"
+ "description": "Title of the page for editing styles",
+ "placeholders": {"stylename": {"content": "$1"}}
},
"updateCheckSucceededNoUpdate": {
"message": "Le style est à jour.",
@@ -189,7 +193,8 @@
},
"updateCheckFailBadResponseCode": {
"message": "Échec de la mise à jour. Le serveur a renvoyé le $code$ $code$.",
- "description": "Text that displays when an update check failed because the response code indicates an error"
+ "description": "Text that displays when an update check failed because the response code indicates an error",
+ "placeholders": {"code": {"content": "$1"}}
},
"appliesSpecify": {
"message": "Préciser",
diff --git a/_locales/it/messages.json b/_locales/it/messages.json
index 9522fd16..57f271aa 100644
--- a/_locales/it/messages.json
+++ b/_locales/it/messages.json
@@ -73,7 +73,8 @@
},
"styleInstall": {
"message": "Installare \"$stylename$\" in Stylish?",
- "description": "Confirmation when installing a style"
+ "description": "Confirmation when installing a style",
+ "placeholders": {"stylename": {"content": "$1"}}
},
"manageText": {
"message": "Visita il sito userstyles.org per trovare stili già pronti. Utilizza il forum se hai bisogno di aiuto.",
@@ -129,11 +130,13 @@
},
"appliesDisplay": {
"message": "Applica a: $applies$",
- "description": "Text on the manage screen to describe what the style applies to"
+ "description": "Text on the manage screen to describe what the style applies to",
+ "placeholders": {"applies": {"content": "$1"}}
},
"styleUpdate": {
"message": "Are you sure you want to update '$stylename$'?",
- "description": "Confirmation when updating a style"
+ "description": "Confirmation when updating a style",
+ "placeholders": {"stylename": {"content": "$1"}}
},
"styleSectionsTitle": {
"message": "Sezioni",
@@ -141,7 +144,8 @@
},
"editStyleTitle": {
"message": "Modifica dello stile $stylename$",
- "description": "Title of the page for editing styles"
+ "description": "Title of the page for editing styles",
+ "placeholders": {"stylename": {"content": "$1"}}
},
"updateCheckSucceededNoUpdate": {
"message": "Lo stile è aggiornato.",
@@ -189,7 +193,8 @@
},
"updateCheckFailBadResponseCode": {
"message": "Aggiornamento non riuscito - il server ha risposto con il codice $code$.",
- "description": "Text that displays when an update check failed because the response code indicates an error"
+ "description": "Text that displays when an update check failed because the response code indicates an error",
+ "placeholders": {"code": {"content": "$1"}}
},
"appliesSpecify": {
"message": "Specifica",
diff --git a/_locales/ja/messages.json b/_locales/ja/messages.json
index 08375015..83f43d28 100644
--- a/_locales/ja/messages.json
+++ b/_locales/ja/messages.json
@@ -73,7 +73,8 @@
},
"styleInstall": {
"message": "「$stylename$」を Stylish にインストールしますか?",
- "description": "Confirmation when installing a style"
+ "description": "Confirmation when installing a style",
+ "placeholders": {"stylename": {"content": "$1"}}
},
"manageText": {
"message": "既に作成済みのスタイルについては、userstyles.org をご覧ください。ご質問がある場合には、userstyles.org のフォーラムでお問い合わせください。",
@@ -129,11 +130,13 @@
},
"appliesDisplay": {
"message": "適用先: $applies$",
- "description": "Text on the manage screen to describe what the style applies to"
+ "description": "Text on the manage screen to describe what the style applies to",
+ "placeholders": {"applies": {"content": "$1"}}
},
"styleUpdate": {
"message": "Are you sure you want to update '$stylename$'?",
- "description": "Confirmation when updating a style"
+ "description": "Confirmation when updating a style",
+ "placeholders": {"stylename": {"content": "$1"}}
},
"styleSectionsTitle": {
"message": "セクション",
@@ -141,7 +144,8 @@
},
"editStyleTitle": {
"message": "スタイル「$stylename$」を編集",
- "description": "Title of the page for editing styles"
+ "description": "Title of the page for editing styles",
+ "placeholders": {"stylename": {"content": "$1"}}
},
"updateCheckSucceededNoUpdate": {
"message": "スタイルは最新の状態です。",
@@ -189,7 +193,8 @@
},
"updateCheckFailBadResponseCode": {
"message": "更新に失敗しました - サーバーが応答コード「$code$」を返しています。",
- "description": "Text that displays when an update check failed because the response code indicates an error"
+ "description": "Text that displays when an update check failed because the response code indicates an error",
+ "placeholders": {"code": {"content": "$1"}}
},
"appliesSpecify": {
"message": "個別指定",
diff --git a/_locales/nl/messages.json b/_locales/nl/messages.json
index 4469812e..12b03822 100644
--- a/_locales/nl/messages.json
+++ b/_locales/nl/messages.json
@@ -73,7 +73,8 @@
},
"styleInstall": {
"message": "'$stylename$' installeren in Stylish?",
- "description": "Confirmation when installing a style"
+ "description": "Confirmation when installing a style",
+ "placeholders": {"stylename": {"content": "$1"}}
},
"manageText": {
"message": "Bezoek userstyles.org voor gemaakte stijlen. Stel uw vraag op het forum als u hulp nodig heeft.",
@@ -129,11 +130,13 @@
},
"appliesDisplay": {
"message": "Toepasbaar op: $applies$",
- "description": "Text on the manage screen to describe what the style applies to"
+ "description": "Text on the manage screen to describe what the style applies to",
+ "placeholders": {"applies": {"content": "$1"}}
},
"styleUpdate": {
"message": "Weet u zeker dat u '$stylename$' wilt updaten?",
- "description": "Confirmation when updating a style"
+ "description": "Confirmation when updating a style",
+ "placeholders": {"stylename": {"content": "$1"}}
},
"styleSectionsTitle": {
"message": "Secties",
@@ -141,7 +144,8 @@
},
"editStyleTitle": {
"message": "Stijl $stylename$ bewerken",
- "description": "Title of the page for editing styles"
+ "description": "Title of the page for editing styles",
+ "placeholders": {"stylename": {"content": "$1"}}
},
"updateCheckSucceededNoUpdate": {
"message": "Stijl is up-to-date.",
@@ -189,7 +193,8 @@
},
"updateCheckFailBadResponseCode": {
"message": "Update mislukt - server gaf code $code$ als antwoord.",
- "description": "Text that displays when an update check failed because the response code indicates an error"
+ "description": "Text that displays when an update check failed because the response code indicates an error",
+ "placeholders": {"code": {"content": "$1"}}
},
"appliesSpecify": {
"message": "Specificeren",
diff --git a/_locales/pt_BR/messages.json b/_locales/pt_BR/messages.json
index 779709a9..e61cfe50 100644
--- a/_locales/pt_BR/messages.json
+++ b/_locales/pt_BR/messages.json
@@ -73,7 +73,8 @@
},
"styleInstall": {
"message": "Instalar \"$stylename$\" no Stylish?",
- "description": "Confirmation when installing a style"
+ "description": "Confirmation when installing a style",
+ "placeholders": {"stylename": {"content": "$1"}}
},
"manageText": {
"message": "Visite userstyles.org para obter estilos pré-fabricados. Se precisar de ajuda, peça no fórum.",
@@ -129,11 +130,13 @@
},
"appliesDisplay": {
"message": "Aplica-se a: $applies$",
- "description": "Text on the manage screen to describe what the style applies to"
+ "description": "Text on the manage screen to describe what the style applies to",
+ "placeholders": {"applies": {"content": "$1"}}
},
"styleUpdate": {
"message": "Are you sure you want to update '$stylename$'?",
- "description": "Confirmation when updating a style"
+ "description": "Confirmation when updating a style",
+ "placeholders": {"stylename": {"content": "$1"}}
},
"styleSectionsTitle": {
"message": "Seções",
@@ -141,7 +144,8 @@
},
"editStyleTitle": {
"message": "Editar estilo $stylename$",
- "description": "Title of the page for editing styles"
+ "description": "Title of the page for editing styles",
+ "placeholders": {"stylename": {"content": "$1"}}
},
"updateCheckSucceededNoUpdate": {
"message": "O estilo está atualizado.",
@@ -189,7 +193,8 @@
},
"updateCheckFailBadResponseCode": {
"message": "A atualização falhou - o servidor respondeu com código $code$.",
- "description": "Text that displays when an update check failed because the response code indicates an error"
+ "description": "Text that displays when an update check failed because the response code indicates an error",
+ "placeholders": {"code": {"content": "$1"}}
},
"appliesSpecify": {
"message": "Especificar",
diff --git a/_locales/ru/messages.json b/_locales/ru/messages.json
index 6555904a..b443ecf2 100644
--- a/_locales/ru/messages.json
+++ b/_locales/ru/messages.json
@@ -73,7 +73,8 @@
},
"styleInstall": {
"message": "Установить \"$stylename$\" в Stylish?",
- "description": "Confirmation when installing a style"
+ "description": "Confirmation when installing a style",
+ "placeholders": {"stylename": {"content": "$1"}}
},
"manageText": {
"message": "Готовые стили можно найти на странице userstyles.org. Если вам нужна помощь, задайте вопрос на форуме.",
@@ -129,11 +130,13 @@
},
"appliesDisplay": {
"message": "Применить к: $applies$",
- "description": "Text on the manage screen to describe what the style applies to"
+ "description": "Text on the manage screen to describe what the style applies to",
+ "placeholders": {"applies": {"content": "$1"}}
},
"styleUpdate": {
"message": "Подтвердите обновление стиля '$stylename$'.",
- "description": "Confirmation when updating a style"
+ "description": "Confirmation when updating a style",
+ "placeholders": {"stylename": {"content": "$1"}}
},
"styleSectionsTitle": {
"message": "Разделы",
@@ -141,7 +144,8 @@
},
"editStyleTitle": {
"message": "Изменение стиля \"$stylename$\"",
- "description": "Title of the page for editing styles"
+ "description": "Title of the page for editing styles",
+ "placeholders": {"stylename": {"content": "$1"}}
},
"updateCheckSucceededNoUpdate": {
"message": "Стиль обновлен.",
@@ -189,7 +193,8 @@
},
"updateCheckFailBadResponseCode": {
"message": "Ошибка обновления: сервер вернул код \"$code$\".",
- "description": "Text that displays when an update check failed because the response code indicates an error"
+ "description": "Text that displays when an update check failed because the response code indicates an error",
+ "placeholders": {"code": {"content": "$1"}}
},
"appliesSpecify": {
"message": "Указать",
diff --git a/_locales/sv/messages.json b/_locales/sv/messages.json
index ecb09072..a2460345 100644
--- a/_locales/sv/messages.json
+++ b/_locales/sv/messages.json
@@ -73,7 +73,8 @@
},
"styleInstall": {
"message": "Installera '$stylename$' in i Stylish?",
- "description": "Confirmation when installing a style"
+ "description": "Confirmation when installing a style",
+ "placeholders": {"stylename": {"content": "$1"}}
},
"manageText": {
"message": "Besök userstyles.org för färdiga stilar. Fråga i forumet om du behöver hjälp.",
@@ -129,11 +130,13 @@
},
"appliesDisplay": {
"message": "Gäller för: $applies$",
- "description": "Text on the manage screen to describe what the style applies to"
+ "description": "Text on the manage screen to describe what the style applies to",
+ "placeholders": {"applies": {"content": "$1"}}
},
"styleUpdate": {
"message": "Är du säker på att du vill uppdatera '$stylename$'?",
- "description": "Confirmation when updating a style"
+ "description": "Confirmation when updating a style",
+ "placeholders": {"stylename": {"content": "$1"}}
},
"styleSectionsTitle": {
"message": "Sektioner",
@@ -141,7 +144,8 @@
},
"editStyleTitle": {
"message": "Ändra i Stil $stylename$",
- "description": "Title of the page for editing styles"
+ "description": "Title of the page for editing styles",
+ "placeholders": {"stylename": {"content": "$1"}}
},
"updateCheckSucceededNoUpdate": {
"message": "Stilen är fullt uppdaterad.",
@@ -189,7 +193,8 @@
},
"updateCheckFailBadResponseCode": {
"message": "Uppdateringen misslyckades - servern svarade med kod $code$.",
- "description": "Text that displays when an update check failed because the response code indicates an error"
+ "description": "Text that displays when an update check failed because the response code indicates an error",
+ "placeholders": {"code": {"content": "$1"}}
},
"appliesSpecify": {
"message": "Specificera",
diff --git a/_locales/sv_SE/messages.json b/_locales/sv_SE/messages.json
index d03d9618..dabe7763 100644
--- a/_locales/sv_SE/messages.json
+++ b/_locales/sv_SE/messages.json
@@ -73,7 +73,8 @@
},
"styleInstall": {
"message": "Installera '$stylename$' in i Stylish?",
- "description": "Confirmation when installing a style"
+ "description": "Confirmation when installing a style",
+ "placeholders": {"stylename": {"content": "$1"}}
},
"manageText": {
"message": "Besök userstyles.org för färdiga stilar. Fråga i forumet om du behöver hjälp.",
@@ -129,11 +130,13 @@
},
"appliesDisplay": {
"message": "Gäller för: $applies$",
- "description": "Text on the manage screen to describe what the style applies to"
+ "description": "Text on the manage screen to describe what the style applies to",
+ "placeholders": {"applies": {"content": "$1"}}
},
"styleUpdate": {
"message": "Är du säker på att du vill uppdatera '$stylename$'?",
- "description": "Confirmation when updating a style"
+ "description": "Confirmation when updating a style",
+ "placeholders": {"stylename": {"content": "$1"}}
},
"styleSectionsTitle": {
"message": "Sektioner",
@@ -141,7 +144,8 @@
},
"editStyleTitle": {
"message": "Ändra i Stil $stylename$",
- "description": "Title of the page for editing styles"
+ "description": "Title of the page for editing styles",
+ "placeholders": {"stylename": {"content": "$1"}}
},
"updateCheckSucceededNoUpdate": {
"message": "Stilen är fullt uppdaterad.",
@@ -189,7 +193,8 @@
},
"updateCheckFailBadResponseCode": {
"message": "Uppdateringen misslyckades - servern svarade med kod $code$.",
- "description": "Text that displays when an update check failed because the response code indicates an error"
+ "description": "Text that displays when an update check failed because the response code indicates an error",
+ "placeholders": {"code": {"content": "$1"}}
},
"appliesSpecify": {
"message": "Specificera",
diff --git a/_locales/te/messages.json b/_locales/te/messages.json
index aadae345..574c4286 100644
--- a/_locales/te/messages.json
+++ b/_locales/te/messages.json
@@ -73,7 +73,8 @@
},
"styleInstall": {
"message": "Install '$stylename$' into Stylish?",
- "description": "Confirmation when installing a style"
+ "description": "Confirmation when installing a style",
+ "placeholders": {"stylename": {"content": "$1"}}
},
"manageText": {
"message": "Visit userstyles.org for pre-made styles. Ask in the forum if you need help.",
@@ -129,11 +130,13 @@
},
"appliesDisplay": {
"message": "వేటికి వర్తిస్తుంది; $applies$",
- "description": "Text on the manage screen to describe what the style applies to"
+ "description": "Text on the manage screen to describe what the style applies to",
+ "placeholders": {"applies": {"content": "$1"}}
},
"styleUpdate": {
"message": "Are you sure you want to update '$stylename$'?",
- "description": "Confirmation when updating a style"
+ "description": "Confirmation when updating a style",
+ "placeholders": {"stylename": {"content": "$1"}}
},
"styleSectionsTitle": {
"message": "విభాగాలు",
@@ -141,7 +144,8 @@
},
"editStyleTitle": {
"message": "Edit Style $stylename$",
- "description": "Title of the page for editing styles"
+ "description": "Title of the page for editing styles",
+ "placeholders": {"stylename": {"content": "$1"}}
},
"updateCheckSucceededNoUpdate": {
"message": "Style is up to date.",
@@ -189,7 +193,8 @@
},
"updateCheckFailBadResponseCode": {
"message": "Update failed - server responded with code $code$.",
- "description": "Text that displays when an update check failed because the response code indicates an error"
+ "description": "Text that displays when an update check failed because the response code indicates an error",
+ "placeholders": {"code": {"content": "$1"}}
},
"appliesSpecify": {
"message": "Specify",
diff --git a/_locales/tr/messages.json b/_locales/tr/messages.json
index b7bf1357..830fae31 100644
--- a/_locales/tr/messages.json
+++ b/_locales/tr/messages.json
@@ -73,7 +73,8 @@
},
"styleInstall": {
"message": "'$stylename$' Stylish'e yüklensin mi?",
- "description": "Confirmation when installing a style"
+ "description": "Confirmation when installing a style",
+ "placeholders": {"stylename": {"content": "$1"}}
},
"manageText": {
"message": "Önceden hazırlanmış stiller için userstyles.org sitesini ziyaret edin. Yardıma ihtiyacınız olursa sorunuzu forum'da yayınlayın.",
@@ -129,11 +130,13 @@
},
"appliesDisplay": {
"message": "Şuraya uygulanır: $applies$",
- "description": "Text on the manage screen to describe what the style applies to"
+ "description": "Text on the manage screen to describe what the style applies to",
+ "placeholders": {"applies": {"content": "$1"}}
},
"styleUpdate": {
"message": "Are you sure you want to update '$stylename$'?",
- "description": "Confirmation when updating a style"
+ "description": "Confirmation when updating a style",
+ "placeholders": {"stylename": {"content": "$1"}}
},
"styleSectionsTitle": {
"message": "Bölümler",
@@ -141,7 +144,8 @@
},
"editStyleTitle": {
"message": "$stylename$ Stilini Düzenleyin",
- "description": "Title of the page for editing styles"
+ "description": "Title of the page for editing styles",
+ "placeholders": {"stylename": {"content": "$1"}}
},
"updateCheckSucceededNoUpdate": {
"message": "Stil güncel.",
@@ -189,7 +193,8 @@
},
"updateCheckFailBadResponseCode": {
"message": "Güncellenemedi - sunucu yanıt olarak $code$ kodunu gönderdi.",
- "description": "Text that displays when an update check failed because the response code indicates an error"
+ "description": "Text that displays when an update check failed because the response code indicates an error",
+ "placeholders": {"code": {"content": "$1"}}
},
"appliesSpecify": {
"message": "Belirt",
diff --git a/_locales/zh/messages.json b/_locales/zh/messages.json
index 4a36f210..87d15d1e 100644
--- a/_locales/zh/messages.json
+++ b/_locales/zh/messages.json
@@ -73,7 +73,8 @@
},
"styleInstall": {
"message": "安装 '$stylename$' 到 Stylish?",
- "description": "Confirmation when installing a style"
+ "description": "Confirmation when installing a style",
+ "placeholders": {"stylename": {"content": "$1"}}
},
"manageText": {
"message": "访问 userstyles.org 查找预定义的样式. 如果您需要帮助,请访问 论坛.",
@@ -129,11 +130,13 @@
},
"appliesDisplay": {
"message": "应用到: $applies$",
- "description": "Text on the manage screen to describe what the style applies to"
+ "description": "Text on the manage screen to describe what the style applies to",
+ "placeholders": {"applies": {"content": "$1"}}
},
"styleUpdate": {
"message": "你確定要更新 '$stylename$' 嗎?",
- "description": "Confirmation when updating a style"
+ "description": "Confirmation when updating a style",
+ "placeholders": {"stylename": {"content": "$1"}}
},
"styleSectionsTitle": {
"message": "样式节",
@@ -141,7 +144,8 @@
},
"editStyleTitle": {
"message": "编辑样式 $stylename$",
- "description": "Title of the page for editing styles"
+ "description": "Title of the page for editing styles",
+ "placeholders": {"stylename": {"content": "$1"}}
},
"updateCheckSucceededNoUpdate": {
"message": "已经是最新的.",
@@ -189,7 +193,8 @@
},
"updateCheckFailBadResponseCode": {
"message": "更新失败 - 服务器了返回代码 $code$.",
- "description": "Text that displays when an update check failed because the response code indicates an error"
+ "description": "Text that displays when an update check failed because the response code indicates an error",
+ "placeholders": {"code": {"content": "$1"}}
},
"appliesSpecify": {
"message": "指定站点",
diff --git a/_locales/zh_CN/messages.json b/_locales/zh_CN/messages.json
index ec1fb1ff..9743d618 100644
--- a/_locales/zh_CN/messages.json
+++ b/_locales/zh_CN/messages.json
@@ -73,7 +73,8 @@
},
"styleInstall": {
"message": "要将“$stylename$”安装到 Stylish 中吗?",
- "description": "Confirmation when installing a style"
+ "description": "Confirmation when installing a style",
+ "placeholders": {"stylename": {"content": "$1"}}
},
"manageText": {
"message": "请访问 userstyles.org 以获取预制样式。如果您需要帮助,请到论坛发帖提问。",
@@ -129,11 +130,13 @@
},
"appliesDisplay": {
"message": "应用对象:$applies$",
- "description": "Text on the manage screen to describe what the style applies to"
+ "description": "Text on the manage screen to describe what the style applies to",
+ "placeholders": {"applies": {"content": "$1"}}
},
"styleUpdate": {
"message": "您确定要更新 '$stylename$'?",
- "description": "Confirmation when updating a style"
+ "description": "Confirmation when updating a style",
+ "placeholders": {"stylename": {"content": "$1"}}
},
"styleSectionsTitle": {
"message": "部分",
@@ -141,7 +144,8 @@
},
"editStyleTitle": {
"message": "修改样式“$stylename$”",
- "description": "Title of the page for editing styles"
+ "description": "Title of the page for editing styles",
+ "placeholders": {"stylename": {"content": "$1"}}
},
"updateCheckSucceededNoUpdate": {
"message": "样式已是最新版本。",
@@ -189,7 +193,8 @@
},
"updateCheckFailBadResponseCode": {
"message": "更新失败 - 服务器响应代码为 $code$。",
- "description": "Text that displays when an update check failed because the response code indicates an error"
+ "description": "Text that displays when an update check failed because the response code indicates an error",
+ "placeholders": {"code": {"content": "$1"}}
},
"appliesSpecify": {
"message": "指定",
diff --git a/_locales/zh_TW/messages.json b/_locales/zh_TW/messages.json
index dcb900b1..fe9f86e5 100644
--- a/_locales/zh_TW/messages.json
+++ b/_locales/zh_TW/messages.json
@@ -73,7 +73,8 @@
},
"styleInstall": {
"message": "安装 '$stylename$' 到 Stylish?",
- "description": "Confirmation when installing a style"
+ "description": "Confirmation when installing a style",
+ "placeholders": {"stylename": {"content": "$1"}}
},
"manageText": {
"message": "访问 userstyles.org 查找预定义的样式. 如果您需要帮助,请访问 论坛.",
@@ -129,11 +130,13 @@
},
"appliesDisplay": {
"message": "应用到: $applies$",
- "description": "Text on the manage screen to describe what the style applies to"
+ "description": "Text on the manage screen to describe what the style applies to",
+ "placeholders": {"applies": {"content": "$1"}}
},
"styleUpdate": {
"message": "Are you sure you want to update '$stylename$'?",
- "description": "Confirmation when updating a style"
+ "description": "Confirmation when updating a style",
+ "placeholders": {"stylename": {"content": "$1"}}
},
"styleSectionsTitle": {
"message": "样式节",
@@ -141,7 +144,8 @@
},
"editStyleTitle": {
"message": "编辑样式 $stylename$",
- "description": "Title of the page for editing styles"
+ "description": "Title of the page for editing styles",
+ "placeholders": {"stylename": {"content": "$1"}}
},
"updateCheckSucceededNoUpdate": {
"message": "已经是最新的.",
@@ -189,7 +193,8 @@
},
"updateCheckFailBadResponseCode": {
"message": "更新失败 - 服务器了返回代码 $code$.",
- "description": "Text that displays when an update check failed because the response code indicates an error"
+ "description": "Text that displays when an update check failed because the response code indicates an error",
+ "placeholders": {"code": {"content": "$1"}}
},
"appliesSpecify": {
"message": "指定站点",
diff --git a/background.js b/background.js
index 95b97b82..351948e4 100644
--- a/background.js
+++ b/background.js
@@ -188,7 +188,7 @@ function fixBoolean(b) {
return null;
}
-const namespacePattern = /^\s*(@namespace[^;]+;\s*)+$/;
+var namespacePattern = /^\s*(@namespace[^;]+;\s*)+$/;
function getApplicableSections(style, url) {
var sections = style.sections.filter(function(section) {
return sectionAppliesToUrl(section, url);
diff --git a/edit.js b/edit.js
index 39c6f0bf..62ea7f2a 100644
--- a/edit.js
+++ b/edit.js
@@ -607,7 +607,7 @@ function initHooks() {
}
function updateTitle() {
- const DIRTY_TITLE = "* $";
+ var DIRTY_TITLE = "* $";
var name = document.getElementById("name").savedValue;
var clean = isCleanGlobal();