mirror of
https://salsa.debian.org/dskoll/remind.git
synced 2026-04-17 14:59:20 +02:00
Convert files we ship to use %(foo) in place of [_("foo")]
This commit is contained in:
@@ -1,29 +1,29 @@
|
||||
REM 1 Feb 2022 MSG [_("Chinese New Year")] ([_("Tiger")])
|
||||
REM 22 Jan 2023 MSG [_("Chinese New Year")] ([_("Rabbit")])
|
||||
REM 10 Feb 2024 MSG [_("Chinese New Year")] ([_("Dragon")])
|
||||
REM 29 Jan 2025 MSG [_("Chinese New Year")] ([_("Snake")])
|
||||
REM 17 Feb 2026 MSG [_("Chinese New Year")] ([_("Horse")])
|
||||
REM 6 Feb 2027 MSG [_("Chinese New Year")] ([_("Goat")])
|
||||
REM 26 Jan 2028 MSG [_("Chinese New Year")] ([_("Monkey")])
|
||||
REM 13 Feb 2029 MSG [_("Chinese New Year")] ([_("Rooster")])
|
||||
REM 3 Feb 2030 MSG [_("Chinese New Year")] ([_("Dog")])
|
||||
REM 23 Jan 2031 MSG [_("Chinese New Year")] ([_("Pig")])
|
||||
REM 11 Feb 2032 MSG [_("Chinese New Year")] ([_("Rat")])
|
||||
REM 31 Jan 2033 MSG [_("Chinese New Year")] ([_("Ox")])
|
||||
REM 19 Feb 2034 MSG [_("Chinese New Year")] ([_("Tiger")])
|
||||
REM 8 Feb 2035 MSG [_("Chinese New Year")] ([_("Rabbit")])
|
||||
REM 28 Jan 2036 MSG [_("Chinese New Year")] ([_("Dragon")])
|
||||
REM 15 Feb 2037 MSG [_("Chinese New Year")] ([_("Snake")])
|
||||
REM 4 Feb 2038 MSG [_("Chinese New Year")] ([_("Horse")])
|
||||
REM 24 Jan 2039 MSG [_("Chinese New Year")] ([_("Goat")])
|
||||
REM 12 Feb 2040 MSG [_("Chinese New Year")] ([_("Monkey")])
|
||||
REM 1 Feb 2041 MSG [_("Chinese New Year")] ([_("Rooster")])
|
||||
REM 22 Jan 2042 MSG [_("Chinese New Year")] ([_("Dog")])
|
||||
REM 10 Feb 2043 MSG [_("Chinese New Year")] ([_("Pig")])
|
||||
REM 30 Jan 2044 MSG [_("Chinese New Year")] ([_("Rat")])
|
||||
REM 17 Feb 2045 MSG [_("Chinese New Year")] ([_("Ox")])
|
||||
REM 6 Feb 2046 MSG [_("Chinese New Year")] ([_("Tiger")])
|
||||
REM 26 Jan 2047 MSG [_("Chinese New Year")] ([_("Rabbit")])
|
||||
REM 14 Feb 2048 MSG [_("Chinese New Year")] ([_("Dragon")])
|
||||
REM 2 Feb 2049 MSG [_("Chinese New Year")] ([_("Snake")])
|
||||
REM 23 Jan 2050 MSG [_("Chinese New Year")] ([_("Horse")])
|
||||
REM 1 Feb 2022 MSG %(Chinese New Year) (%(Tiger))
|
||||
REM 22 Jan 2023 MSG %(Chinese New Year) (%(Rabbit))
|
||||
REM 10 Feb 2024 MSG %(Chinese New Year) (%(Dragon))
|
||||
REM 29 Jan 2025 MSG %(Chinese New Year) (%(Snake))
|
||||
REM 17 Feb 2026 MSG %(Chinese New Year) (%(Horse))
|
||||
REM 6 Feb 2027 MSG %(Chinese New Year) (%(Goat))
|
||||
REM 26 Jan 2028 MSG %(Chinese New Year) (%(Monkey))
|
||||
REM 13 Feb 2029 MSG %(Chinese New Year) (%(Rooster))
|
||||
REM 3 Feb 2030 MSG %(Chinese New Year) (%(Dog))
|
||||
REM 23 Jan 2031 MSG %(Chinese New Year) (%(Pig))
|
||||
REM 11 Feb 2032 MSG %(Chinese New Year) (%(Rat))
|
||||
REM 31 Jan 2033 MSG %(Chinese New Year) (%(Ox))
|
||||
REM 19 Feb 2034 MSG %(Chinese New Year) (%(Tiger))
|
||||
REM 8 Feb 2035 MSG %(Chinese New Year) (%(Rabbit))
|
||||
REM 28 Jan 2036 MSG %(Chinese New Year) (%(Dragon))
|
||||
REM 15 Feb 2037 MSG %(Chinese New Year) (%(Snake))
|
||||
REM 4 Feb 2038 MSG %(Chinese New Year) (%(Horse))
|
||||
REM 24 Jan 2039 MSG %(Chinese New Year) (%(Goat))
|
||||
REM 12 Feb 2040 MSG %(Chinese New Year) (%(Monkey))
|
||||
REM 1 Feb 2041 MSG %(Chinese New Year) (%(Rooster))
|
||||
REM 22 Jan 2042 MSG %(Chinese New Year) (%(Dog))
|
||||
REM 10 Feb 2043 MSG %(Chinese New Year) (%(Pig))
|
||||
REM 30 Jan 2044 MSG %(Chinese New Year) (%(Rat))
|
||||
REM 17 Feb 2045 MSG %(Chinese New Year) (%(Ox))
|
||||
REM 6 Feb 2046 MSG %(Chinese New Year) (%(Tiger))
|
||||
REM 26 Jan 2047 MSG %(Chinese New Year) (%(Rabbit))
|
||||
REM 14 Feb 2048 MSG %(Chinese New Year) (%(Dragon))
|
||||
REM 2 Feb 2049 MSG %(Chinese New Year) (%(Snake))
|
||||
REM 23 Jan 2050 MSG %(Chinese New Year) (%(Horse))
|
||||
|
||||
@@ -7,8 +7,8 @@ IF $CalMode || $PsCal
|
||||
REM [moondate(2)] SPECIAL MOON 2 -1 -1 [moontime(2)]
|
||||
REM [moondate(3)] SPECIAL MOON 3 -1 -1 [moontime(3)]
|
||||
ELSE
|
||||
REM NOQUEUE [moondatetime(0)] MSG [_("New Moon")] (%2)
|
||||
REM NOQUEUE [moondatetime(1)] MSG [_("First Quarter")] (%2)
|
||||
REM NOQUEUE [moondatetime(2)] MSG [_("Full Moon")] (%2)
|
||||
REM NOQUEUE [moondatetime(3)] MSG [_("Last Quarter")] (%2)
|
||||
REM NOQUEUE [moondatetime(0)] MSG %(New Moon) (%2)
|
||||
REM NOQUEUE [moondatetime(1)] MSG %(First Quarter) (%2)
|
||||
REM NOQUEUE [moondatetime(2)] MSG %(Full Moon) (%2)
|
||||
REM NOQUEUE [moondatetime(3)] MSG %(Last Quarter) (%2)
|
||||
ENDIF
|
||||
|
||||
@@ -3,14 +3,14 @@
|
||||
|
||||
IF $LatDeg >= 0
|
||||
# Northern Hemisphere
|
||||
REM NOQUEUE [soleq(0)] MSG %"[_("Vernal Equinox")]%" [$Is] %3.
|
||||
REM NOQUEUE [soleq(1)] MSG %"[_("Summer Solstice")]%" [$Is] %3.
|
||||
REM NOQUEUE [soleq(2)] MSG %"[_("Autumnal Equinox")]%" [$Is] %3.
|
||||
REM NOQUEUE [soleq(3)] MSG %"[_("Winter Solstice")]%" [$Is] %3.
|
||||
REM NOQUEUE [soleq(0)] MSG %"%(Vernal Equinox)%" [$Is] %3.
|
||||
REM NOQUEUE [soleq(1)] MSG %"%(Summer Solstice)%" [$Is] %3.
|
||||
REM NOQUEUE [soleq(2)] MSG %"%(Autumnal Equinox)%" [$Is] %3.
|
||||
REM NOQUEUE [soleq(3)] MSG %"%(Winter Solstice)%" [$Is] %3.
|
||||
ELSE
|
||||
# Southern Hemisphere
|
||||
REM NOQUEUE [soleq(0)] MSG %"[_("Autumnal Equinox")]%" [$Is] %3.
|
||||
REM NOQUEUE [soleq(1)] MSG %"[_("Winter Solstice")]%" [$Is] %3.
|
||||
REM NOQUEUE [soleq(2)] MSG %"[_("Vernal Equinox")]%" [$Is] %3.
|
||||
REM NOQUEUE [soleq(3)] MSG %"[_("Summer Solstice")]%" [$Is] %3.
|
||||
REM NOQUEUE [soleq(0)] MSG %"%(Autumnal Equinox)%" [$Is] %3.
|
||||
REM NOQUEUE [soleq(1)] MSG %"%(Winter Solstice)%" [$Is] %3.
|
||||
REM NOQUEUE [soleq(2)] MSG %"%(Vernal Equinox)%" [$Is] %3.
|
||||
REM NOQUEUE [soleq(3)] MSG %"%(Summer Solstice)%" [$Is] %3.
|
||||
ENDIF
|
||||
|
||||
@@ -2,6 +2,6 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
IF !$CalMode && !$PsCal
|
||||
REM NOQUEUE AT [sunrise()] MSG %"%"[_("Sunrise")] %! %2.
|
||||
REM NOQUEUE AT [sunset()] MSG %"%"[_("Sunset")] %! %2.
|
||||
REM NOQUEUE AT [sunrise()] MSG %"%"%(Sunrise) %! %2.
|
||||
REM NOQUEUE AT [sunset()] MSG %"%"%(Sunset) %! %2.
|
||||
ENDIF
|
||||
|
||||
@@ -1612,6 +1612,10 @@ is replaced with "\fIyear\fR", the year of the trigger date.
|
||||
.B %z
|
||||
is replaced with "\fIyy\fR", the last two digits of the year.
|
||||
.TP
|
||||
.B %(\fIany_text\fR\fB)
|
||||
is replaced with the lookup of \fIany_text\fR in the translation table.
|
||||
It is the equivalent of [_("any_text")] but is more convenient to type.
|
||||
.TP
|
||||
.B %_
|
||||
(percent-underscore) is replaced with a newline. You can use this to
|
||||
achieve multi-line reminders. Note that calendar back-ends vary in
|
||||
@@ -3046,6 +3050,9 @@ For example, consider this sequence:
|
||||
After those two lines have been executed, the variable \fBa\fR will be
|
||||
set to "Tot ziens". See the section THE TRANSLATION TABLE for more
|
||||
information.
|
||||
.PP
|
||||
In the body of a reminder, the substitution sequence \fB%(\fItext\fR\fB)\fR
|
||||
is the equivalent of \fB[_("\fItext\fR\fB")]\fR.
|
||||
.RE
|
||||
.TP
|
||||
.B abs(i_num)
|
||||
|
||||
@@ -35,7 +35,7 @@ if defined("i")
|
||||
do [i]
|
||||
endif
|
||||
|
||||
REM MSG Language: [_("LANGID")]
|
||||
REM MSG Language: %(LANGID)
|
||||
# Set up a few useful definitions
|
||||
fset show(x) "%%" + x + " yields: " + char(34) + "%" + x + char(34) + "% and %%*" + x + " yields: " + char(34) + "%*" + x + char(34) + "%"
|
||||
set a trigger(today()+2) + " ++2"
|
||||
|
||||
Reference in New Issue
Block a user