From f498c39d06821964e2cbb750f8e4ba6696e7f9c6 Mon Sep 17 00:00:00 2001 From: Dirk Sohler Date: Sat, 16 Mar 2019 23:41:27 +0100 Subject: [PATCH] Go through translation strings See https://gitlab.com/4w/mtimer/issues/8 --- locale/mtimer.de.tr | 84 ++++++++++++------------- system/formspec/formspec_creation.lua | 6 +- system/formspec/real_time_universal.lua | 2 +- 3 files changed, 43 insertions(+), 49 deletions(-) diff --git a/locale/mtimer.de.tr b/locale/mtimer.de.tr index fb218ad..82706c5 100644 --- a/locale/mtimer.de.tr +++ b/locale/mtimer.de.tr @@ -1,81 +1,75 @@ # textdomain: mtimer -# mTimer configuration section names -mTimer Configuration=mTimer-Konfiguration -Visibility=Sichtbarkeit -Position=Position +# mTimer Configuration Names Color=Farbe -Timezone Offset=Zeitzonenunterschied Ingame Time Format=Spielzeit-Format -Real-World Time Format=Realzeit-Format -Session Start Time Format=Sitzungsstartzeit-Format -Session Duration Format=Sitzungsdauer-Format -Timer Format=Timerformat -Reset Everything=Alles zurücksetzen Open Main Menu=Hauptmenü öffnen +Position=Ausrichtung +Real-World Time Format=Realzeit-Format +Reset Everything=Alles zurücksetzen +Session Duration Format=Sitzungsdauer-Format +Session Start Time Format=Sitzungsstartzeit-Format +Timer Format=Timerformat +Timezone Offset=Zeitzonenunterschied +Visibility=Sichtbarkeit +mTimer Configuration=mTimer-Konfiguration # Main Menu -Visuals=Aussehen Time Representation=Zeit-Repräsentation Timer Configuration=Timerkonfiguration +Visuals=Aussehen -# Visibility -Visible=Sichtbar +# Settings Invisible=Unsichtbar +Visible=Sichtbar -# Positioning -Click the position you want to place the timer at.=Auf die Stelle klicken, an der der Timer angezeigt werden soll. - -# Color -Use `@1` format only!=Ausschließlich `@1`-Format benutzen! - -# Timezone Offset +# Information & Warnings 30 minutes @= 0.5, 60 minutes @= 1=30 Minuten @= 0.5, 60 Minuten @= 1 +Click the position you want to place the timer at.=Auf die Stelle klicken, an der der Timer angezeigt werden soll. +Use `@1` format only!=Ausschließlich `@1`-Format benutzen! “Arbitrary” values are possible.=Es sind „beliebige“ Werte möglich. -Server Time: @1=Serverzeit: @1 -Local Time: @1=Lokale Zeit: @1 -# Ingame Time Format -Ingame Timestamp=Spielzeitstempel - -# Real time format strings (universal formspec) -Variable=Variable -Current value=Aktueller Wert -Hours (24h)=24-Stunden-Stunde -Hours (12h)=12-Stunden-Stunde -Minutes=Minuten -Seconds=Sekunden -Day Name=Tagesname -Month Name=Monatsname -Year=Jahr -Month=Monat -Day=Tag +# Named Times ISO 8601 Date=Datum nach ISO 8601 ISO 8601 Time=Zeit nach ISO 8601 +Ingame Timestamp=Spielzeitstempel +Local Time: @1=Lokale Zeit: @1 +Server Time: @1=Serverzeit: @1 Timestamp=Zeitstempel -Current Result=Aktuelles Ergebnis -# Session Duration Format +# Named Time Parts +Day Name=Tagesname +Day=Tag Days=Tage +Hours (12h)=12-Stunden-Stunde +Hours (24h)=24-Stunden-Stunde Hours=Stunden +Minutes=Minuten +Month Name=Monatsname +Month=Monat +Seconds=Sekunden +Year=Jahr -# Timer Format -Real-World Date=Realzeit/-datum +# Timer Format Variables In-Game Time=Spielzeit -Session Start Time=Sitzungs-Startzeit +Real-World Date=Reale Zeit Session Duration=Sitzungsdauer +Session Start Time=Sitzungsstart-Zeit -# Timer default format +# Default Timer Format Current Date: @1=Aktuelles Datum: @1 Ingame Time: @1=Spielzeit: @1 -Session Start: @1=Sitzungsstart: @1 Session Duration: @1=Sitzungsdauer: @1 +Session Start: @1=Sitzungsstart: @1 # Generic Formspec Strings +Apply=Anwenden +Current Result=Aktuelles Ergebnis +Current Value=Aktueller Wert Default=Standard Exit=Verlassen Main Menu=Hauptmenü -Apply=Anwenden +Variable=Variable # Timer Weekdays Monday=Montag diff --git a/system/formspec/formspec_creation.lua b/system/formspec/formspec_creation.lua index 2caa49a..cd9b1a3 100644 --- a/system/formspec/formspec_creation.lua +++ b/system/formspec/formspec_creation.lua @@ -159,7 +159,7 @@ mtimer.dialog.ingame_time_format = function (player_name) 'field[0.3,0;+width,1;format;;'..fe(time_data.format)..']', 'container[0,0.65]', 'label[2.8,0;'..S('Variable')..']', - 'label[4.25,0;'..S('Current value')..']', + 'label[4.25,0;'..S('Current Value')..']', 'box[0,0.45;+linewidth,0.02;#ffffff]', 'label[0,0.5;'..S('Hours (24h)')..'] label[2.8,0.5;{24h}] label[4.25,0.5;'..time_data.hours_24..']', 'label[0,0.9;'..S('Hours (12h)')..'] label[2.8,0.9;{12h}] label[4.25,0.9;'..time_data.hours_12..']', @@ -205,7 +205,7 @@ mtimer.dialog.session_duration_format = function (player_name) 'field[0.3,0;+width,1;format;;'..fe(time_data.format)..']', 'container[0,0.65]', 'label[2.5,0;'..S('Variable')..']', - 'label[4,0;'..S('Current value')..']', + 'label[4,0;'..S('Current Value')..']', 'box[0,0.45;+linewidth,0.02;#ffffff]', 'label[0,0.5;'..S('Days')..'] label[2.5,0.5;{days}] label[4,0.5;'..time_data.days..']', 'label[0,0.9;'..S('Hours')..'] label[2.5,0.9;{hours}] label[4,0.9;'..time_data.hours..']', @@ -231,7 +231,7 @@ mtimer.dialog.timer_format = function (player_name) 'textarea[0.3,0;6,2.5;format;;'..fe(timer_data.format)..']', 'container[0,2.18]', 'label[2.5,0;'..S('Variable')..']', - 'label[4,0;'..S('Current value')..']', + 'label[4,0;'..S('Current Value')..']', 'box[0,0.45;+linewidth,0.02;#ffffff]', 'label[0,0.5;'..S('Real-World Date')..'] label[2.5,0.5;{rd}] label[4,0.5;'..fe(timer_data.real_world_date)..']', 'label[0,0.9;'..S('In-Game Time')..'] label[2.5,0.9;{it}] label[4,0.9;'..fe(timer_data.ingame_time)..']', diff --git a/system/formspec/real_time_universal.lua b/system/formspec/real_time_universal.lua index 01ad1be..d959d83 100644 --- a/system/formspec/real_time_universal.lua +++ b/system/formspec/real_time_universal.lua @@ -35,7 +35,7 @@ mtimer.dialog.real_time_universal = function (player_name, config) 'field[0.3,0;+width,1;format;;'..fe(time_data.format)..']', 'container[0,0.65]', 'label[2.8,0;'..S('Variable')..']', - 'label[4.6,0;'..S('Current value')..']', + 'label[4.6,0;'..S('Current Value')..']', 'box[0,0.45;+linewidth,0.02;#ffffff]', 'label[0,0.5;'..S('Hours (24h)')..'] label[2.8,0.5;{24h}] label[4.6,0.5;'..time_data.variables.hours_24..']', 'label[0,0.9;'..S('Hours (12h)')..'] label[2.8,0.9;{12h}] label[4.6,0.9;'..time_data.variables.hours_12..']',