NotRanged / NotRanged.github.io

Web frontend for FFXIV Crafting Optimizer service.
zlib License
73 stars 43 forks source link

Corrected Japanese file. And accurate Japanese job's order. #76

Closed Anko777 closed 4 months ago

Anko777 commented 1 year ago

Hi. Thanks for great works!

I corrected the important part of the Japanese file. However, the mathematical part is esoteric and difficult to translate. I will do my best to translate it.

ja.json file is here. https://d.kuku.lu/276hneae3

and...

Can you change Japanese job's order? I'm confused every time. image

木工師 (Carpenter)
鍛冶師 (Blacksmith)
甲冑師 (Armorer)
彫金師 (Goldsmith)
革細工師 (Leatherworker)
裁縫師 (Weaver)
錬金術師 (Alchemist)
調理師 (Culinarian)
dazemc commented 1 year ago

Added the translation and I'll see what I can do about reordering later

Anko777 commented 1 year ago

Thanks!

Oh, sorry. I found bit mistake.

Please replace this. https://d.kuku.lu/g8pcunzpx

Anko777 commented 1 year ago

And I found a bug.

"Add crafter class icon to macro" option is not working on Japanese. The Job's name must be Japanese to work.

Current /micon Carpenter classjob

Correct /micon 木工師 classjob

dazemc commented 1 year ago

I'll rewrite it to use the locale jsons later today

dazemc commented 1 year ago

Can you translate this string?

"Add crafter class icon to macro"

Anko777 commented 1 year ago

Yes, I can.

マクロにクラスアイコンを追加する

dazemc commented 1 year ago

Can you review this before I push the commits? I haven't reordered the classes yet. https://dazemc.github.io/ffxiv-craft

Anko777 commented 1 year ago

I checked. OK, Perfect!

dazemc commented 1 year ago

I pushed the commits into this repo. Please let me know if there is any errors.

It's going to take me a few days to do the reordering because I do not know javascript, let alone angular, I'm just good at pretending. I need to write a function that checks the current translation and then chooses something like allClassesJA instead of the ordered list in allClasses. I can do all this except checking the current translation. This should be relatively easy to someone that knows the language. So, I will keep this open in the meantime. For anyone else that looks, the relative files are;

Dropdown menu (ng-repeat): lines 26 - 33 in views/solver.html

Ordered Class list: lines 4 - 13 in js/services/actions.js