Quote:
Originally Posted by dunhill
Here is the plugin with translation support
Now with Spanish language
There are strings like this that I haven't figured out how to mark for translation.
timed_print(f'[{pi_name}]: starting backup process')
|
Thanks for this.
I had to change several things. For example:
- The date pattern string cannot be translated because the date letters are fixed in code (format_date()). I changed the default file name to remove 'at' to avoid using words in the date pattern string. The user can do whatever they want and will see the result and thus see where it breaks.
- The name of the json settings file should not be translated.
- I added the translation of 'Current Value' to the tooltip generator.
- I made the plugin description translatable.
The changed version is attached. I'll release it once you tell me you are finished with any changes.
EDIT: If you ran the version in @Dunhill's post then because of the change to the JSON configuration file name the history records for the plugin will be wrong.