Read the statement by Michael Teeuw here.
Translation "After one month" in Calendar Module
-
Thanks Stefan, I appreciate your help!
-
@MM-Hans said in Translation “After one month” in Calendar Module:
Thanks Stefan, I appreciate your help!
I answer this in Dutch because otherwise it will be difficult to explain. The used notation in moment.js is correct.
Getallen tot twintig (20) worden normalieter uitgeschreven. Op het getal een worden accenten geplaatst als het een telwoord is.
Uitzondering hierop is in samenstellingen met een worden geen accenten op de ee gezet, ook niet als het telwoord één bedoeld is.
Voorbeeld hiervan is eendagsvlieg.Bron : onzetaal.nl
No reason to change this, why would you like to do this?
-
Thanks for your posting. When an event is over, let’s say, five weeks MM displays “één maand”. But in my opinion “één” means more exactly one month and not “een maand”. In English “one month” vs. “a month”. So I would like to change it. I have found two installs of moment.js and translated in both “één” to “een” but after rebooting and power off several times it was not translated on the mirror so far.
-
@MM-Hans
That’s strange. I will check on my mirror tomorrow -
Possibly it is a browser cache problem, I use an Android tablet and a full screen browser within my mirror (http://192.168.2.xxx:8080). In that case there must be a way to refresh the MM tablet page, preferable from the MM install on the RPi. Something with “nocache”? I’m not sure…
-
maybe a stupid question,
but why do you want to see a event on your mirror,
which was already one month ago?
Or if i did not catched the timeing correctly, why do you want to see events which are more then one month away?
;) -
Think I translated wrong, writing “An event is over one month” I ment “An event is after one month” ;-)
-
Okay MM-Hans. After looking at
vendor.js
I noticed moment.js is loaded from"moment.js" : "node_modules/moment/min/moment-with-locales.js",
So if you go ahead, open
"~/MagicMirror/vendor/node_modules/moment/min/moment-with-locales.js",
and scroll down to line 10649 (no, I’m not kidding) and changeéén
toeen
you are good to go. -
@yawns said in Translation “After one month” in Calendar Module:
vendor/node_modules/moment/min/
Hi Stefan. You almost need to be a digital detective to locate that phrases ;-) But finally the issue is solved, thanks for your assistance!
-
@MM-Hans said in Translation “After one month” in Calendar Module:
@yawns said in Translation “After one month” in Calendar Module:
vendor/node_modules/moment/min/
Hi Stefan. You almost need to be a digital detective to locate that phrases ;-) But finally the issue is solved, thanks for your assistance!
You are welcome!