Convert files we ship to use %(foo) in place of [_("foo")]

This commit is contained in:
Dianne Skoll
2024-12-12 16:43:30 -05:00
parent 3c95245407
commit c8295b6251
6 changed files with 51 additions and 44 deletions

View File

@@ -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))

View File

@@ -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

View File

@@ -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

View File

@@ -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