amir20 / dozzle

Realtime log viewer for docker containers.
https://dozzle.dev/
MIT License
5.7k stars 287 forks source link

Translation [DE] #3204

Closed Mephisto090 closed 1 month ago

Mephisto090 commented 1 month ago

Hi,

where can I translate Status, Created, Show all and Rows per page? :D

image

amir20 commented 1 month ago

https://github.com/amir20/dozzle/blob/master/locales/de.yml

Mephisto090 commented 1 month ago

Are there already variables for this?

Status:

Created:

Rows per page:

Show all:

Mephisto090 commented 1 month ago

image

Maybe translate that too?

Mephisto090 commented 1 month ago

Did you translate into German, did another user do it or was it a translator?

Mephisto090 commented 1 month ago

image Small spelling mistake

Mephisto090 commented 1 month ago

image

amir20 commented 1 month ago

Some of them don't exist. I used a combination of Google translate and other folks. If you can send a pull request to make improvement then that would be greatly appreciated. If not, then I think it's hard for me to make these changes or provide help on how to do it.

amir20 commented 1 month ago

Yep, click fork. :)

Mephisto090 commented 1 month ago

The first PR is here

How and where should I insert the missing variables (such as days or seconds)?

amir20 commented 1 month ago

How and where should I insert the missing variables (such as days or seconds)?

I use a library for that. Maybe it's not possible.

Mephisto090 commented 1 month ago

Created is certainly sent by docker. A replace should fit there. You just need to query what is written there (min, hours, ...)

Mephisto090 commented 1 month ago

https://github.com/amir20/dozzle/issues/3204#issuecomment-2289618719

That is statis, that can certainly be translated if you give me variables for it

Mephisto090 commented 1 month ago

#3204 (comment)

That is statis, that can certainly be translated if you give me variables for it

https://github.com/amir20/dozzle/pull/3206

Mephisto090 commented 1 month ago

dozzle/assets/types/Container.d.ts

Since I don't know much about your project, is it possible to translate the export variables?

amir20 commented 1 month ago

Anything in container.d.ts needs to be converted to keys. It's not that easy, that's why I haven't done it yet.

amir20 commented 1 month ago

Closing this. Keep the PRs coming. :)