Skip to content

Commit

Permalink
Fixed issue with missing positional arguments in localized strings
Browse files Browse the repository at this point in the history
  • Loading branch information
Waboodoo committed Mar 28, 2022
1 parent 615a2a8 commit 58b858a
Show file tree
Hide file tree
Showing 10 changed files with 20 additions and 20 deletions.
4 changes: 2 additions & 2 deletions HTTPShortcuts/app/src/main/res/values-de/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1582,8 +1582,8 @@ Du kannst dieses Feature aktivieren indem du beim Bearbeiten eines Shortcuts die
<string name="action_type_wake_on_lan">"Wake-on-LAN"</string>

<!-- Error message: Shown when a JS error occurs. %d is a placeholder for the line number, %s is a placeholder for the more detailed error message. -->
<string name="error_js_pattern_with_line_number">"JavaScript-Fehler (auf Zeile %d):
%s"</string>
<string name="error_js_pattern_with_line_number">"JavaScript-Fehler (auf Zeile %1$d):
%2$s"</string>

<!-- label, shown in variable editor for Select Input variable, to allow the user to specify a separator when using multi-select -->
<string name="label_select_variable_separator">"Trennzeichen"</string>
Expand Down
4 changes: 2 additions & 2 deletions HTTPShortcuts/app/src/main/res/values-fr/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1302,8 +1302,8 @@ Voir la documentation dans la section variable pour plus d'informations."</strin
<string name="action_place_category">"Placer sur l'écran d'accueil"</string>

<!-- Error message: Shown when a JS error occurs. %d is a placeholder for the line number, %s is a placeholder for the more detailed error message. -->
<string name="error_js_pattern_with_line_number">"Erreur JavaScript (à la ligne %d) :
%s"</string>
<string name="error_js_pattern_with_line_number">"Erreur JavaScript (à la ligne %1$d) :
%2$s"</string>

<!-- label, shown in variable editor for Select Input variable, to allow the user to specify a separator when using multi-select -->
<string name="label_select_variable_separator">"Séparateur"</string>
Expand Down
4 changes: 2 additions & 2 deletions HTTPShortcuts/app/src/main/res/values-in/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1446,8 +1446,8 @@ Untuk menggunakan fitur ini setidaknya Anda memiliki satu pintasan yang mengguna
<string name="action_type_wake_on_lan">"Wake-on-LAN"</string>

<!-- Error message: Shown when a JS error occurs. %d is a placeholder for the line number, %s is a placeholder for the more detailed error message. -->
<string name="error_js_pattern_with_line_number">"Kesalahan JavaScript (di baris %d):
%s"</string>
<string name="error_js_pattern_with_line_number">"Kesalahan JavaScript (di baris %1$d):
%2$s"</string>

<!-- label, shown in variable editor for Select Input variable, to allow the user to specify a separator when using multi-select -->
<string name="label_select_variable_separator">"Pemisah"</string>
Expand Down
4 changes: 2 additions & 2 deletions HTTPShortcuts/app/src/main/res/values-it/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1591,8 +1591,8 @@ Puoi abilitare questa funzione modificando un collegamento e selezionando la cas
<string name="action_type_wake_on_lan">"Wake-on-LAN"</string>

<!-- Error message: Shown when a JS error occurs. %d is a placeholder for the line number, %s is a placeholder for the more detailed error message. -->
<string name="error_js_pattern_with_line_number">"Errore JavaScript (alla linea %d):
%s"</string>
<string name="error_js_pattern_with_line_number">"Errore JavaScript (alla linea %1$d):
%2$s"</string>

<!-- label, shown in variable editor for Select Input variable, to allow the user to specify a separator when using multi-select -->
<string name="label_select_variable_separator">"Separatore"</string>
Expand Down
4 changes: 2 additions & 2 deletions HTTPShortcuts/app/src/main/res/values-ja/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1572,8 +1572,8 @@
<string name="action_type_wake_on_lan">"Wake-on-LAN"</string>

<!-- Error message: Shown when a JS error occurs. %d is a placeholder for the line number, %s is a placeholder for the more detailed error message. -->
<string name="error_js_pattern_with_line_number">"JavaScript エラー (ライン行: %d):
%s"</string>
<string name="error_js_pattern_with_line_number">"JavaScript エラー (ライン行: %1$d):
%2$s"</string>

<!-- label, shown in variable editor for Select Input variable, to allow the user to specify a separator when using multi-select -->
<string name="label_select_variable_separator">"区切りセパレーター"</string>
Expand Down
4 changes: 2 additions & 2 deletions HTTPShortcuts/app/src/main/res/values-pl/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1618,8 +1618,8 @@ Możesz włączyć tę funkcję, edytując skrót i zaznaczając pole wyboru \"%
<string name="action_type_wake_on_lan">"Wake-on-LAN"</string>

<!-- Error message: Shown when a JS error occurs. %d is a placeholder for the line number, %s is a placeholder for the more detailed error message. -->
<string name="error_js_pattern_with_line_number">"Błąd JavaScript (linia %d):
%s"</string>
<string name="error_js_pattern_with_line_number">"Błąd JavaScript (linia %1$d):
%2$s"</string>

<!-- Checkbox value, shown in variable editor for Select variables, allows to enable multi select -->
<string name="label_select_variable_multi_select">"Zezwalaj na wybór wielu opcji"</string>
Expand Down
4 changes: 2 additions & 2 deletions HTTPShortcuts/app/src/main/res/values-ru/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1532,8 +1532,8 @@
Wake-on-LAN"</string>

<!-- Error message: Shown when a JS error occurs. %d is a placeholder for the line number, %s is a placeholder for the more detailed error message. -->
<string name="error_js_pattern_with_line_number">"Ошибка JavaScript (в строке %d):
%s"</string>
<string name="error_js_pattern_with_line_number">"Ошибка JavaScript (в строке %1$d):
%2$s"</string>

<!-- label, shown in variable editor for Select Input variable, to allow the user to specify a separator when using multi-select -->
<string name="label_select_variable_separator">"Разделитель"</string>
Expand Down
4 changes: 2 additions & 2 deletions HTTPShortcuts/app/src/main/res/values-tr/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1583,8 +1583,8 @@ Bu özelliği, bir kısayolu düzenleyerek ve \"%2$s\" içinde bulunan \"%1$s\"
<string name="action_type_wake_on_lan">"Wake-on-LAN"</string>

<!-- Error message: Shown when a JS error occurs. %d is a placeholder for the line number, %s is a placeholder for the more detailed error message. -->
<string name="error_js_pattern_with_line_number">"JavaScript hatası (%d. satır):
%s"</string>
<string name="error_js_pattern_with_line_number">"JavaScript hatası (%1$d. satır):
%2$s"</string>

<!-- label, shown in variable editor for Select Input variable, to allow the user to specify a separator when using multi-select -->
<string name="label_select_variable_separator">"Ayırıcı"</string>
Expand Down
4 changes: 2 additions & 2 deletions HTTPShortcuts/app/src/main/res/values-zh-rCN/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1578,8 +1578,8 @@
<string name="action_type_wake_on_lan">"网络唤醒"</string>

<!-- Error message: Shown when a JS error occurs. %d is a placeholder for the line number, %s is a placeholder for the more detailed error message. -->
<string name="error_js_pattern_with_line_number">"JavaScript错误(在第%d行):
%s"</string>
<string name="error_js_pattern_with_line_number">"JavaScript错误(在第%1$d行):
%2$s"</string>

<!-- label, shown in variable editor for Select Input variable, to allow the user to specify a separator when using multi-select -->
<string name="label_select_variable_separator">"分隔符"</string>
Expand Down
4 changes: 2 additions & 2 deletions HTTPShortcuts/app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -828,8 +828,8 @@
<string name="dialog_title_error">Error</string>
<!-- Error message: Shown when a JS error occurs. %s is a placeholder for the more detailed error message. -->
<string name="error_js_pattern">JavaScript error:\n%s</string>
<!-- Error message: Shown when a JS error occurs. %d is a placeholder for the line number, %s is a placeholder for the more detailed error message. -->
<string name="error_js_pattern_with_line_number">JavaScript error (at line %d):\n%s</string>
<!-- Error message: Shown when a JS error occurs. %1$d is a placeholder for the line number, %2$s is a placeholder for the more detailed error message. -->
<string name="error_js_pattern_with_line_number">JavaScript error (at line %1$d):\n%2$s</string>
<!-- Error message: Shown when a script tries to read from a variable that does not exist. %s is a placeholder for the name of the variable. -->
<string name="error_variable_not_found_read">Variable error: tried to get value of variable that doesn\'t exist: %s</string>
<!-- Error message: Shown when a script tries to write to a variable that does not exist. %s is a placeholder for the name of the variable. -->
Expand Down

0 comments on commit 58b858a

Please sign in to comment.