astrocalc translations

master
Erik Andresen 2022-12-11 22:36:31 +01:00
parent 340fc06678
commit f6ee8333c4
2 changed files with 17 additions and 9 deletions

View File

@ -161,8 +161,8 @@ function drawMoonPositionPage(gps, title) {
function drawMoonIlluminationPage(gps, title) { function drawMoonIlluminationPage(gps, title) {
const phaseNames = [ const phaseNames = [
"New Moon", "Waxing Crescent", "First Quarter", "Waxing Gibbous", /*LANG*/"New Moon", /*LANG*/"Waxing Crescent", /*LANG*/"First Quarter", /*LANG*/"Waxing Gibbous",
"Full Moon", "Waning Gibbous", "Last Quater", "Waning Crescent", /*LANG*/"Full Moon", /*LANG*/"Waning Gibbous", /*LANG*/"Last Quater", /*LANG*/"Waning Crescent",
]; ];
const phase = SunCalc.getMoonIllumination(new Date()); const phase = SunCalc.getMoonIllumination(new Date());
@ -275,15 +275,15 @@ function moonIndexPageMenu(gps) {
}, },
"Times": () => { "Times": () => {
m = E.showMenu(); m = E.showMenu();
drawMoonTimesPage(gps, "Times"); drawMoonTimesPage(gps, /*LANG*/"Times");
}, },
"Position": () => { "Position": () => {
m = E.showMenu(); m = E.showMenu();
drawMoonPositionPage(gps, "Position"); drawMoonPositionPage(gps, /*LANG*/"Position");
}, },
"Illumination": () => { "Illumination": () => {
m = E.showMenu(); m = E.showMenu();
drawMoonIlluminationPage(gps, "Illumination"); drawMoonIlluminationPage(gps, /*LANG*/"Illumination");
}, },
"< Back": () => m = indexPageMenu(gps), "< Back": () => m = indexPageMenu(gps),
}; };
@ -294,12 +294,12 @@ function moonIndexPageMenu(gps) {
function indexPageMenu(gps) { function indexPageMenu(gps) {
const menu = { const menu = {
"": { "": {
"title": "Select", "title": /*LANG*/"Select",
}, },
"Sun": () => { /*LANG*/"Sun": () => {
m = sunIndexPageMenu(gps); m = sunIndexPageMenu(gps);
}, },
"Moon": () => { /*LANG*/"Moon": () => {
m = moonIndexPageMenu(gps); m = moonIndexPageMenu(gps);
}, },
"< Back": () => { load(); } "< Back": () => { load(); }

View File

@ -193,7 +193,15 @@
"cyan": "Cyan", "cyan": "Cyan",
"orange": "Orange", "orange": "Orange",
"purple": "Violett", "purple": "Violett",
"grey": "Grau" "grey": "Grau",
"New Moon": "Neumond",
"Waxing Crescent": "Zunehmender Sichelmond ",
"First Quarter": "Zunehmender Halbmond",
"Waxing Gibbous": "Zunehmender Mond",
"Full Moon": "Vollmond,",
"Waning Gibbous": "Abnehmender Mond",
"Last Quater": "Abnehmender Halbmond",
"Waning Crescent": "Abnehmender Sichelmond"
}, },
"alarm": { "alarm": {
"//": "App-specific overrides", "//": "App-specific overrides",