Fix up localizations.

This commit is contained in:
Dianne Skoll
2025-12-08 15:23:54 -05:00
parent 3b485f0632
commit 3bae02f27d
7 changed files with 29 additions and 9 deletions

View File

@@ -62,9 +62,9 @@ install-stripped:
@echo "* *" @echo "* *"
@echo "**********************************" @echo "**********************************"
@echo "" @echo ""
@$(MAKE) -C src install-stripped @$(MAKE) -C src install-stripped DESTDIR=$(DESTDIR)
@$(MAKE) -C rem2html install @$(MAKE) -C rem2html install DESTDIR=$(DESTDIR)
@$(MAKE) -C rem2pdf -f Makefile.top install INSTALL_BASE=$(INSTALL_BASE) @$(MAKE) -C rem2pdf -f Makefile.top install INSTALL_BASE=$(INSTALL_BASE) DESTDIR=$(DESTDIR)
test: test-basic test-tz test: test-basic test-tz

View File

@@ -77,7 +77,4 @@ TRANSLATE "Aphelion" "Aphel"
TRANSLATE "Daylight Saving Time Starts" "Beginn Sommerzeit" TRANSLATE "Daylight Saving Time Starts" "Beginn Sommerzeit"
TRANSLATE "Daylight Saving Time Ends" "Ende Sommerzeit" TRANSLATE "Daylight Saving Time Ends" "Ende Sommerzeit"
TRANSLATE "Sunrise" "Sonnenaufgang"
TRANSLATE "Sunset" "Sonnenuntergang"
TRANSLATE "No reminders." "Keine Termine." TRANSLATE "No reminders." "Keine Termine."

View File

@@ -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" FSET - ordx(n) n + "e"
TRANSLATE "Sunrise" "Zonsopgang"
TRANSLATE "Sunset" "Zonsondergang"
TRANSLATE "No reminders." "Geen herinneringen." TRANSLATE "No reminders." "Geen herinneringen."
TRANSLATE "Daylight Saving Time Begins" "Daglicht-sparende tijd begint" TRANSLATE "Daylight Saving Time Begins" "Daglicht-sparende tijd begint"

View File

@@ -1,6 +1,11 @@
# Sunrise and sunset # Sunrise and sunset
# SPDX-License-Identifier: GPL-2.0-only # 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 IF !$CalMode && !$PsCal
REM NOQUEUE AT [sunrise()] MSG %"%"%(Sunrise) %! %2. REM NOQUEUE AT [sunrise()] MSG %"%"%(Sunrise) %! %2.
REM NOQUEUE AT [sunset()] MSG %"%"%(Sunset) %! %2. REM NOQUEUE AT [sunset()] MSG %"%"%(Sunset) %! %2.

View 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.

View File

@@ -0,0 +1,2 @@
TRANSLATE "Sunrise" "Sonnenaufgang"
TRANSLATE "Sunset" "Sonnenuntergang"

View File

@@ -0,0 +1,2 @@
TRANSLATE "Sunrise" "Zonsopgang"
TRANSLATE "Sunset" "Zonsondergang"