GithubHelp home page GithubHelp logo

Comments (16)

diegopvlk avatar diegopvlk commented on July 26, 2024

Try changing the lastUpdate date to yesterday, make sure to restart the app. If you mess up with this file, it'll cause issues.

from dosage.

thomas-maeder avatar thomas-maeder commented on July 26, 2024

I have restarted many times - doesn't help.

BTW: the application doesn't really terminate if I hit the X button; I have to do Ctrl-C in the shell to really terminate it.

from dosage.

diegopvlk avatar diegopvlk commented on July 26, 2024

It's intentional, so it can send background notifications.

...but not if Frequency is Every day and lastTaken refers to yesterday.

If that it's the only issue that you're having, it should be an easy fix.

from dosage.

diegopvlk avatar diegopvlk commented on July 26, 2024

I pushed an update to snap, see if that fixes the your issues.

from dosage.

thomas-maeder avatar thomas-maeder commented on July 26, 2024

Thanks. First impression is good!

  • "Donate" isn't translated (to "Spenden") - have I missed it when I did the translations?

  • "Danke für dieses Projekte!" should be "Danke an diese Projekte!" - I must have lacked some context when I did this

  • "Verlassen" - now that I see it, I'd prefer "Beenden" (terminate); on the other hand, the option doesn't really terminate the program, so maybe "Verlassen" (quit) is better...

  • dialog "Behandlung bearbeiten":

    • "Pill(s)" should be "Pille(n)"
    • "Notes" should be "Notiz" (singular) or "Notizen" (plural)
    • "Dosage" should be "Dosierung" - but only here - you probably want to keep "Dosage" as application name - I didn't have enough context when I translated
    • "Erinnerung um" should be "Erinnerung bei" - "um" would be correct if "Notification at" referred to a time, not an amount
  • dialog "Historie":

    • "Pill(s)" should be "Pille(n)"
    • weekdays are not localized
    • date format is not localized
  • dialog "Heute":

    • "Pill(s)" should be "Pille(n)"

The Today/Heute tab lists the expected items right now; let's wait for tomorrow to see if the contents of this tab is correct in the long run.

from dosage.

diegopvlk avatar diegopvlk commented on July 26, 2024

"Donate" isn't translated (to "Spenden") - have I missed it when I did the translations?

You didn't, that one is not translatable.

Feel free to make corrections in the translation, it'll be pushed automatically.

"Dosage" should be "Dosierung" - but only here - you probably want to keep "Dosage" as application name - I didn't have enough context when I translated

It's fine for the app name to be translated.

weekdays are not localized
date format is not localized

These one comes from the system, not the app. If that's not working it's a problem with the locale in your system.

from dosage.

thomas-maeder avatar thomas-maeder commented on July 26, 2024

These one comes from the system, not the app. If that's not working it's a problem with the locale in your system.

$ env | egrep -i '^(LANG|LC)'
LANGUAGE=de_CH:de
LANG=de_CH.UTF-8

What else is needed?

from dosage.

diegopvlk avatar diegopvlk commented on July 26, 2024

What else is needed?

Try env LC_TIME=de_CH dosage-tracker

from dosage.

thomas-maeder avatar thomas-maeder commented on July 26, 2024

Try env LC_TIME=de_CH dosage-tracker

Doesn't help - week days are still English, and the date format is still the completely unreadable M/D/Y.

from dosage.

thomas-maeder avatar thomas-maeder commented on July 26, 2024

Feel free to make corrections in the translation, it'll be pushed automatically.

Done.

from dosage.

diegopvlk avatar diegopvlk commented on July 26, 2024

Doesn't help - week days are still English, and the date format is still the completely unreadable M/D/Y.

what about env LC_ALL=de_CH dosage-tracker?

from dosage.

thomas-maeder avatar thomas-maeder commented on July 26, 2024

what about env LC_ALL=de_CH dosage-tracker?

Doesn't help, either.

from dosage.

diegopvlk avatar diegopvlk commented on July 26, 2024

You're missing some translations in your system then, it's working for me:
image

from dosage.

thomas-maeder avatar thomas-maeder commented on July 26, 2024

Hmm - I agree, this looks perfect!

from dosage.

thomas-maeder avatar thomas-maeder commented on July 26, 2024

Hmm.

$ date +%A
Sonntag

$ date +%c
So 10 Mär 2024 13:22:44

$ date +%x
10.03.2024

from dosage.

diegopvlk avatar diegopvlk commented on July 26, 2024

I have no idea where but you need to set LC_TIME somewhere, closing because this is not related to the app anymore.

from dosage.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.