mirror of
https://salsa.debian.org/dskoll/remind.git
synced 2026-04-17 14:59:20 +02:00
Fix up localizations.
This commit is contained in:
@@ -77,7 +77,4 @@ TRANSLATE "Aphelion" "Aphel"
|
||||
TRANSLATE "Daylight Saving Time Starts" "Beginn Sommerzeit"
|
||||
TRANSLATE "Daylight Saving Time Ends" "Ende Sommerzeit"
|
||||
|
||||
TRANSLATE "Sunrise" "Sonnenaufgang"
|
||||
TRANSLATE "Sunset" "Sonnenuntergang"
|
||||
|
||||
TRANSLATE "No reminders." "Keine Termine."
|
||||
|
||||
@@ -65,9 +65,6 @@ FSET - subst_s(a, d, t) iif(day(d) == 1 || day(d) == 8, "e", day(d) < 20, "de",
|
||||
|
||||
FSET - ordx(n) n + "e"
|
||||
|
||||
TRANSLATE "Sunrise" "Zonsopgang"
|
||||
TRANSLATE "Sunset" "Zonsondergang"
|
||||
|
||||
TRANSLATE "No reminders." "Geen herinneringen."
|
||||
|
||||
TRANSLATE "Daylight Saving Time Begins" "Daglicht-sparende tijd begint"
|
||||
|
||||
@@ -1,6 +1,11 @@
|
||||
# Sunrise and sunset
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
# Localize if we can
|
||||
IF access($SysInclude + "/translations/" + _("LANGID") + "/sun.rem", "r") >= 0
|
||||
SYSINCLUDE translations/[_("LANGID")]/sun.rem
|
||||
ENDIF
|
||||
|
||||
IF !$CalMode && !$PsCal
|
||||
REM NOQUEUE AT [sunrise()] MSG %"%"%(Sunrise) %! %2.
|
||||
REM NOQUEUE AT [sunset()] MSG %"%"%(Sunset) %! %2.
|
||||
|
||||
17
include/translations/README.txt
Normal file
17
include/translations/README.txt
Normal file
@@ -0,0 +1,17 @@
|
||||
The files here contain additional translations for various files
|
||||
distributed with Remind.
|
||||
|
||||
If you create a file in $SysInclude whose name is "myfile.rem", then
|
||||
you can enable translation by putting this at the top of your
|
||||
file:
|
||||
|
||||
#===================================================================
|
||||
# Localize if we can
|
||||
IF access($SysInclude + "/translations/" + _("LANGID") + "/myfile.rem", "r") >= 0
|
||||
SYSINCLUDE translations/[_("LANGID")]/myfile.rem
|
||||
ENDIF
|
||||
#===================================================================
|
||||
|
||||
Then you can localize your file by putting appropriate TRANSLATION directives
|
||||
in the file $SysInclude/translations/<LC>/myfile.rem where <LC> is the
|
||||
two-character language code.
|
||||
2
include/translations/de/sun.rem
Normal file
2
include/translations/de/sun.rem
Normal file
@@ -0,0 +1,2 @@
|
||||
TRANSLATE "Sunrise" "Sonnenaufgang"
|
||||
TRANSLATE "Sunset" "Sonnenuntergang"
|
||||
2
include/translations/nl/sun.rem
Normal file
2
include/translations/nl/sun.rem
Normal file
@@ -0,0 +1,2 @@
|
||||
TRANSLATE "Sunrise" "Zonsopgang"
|
||||
TRANSLATE "Sunset" "Zonsondergang"
|
||||
Reference in New Issue
Block a user