MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    MMM-Lunartic

    Scheduled Pinned Locked Moved Education
    266 Posts 30 Posters 476.5k Views 29 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • qu1queQ Offline
      qu1que Project Sponsor @Mykle1
      last edited by

      @mykle1

      I’ve made a translation for Lunartic module to galician language too. How can I make to submit it to you?

      Mykle1M 1 Reply Last reply Reply Quote 0
      • Mykle1M Offline
        Mykle1 Project Sponsor Module Developer @qu1que
        last edited by Mykle1

        @qu1que said in MMM-Lunartic:

        I’ve made a translation for Lunartic module to galician language too. How can I make to submit it to you?

        That’s fantastic!

        If you know how to submit a pull request with the translation file you can do it that way. You will added as a contributor to the module on the github repo.

        Or

        You can edit the RIGHT side of this file and post it here

        {
        "Distance from Earth's core = ": "Distància desde la Terra: ",
        "Distance from sun = ": "Distància desde el Sol: ",
        "The next full moon is ": "Pròxima Lluna plena ",
        "The next new moon is ": "Pòxima Lluna nova: ",
        "The current moon is ": "La fase actual porta ",
        "The moon is ": "Aquesta Lluna està  ",
        "% illuminated": "% il.luminada",
        " days old": " dies transcorreguts",
        "New Moon Phase": "Lluna Nova",
        "Waxing Crescent Moon": "Lluna Creixent",
        "First Quarter Half Moon": "Primer quart de mitja Lluna",
        "Waxing Gibbous Moon": "Lluna creixent Gibosa",
        "Full Moon": "Lluna Plena",
        "Waning Gibbous Moon": "Lluna Gibosa menguant",
        "Third Quarter Half Moon": "Tercer quart de mitja Lluna",
        "Waning Crescent Moon": "Lluna creixent menguant",
        "When the Moon hits your eye . . .": "Quan la Lluna il.lumina els teus ulls . . ."
        }
        

        Create a working config
        How to add modules

        qu1queQ 1 Reply Last reply Reply Quote 0
        • qu1queQ Offline
          qu1que Project Sponsor @Mykle1
          last edited by qu1que

          @mykle1

          The translation is done. I copy & paste here. The name of the file is gl.json

          {
          "Distance from Earth's core = ": "Distancia dende a Terra: ",
          "Distance from sun = ": "Distancia dende o Sol: ",
          "The next full moon is ": "Próxima Lúa chea ",
          "The next new moon is ": "Próxima Lúa nova: ",
          "The current moon is ": "A fase actual leva ",
          "The moon is ": "Esta Lúa está  ",
          "% illuminated": "% iluminada",
          " days old": " días transcorridos",
          "New Moon Phase": "Lúa Nova",
          "Waxing Crescent Moon": "Lúa Crecente",
          "First Quarter Half Moon": "Primeiro cuarto de media lúa",
          "Waxing Gibbous Moon": "Lúa crecente Xibosa",
          "Full Moon": "Lúa Chea",
          "Waning Gibbous Moon": "Lúa Xibosa minguante",
          "Third Quarter Half Moon": "Terceiro cuarto de Media Lúa",
          "Waning Crescent Moon": "Lúa crecente minguante",
          "When the Moon hits your eye . . .": "Cando a Lúa ilumina os teus ollos . . ."
          }
          
          
          Mykle1M 1 Reply Last reply Reply Quote 1
          • Mykle1M Offline
            Mykle1 Project Sponsor Module Developer @qu1que
            last edited by

            @qu1que

            That was fast! I’ll add it right now!

            Create a working config
            How to add modules

            qu1queQ 1 Reply Last reply Reply Quote 0
            • qu1queQ Offline
              qu1que Project Sponsor @Mykle1
              last edited by qu1que

              @Mykle1
              Thanks! but I didn’t do it just now. I did it a few weeks ago, :smiling_face_with_smiling_eyes:

              Mykle1M 1 Reply Last reply Reply Quote 0
              • Mykle1M Offline
                Mykle1 Project Sponsor Module Developer @qu1que
                last edited by

                @qu1que said in MMM-Lunartic:

                Thanks! but I didn’t do it just now. I did it a few weeks ago,

                I thank you! Would you like to test it? Do a git pull in the MMM-Lunartic directory.

                Create a working config
                How to add modules

                qu1queQ 1 Reply Last reply Reply Quote 0
                • qu1queQ Offline
                  qu1que Project Sponsor @Mykle1
                  last edited by

                  @mykle1 Working!! Thank you!

                  Mykle1M 2 Replies Last reply Reply Quote 0
                  • Mykle1M Offline
                    Mykle1 Project Sponsor Module Developer @qu1que
                    last edited by

                    @qu1que

                    No, thank you. I will make an announcement in this topic to let everyone know about your contribution. You rock!

                    It’s not working for me at the moment! :-(

                    Create a working config
                    How to add modules

                    1 Reply Last reply Reply Quote 0
                    • Mykle1M Offline
                      Mykle1 Project Sponsor Module Developer @qu1que
                      last edited by

                      @qu1que

                      language: "gl", Yes?

                      Create a working config
                      How to add modules

                      qu1queQ 1 Reply Last reply Reply Quote 0
                      • qu1queQ Offline
                        qu1que Project Sponsor @Mykle1
                        last edited by qu1que

                        @mykle1 yes, I think so

                        Galician (gl) iso-8859-1, windows-1252

                        Mykle1M 1 Reply Last reply Reply Quote 1
                        • Mykle1M Offline
                          Mykle1 Project Sponsor Module Developer @qu1que
                          last edited by

                          @qu1que

                          Fixed it. It was my mistake. I neglected to add the gl.json file to the getTranslations: function() of the module.

                          Create a working config
                          How to add modules

                          VarguitV 1 Reply Last reply Reply Quote 0
                          • Mykle1M Offline
                            Mykle1 Project Sponsor Module Developer
                            last edited by

                            Galician Translation

                            User @qu1que was kind enough to provide a Galician translation file for MMM-Lunartic. Thank you very much for your contribution! You’re awesome!

                            Create a working config
                            How to add modules

                            1 Reply Last reply Reply Quote 0
                            • VarguitV Offline
                              Varguit @Mykle1
                              last edited by Varguit

                              @mykle1

                              Hey mykle , you forgot to add ca: "translations/ca.json", as well

                              Mykle1M 1 Reply Last reply Reply Quote 1
                              • Mykle1M Offline
                                Mykle1 Project Sponsor Module Developer @Varguit
                                last edited by

                                @varguit said in MMM-Lunartic:

                                Hey mykle , you forgot to add ca: “translations/ca.json”, as well

                                Because I am an idiot! I do forget things and I do apologize. I have just added it to the repo this very moment. Thank you for bringing that to my attention.

                                git pull in the MMM-Lunartic directory

                                Create a working config
                                How to add modules

                                1 Reply Last reply Reply Quote 0
                                • B Offline
                                  Babene1 Project Sponsor
                                  last edited by

                                  thank you for the module, it is fantastic.

                                  a little mistake in “de.json”

                                  not

                                  "Wanning Gibbous Moon": abnehmender Mond"
                                  

                                  better:

                                  "Waning Gibbous Moon": abnehmender Mond"
                                  
                                  Mykle1M 1 Reply Last reply Reply Quote 1
                                  • Mykle1M Offline
                                    Mykle1 Project Sponsor Module Developer @Babene1
                                    last edited by

                                    @babene1 said in MMM-Lunartic:

                                    a little mistake in “de.json”

                                    You have a very keen eye! Are you a detective? :-)

                                    Thank you for bringing that to my attention. I have already corrected that. :thumbsup:

                                    Create a working config
                                    How to add modules

                                    mumblebajM 1 Reply Last reply Reply Quote 0
                                    • mumblebajM Offline
                                      mumblebaj Module Developer @Mykle1
                                      last edited by

                                      @Mykle1 Thanks for this module. I am having an issue with the module in that the image moon.png is not loading. I can see the following on the Console:
                                      0_1563556739390_e7d07eb1-0699-4317-85af-01fde4cc1cce-image.png

                                      Is there anything I am missing perhaps? My config:

                                              disabled: false,
                                              module: 'MMM-Lunartic',
                                              position: 'bottom_right', // Best in left, center, or right regions
                                              config: {
                                                  mode: "rotating", // rotating or static
                                                  image: "current", // animation, current, DayNight or static
                                                  distance: "km", // miles or km
                                                  sounds: "yes", // howling wolf, only on a full moon
                                                  useHeader: "true", // true if you want a header
                                                  header: "Moon Phase", // Any text you want
                                                  maxWidth: "300px",
                                                  animationSpeed: 0,
                                                  rotateInterval: 15000,
                                              }
                                          },
                                      

                                      Check out my modules at: https://github.com/mumblebaj?tab=repositories
                                      Check my blog-post: https://mumblebaj.xyz/
                                      Check my MM Container: https://hub.docker.com/repository/docker/mumblebaj/magicmirror/general

                                      Mykle1M 1 Reply Last reply Reply Quote 0
                                      • Mykle1M Offline
                                        Mykle1 Project Sponsor Module Developer @mumblebaj
                                        last edited by Mykle1

                                        @mumblebaj

                                        I just used your config entry (after adding the opening curly bracket before { disabled: false,) and it fired right up. See pic:

                                        0_1563585449885_Screenshot from 2019-07-19 21-10-46.png

                                        Can you put this url into a browser and see if you get the image?

                                        https://api.usno.navy.mil/imagery/moon.png?date=today&time=now

                                        Request:

                                        Can a few people outside the USA test the above url for me and report here? My thanks!

                                        Create a working config
                                        How to add modules

                                        StoffbeuteluweS mumblebajM 3 Replies Last reply Reply Quote 0
                                        • StoffbeuteluweS Offline
                                          Stoffbeuteluwe Project Sponsor @Mykle1
                                          last edited by

                                          @Mykle1 works 👍🏼…Germany

                                          1 Reply Last reply Reply Quote 1
                                          • mumblebajM Offline
                                            mumblebaj Module Developer @Mykle1
                                            last edited by

                                            @Mykle1 It says :
                                            This site can’t be reached api.usno.navy.mil’s server IP address could not be found. from South Africa. I guess that it’s restricted somehow.

                                            Check out my modules at: https://github.com/mumblebaj?tab=repositories
                                            Check my blog-post: https://mumblebaj.xyz/
                                            Check my MM Container: https://hub.docker.com/repository/docker/mumblebaj/magicmirror/general

                                            Mykle1M cowboysdudeC 2 Replies Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 6
                                            • 7
                                            • 8
                                            • 9
                                            • 10
                                            • 13
                                            • 14
                                            • 8 / 14
                                            • First post
                                              Last post
                                            Enjoying MagicMirror? Please consider a donation!
                                            MagicMirror created by Michael Teeuw.
                                            Forum managed by Sam, technical setup by Karsten.
                                            This forum is using NodeBB as its core | Contributors
                                            Contact | Privacy Policy