Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Moon phases translations #264

Open
aryiu opened this issue Apr 8, 2024 · 2 comments
Open

Add Moon phases translations #264

aryiu opened this issue Apr 8, 2024 · 2 comments
Labels
enhancement New feature or request
Milestone

Comments

@aryiu
Copy link

aryiu commented Apr 8, 2024

Is your feature request related to a problem? Please describe.
No possibility of translating Moon phases in Celestial page.
moon-phases

Describe the solution you'd like

  • Add a way for getting these words translated in your translation file (i.e. it.conf)
  • Also, maybe it would be great to add by default the planet name strings, although these translations work right now if you add the strings manually. For example: "Mars" = "Marte" (and it's shown correctly)
@aryiu aryiu added the enhancement New feature or request label Apr 8, 2024
@Daveiano Daveiano added this to the 3.6.0 milestone Apr 9, 2024
@Daveiano
Copy link
Owner

Daveiano commented Jun 2, 2024

Added in 8006446 and will be included in the next release.

You can translate the moon phases by adding something like this to it.conf:

[Almanac]
    # The labels to be used for the phases of the moon:
    moon_phases = Nuova, Crescente, Primo quarto, Gibbosa crescente, Piena, Gibbosa calante, Ultimo quarto, Calante

I also added defaults for the planet names in it.conf:

    "Mars" = "Marte"
    "Jupiter" = "Giove"
    "Saturn" = "Saturno"
    "Venus" = "Venere"

@aryiu
Copy link
Author

aryiu commented Jun 2, 2024

Thank you! You can also add this in the [Texts] section of it.conf for translating the card tags:

 "Phase" = "X"
 "New moon" = "X"
 "Full moon" = "X"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants