Nefere256 / userscripts

MIT License
0 stars 0 forks source link

Translating characters, origins etc. like a static text #28

Open Nefere256 opened 1 year ago

Nefere256 commented 1 year ago

Is your feature request related to a problem? Please describe. Some most popular origins are so often appearing in the site, that they could be as well considered as a static text.

Describe the solution you'd like Some most popular characters and origins to be translated just like static text.

Describe alternatives you've considered Google translate, but it isn't viable with a lot of characters and origins having official names in English.

Additional context Some of my notes left on an old notebook. It's more about figuring out most common characters etc. to translate.

===

// basic: if the word with a link, try a translation from a structure below (company, charactar etc.) // on start - read local storage for "unknown translation link count" // save in local storage updated count // data structure [{type: charactar, id: 3, count: 3939}] // create methods to clean and view most popular translations // if a translation exists, but was once unknown, clear the count, like it never exists


company : [
    { 'id' : 18 , 'name' : "Good Smile Company", shortName: "GSC"},
    { 'id' : 28 , 'name' : "Kotobukiya", shortName: "Koro"},
    { 'id' : 34 , 'name' : "KAIYODO"},
    { 'id' : 40 , 'name' : "Daiki Kougyou"},
    { 'id' : 45 , 'name' : "BANPRESTO"},
    { 'id' : 53 , 'name' : "SEGA"},
    { 'id' : 55 , 'name' : "Aoshima"},
    { 'id' : 60 , 'name' : "BANDAI"},
    { 'id' : 82 , 'name' : "Square Enix"},
    { 'id' : 374 , 'name' : "Good Smile Arts Shanghai"},
    { 'id' : 386 , 'name' : "TAMIYA"},
    { 'id' : 421 , 'name' : "TAKOM"},
    { 'id' : 434 , 'name' : "FUJIMI"},
];

work : [
    { 'id' : 1202,  'name' : "Dragon Ball Super"},
];

charactar: [
    { 'id' : 3 , 'name' : "Hatsune Miku"},
];