mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-22 14:23:35 -07:00
Fix new-line in "Invalid category name" translation for Bulgarian
The translated text contained a new-line instead of the `\n` literal. This resulted in `/newcategory.html?action=create` rendering: ```js if (name.match("^([^\\\\\\/]|[^\\\\\\/]([^\\\\\\/]|\\/(?=[^\\/]))*[^\\\\\\/])$") === null) { alert("Невалидно име на категория: Моля не използвайте никакви специални символи в името на категорията."); return false; } ``` .. which resulted in the following error: > Uncaught SyntaxError: "" string literal contains an unescaped line break This made creating new categories via the web UI not possible when the Bulgarian translation was used.
This commit is contained in:
parent
53f919aea8
commit
bfe7bfb4c2
1 changed files with 1 additions and 2 deletions
|
@ -317,8 +317,7 @@
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>Invalid category name:\nPlease do not use any special characters in the category name.</source>
|
<source>Invalid category name:\nPlease do not use any special characters in the category name.</source>
|
||||||
<translation>Невалидно име на категория:
|
<translation>Невалидно име на категория:\nМоля не използвайте никакви специални символи в името на категорията.</translation>
|
||||||
Моля не използвайте никакви специални символи в името на категорията.</translation>
|
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>Unable to create category</source>
|
<source>Unable to create category</source>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue