Clean up newline confusion in strings

master
Wuzzy 2019-03-16 08:13:31 +01:00
parent b3905dc9f2
commit e993d5ed0d
3 changed files with 52 additions and 46 deletions

View File

@ -732,7 +732,8 @@ function doc.formspec_error_no_categories()
formstring = formstring ..
minetest.formspec_escape(
colorize(COLOR_ERROR, S("Error: No help available.")) .. "\n\n" ..
S("No categories have been registered, but they are required to provide help.\nThe Documentation System [doc] does not come with help contents on its own, it needs additional mods to add help content. Please make sure such mods are enabled on for this world, and try again.")) .. "\n\n" ..
S("No categories have been registered, but they are required to provide help.").."\n"..
S("The Documentation System [doc] does not come with help contents on its own, it needs additional mods to add help content. Please make sure such mods are enabled on for this world, and try again.")) .. "\n\n" ..
S("Recommended mods: doc_basics, doc_items, doc_identifier, doc_encyclopedia.")
formstring = formstring .. ";]button_exit[3,5;2,1;okay;"..F("OK").."]"
return formstring
@ -867,7 +868,7 @@ function doc.formspec_category(id, playername)
if total >= 1 then
local revealed = doc.get_revealed_count(playername, id)
if revealed == 0 then
formstring = formstring .. "label[0,0.5;"..F("Currently all entries in this category are hidden from you.\nUnlock new entries by progressing in the game.").."]"
formstring = formstring .. "label[0,0.5;"..minetest.formspec_escape(S("Currently all entries in this category are hidden from you.").."\n"..S("Unlock new entries by progressing in the game.")).."]"
formstring = formstring .. "button[0,1.5;3,1;doc_button_goto_main;"..F("Go to category list").."]"
else
formstring = formstring .. "label[0,0.5;"..F("This category has the following entries:").."]"

View File

@ -7,7 +7,8 @@ All help entries revealed!=Alle Hilfseinträge aufgedeckt!
All help entries are already revealed.=Alle Hilfseinträge sind schon aufgedeckt.
Allows you to reveal all hidden help entries with /help_reveal=Ermöglicht es Ihnen, alle verborgenen Hilfseinträge mit /help_reveal freizuschalten
Category list=Kategorienliste
Currently all entries in this category are hidden from you.\nUnlock new entries by progressing in the game.=Momentan sind alle Einträge in dieser Kategorie vor Ihnen verborgen.\nSchalten Sie neue Einträge frei, indem Sie im Spiel fortschreiten.
Currently all entries in this category are hidden from you.=Momentan sind alle Einträge in dieser Kategorie vor Ihnen verborgen.
Unlock new entries by progressing in the game.=Schalten Sie neue Einträge frei, indem Sie im Spiel fortschreiten.
Help=Hilfe
Entry=Eintrag
Entry list=Eintragsliste
@ -22,7 +23,8 @@ Help > @1 > (No Entry)=Hilfe > @1 > (Kein Eintrag)
Hidden entries: @1=Verborgene Einträge: @1
New entries: @1=Neue Einträge: @1
New help entry unlocked: @1 > @2=Neuen Hilfseintrag freigeschaltet: @1 > @2
No categories have been registered, but they are required to provide help.\nThe Documentation System [doc] does not come with help contents on its own, it needs additional mods to add help content. Please make sure such mods are enabled on for this world, and try again.=Es wurden keine Kategorien registriert, aber sie werden benötigt, um die Hilfe anbieten zu können.\nDas Dokumentationssystem [doc] bringt von sich aus keine eigenen Hilfsinhalte mit, es benötigt zusätzliche Mods, um sie hinzuzufügen. Bitte stellen Sie sicher, dass solche Mods für diese Welt aktiviert sind und versuchen Sie es erneut.
No categories have been registered, but they are required to provide help.=Es wurden keine Kategorien registriert, aber sie werden benötigt, um die Hilfe anbieten zu können.
The Documentation System [doc] does not come with help contents on its own, it needs additional mods to add help content. Please make sure such mods are enabled on for this world, and try again.=Das Dokumentationssystem [doc] bringt von sich aus keine eigenen Hilfsinhalte mit, es benötigt zusätzliche Mods, um sie hinzuzufügen. Bitte stellen Sie sicher, dass solche Mods für diese Welt aktiviert sind und versuchen Sie es erneut.
Number of entries: @1=Anzahl der Einträge: @1
OK=OK
Open a window providing help entries about Minetest and more=Ein Fenster mit Hilfseinträgen über Minetest und mehr öffnen

View File

@ -1,42 +1,45 @@
< =
> =
Access to the requested entry has been denied; this entry is secret. You may unlock access by progressing in the game. Figure out on your own how to unlock this entry. =
All entries read. =
All help entries revealed! =
All help entries are already revealed. =
Allows you to reveal all hidden help entries with /help_reveal =
Category list =
Currently all entries in this category are hidden from you.\\nUnlock new entries by progressing in the game. =
Help =
Entry =
Entry list =
Error: Access denied. =
Error: No help available. =
Go to category list =
Go to entry list =
Help > @1 =
Help > @1 > @2 =
Help > @1 > (No Entry) =
Help > (No Category) =
Hidden entries: @1 =
Nameless entry (@1) =
New entries: @1 =
New help entry unlocked: @1 > @2 =
No categories have been registered, but they are required to provide help.\nThe Documentation System [doc] does not come with help contents on its own, it needs additional mods to add help content. Please make sure such mods are enabled on for this world, and try again. =
Number of entries: @1 =
OK =
Open a window providing help entries about Minetest and more =
Please select a category you wish to learn more about: =
Recommended mods: doc_basics, doc_items, doc_identifier, doc_encyclopedia. =
Reveal all hidden help entries to you =
Show entry =
Show category =
Show next entry =
Show previous entry =
This category does not have any entries. =
This category has the following entries: =
This category is empty. =
This is the help. =
You haven't chosen a category yet. Please choose one in the category list first. =
You haven't chosen an entry yet. Please choose one in the entry list first. =
Collection of help texts =
# textdomain:doc
<=
>=
Access to the requested entry has been denied; this entry is secret. You may unlock access by progressing in the game. Figure out on your own how to unlock this entry.=
All entries read.=
All help entries revealed!=
All help entries are already revealed.=
Allows you to reveal all hidden help entries with /help_reveal=
Category list=
Currently all entries in this category are hidden from you.
Unlock new entries by progressing in the game.=
Help=
Entry=
Entry list=
Error: Access denied.=
Error: No help available.=
Go to category list=
Go to entry list=
Help > @1=
Help > @1 > @2=
Help > @1 > (No Entry)=
Help > (No Category)=
Hidden entries: @1=
Nameless entry (@1)=
New entries: @1=
New help entry unlocked: @1 > @2=
No categories have been registered, but they are required to provide help.=
The Documentation System [doc] does not come with help contents on its own, it needs additional mods to add help content. Please make sure such mods are enabled on for this world, and try again.=
Number of entries: @1=
OK=
Open a window providing help entries about Minetest and more=
Please select a category you wish to learn more about:=
Recommended mods: doc_basics, doc_items, doc_identifier, doc_encyclopedia.=
Reveal all hidden help entries to you=
Show entry=
Show category=
Show next entry=
Show previous entry=
This category does not have any entries.=
This category has the following entries:=
This category is empty.=
This is the help.=
You haven't chosen a category yet. Please choose one in the category list first.=
You haven't chosen an entry yet. Please choose one in the entry list first.=
Collection of help texts=