aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRoss Smith II <ross@smithii.com>2024-06-05 03:05:51 -0700
committerGitHub <noreply@github.com>2024-06-05 06:05:51 -0400
commit23a900e09609dba6c3254eaffff3ae088e87dd87 (patch)
treec1f5429df0c34a12d062ecf2078165c2cdf8dcc0 /lib
parent5a304cf2958435aca91438ee8b1b1265363ac7b4 (diff)
downloadsyncthing-main.tar.gz
syncthing-main.zip
gui: Use localised time in duration (#9552)HEADrelease-nightlymain
https://github.com/syncthing/syncthing/pull/8291 inpired me to develop this. I tested it with all the languages Syncthing currently supports, and they all work. The only issue is that when you change the language in the GUI, you have to either refresh the page, or wait a few seconds for the page to refresh by itself, before the duration is translated into the new language. ### Screenshots ![2024-05-20_21-47-58](https://github.com/syncthing/syncthing/assets/220772/7e3b371e-3495-4e3e-853a-b5a41215e6c7) ### Documentation The documentation for the translation widget is at https://github.com/EvanHahn/HumanizeDuration.js/blob/main/README.md
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions