From 6ff663847644222d392e1721ae0ad7106f2c413e Mon Sep 17 00:00:00 2001 From: Dirk Sohler Date: Thu, 27 Jul 2017 21:26:43 +0200 Subject: [PATCH] i18n of the default settings --- description.txt | 2 -- settingtypes.txt | 8 ++++---- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/description.txt b/description.txt index 70b2c43..6dd3f4a 100644 --- a/description.txt +++ b/description.txt @@ -3,5 +3,3 @@ Creates a timer section on the bottom right of the screen. The timer allows to show several game related times and dates. Let's play creators can show their viewers when the recording was made, how long the recording was, the current time while recording, and the ingame time. The timer output is configurable in the advanced configuration of Minetest and provides the user with a set of variables to use and allows the date/time to be formatted as the user wants. - -The creator of this mod is German so the default values are set up in a way to support the German language. Since it can be configured as wanted this can be changed. diff --git a/settingtypes.txt b/settingtypes.txt index 63675b8..c18d39f 100644 --- a/settingtypes.txt +++ b/settingtypes.txt @@ -12,7 +12,7 @@ mtimer_update_interval (Seconds between updates) int 30 # +r = Runtime of the current session # +i = Current ingame time in 24h format # +n = Following output will be in a new line -mtimer_output_format (Output string formatting) string Aufnahmesitzung vom +s+nAktuelle Uhrzeit: +c+nSpieldauer: +r, Ingame-Zeit: +i +mtimer_output_format (Output string formatting) string Session from +s+nCurrent time: +c+nPlaytime: +r, Ingame time: +i # A placeholder text that is shown before the timer # function gets executed the first time @@ -34,7 +34,7 @@ mtimer_font_color (Font color for the timer text) string babdb6 # Time when the current session was started. The session # is based on when the user connected to the world. The # format is this: https://www.lua.org/pil/22.1.html -mtimer_session_start ([+s] Session start time) string %d. %B %Y, %H:%M Uhr +mtimer_session_start ([+s] Session start time) string %c # A hours:minutes timer that allows tracking of the # current play time. The timer breaks if game time @@ -48,7 +48,7 @@ mtimer_session_runtime ([+r] Session runtime) string +h:+m # The current real-world time according to what the OS # provides. Formatting this string is quite easy by using # those tags: https://www.lua.org/pil/22.1.html -mtimer_current_time ([+c] Current time) string %d. %B %Y, %H:%M Uhr +mtimer_current_time ([+c] Current time) string %c # Ingame time in 24 hours format that was converted # the provided decimal number and might not be 100 @@ -61,7 +61,7 @@ mtimer_ingame_time ([+i] Ingame time) string +h:+m Uhr # Locale that will be used for the time formatting. The # locale has to be provided by your system. On Linux see # command `locale` for valid locales to use. -mtimer_locale (Format output locale) string de_DE.utf8 +mtimer_locale (Format output locale) string C [Positioning]