ukdtom / WebTools.bundle

WebTools is a collection of tools for Plex Media Server. Like the Unsupported AppStore (UAS)
https://forums.plex.tv/discussion/288191
Mozilla Public License 2.0
1.3k stars 170 forks source link

Logon and translate #375

Closed ukdtom closed 7 years ago

ukdtom commented 7 years ago

Make an API call, that can return a translated string

Call would be something like /api/v3/wt/lang/<LANG-CODE>/<STRING TO TRANSLATE>

If we just call /api/v3/wt/lang/<LANG-CODE> we should return a json with all the strings for that language

ukdtom commented 7 years ago

Look up getTranslate in the doc

creoludifico commented 7 years ago

updateLanguage, getTranslate and getLanguageList needs to be available from login

ukdtom commented 7 years ago

/getTranslate can now be called without been authenticated.

See the doc

creoludifico commented 7 years ago

R4Test

ukdtom commented 7 years ago

Strings to translate never makes it to the translate template via grunt

ukdtom commented 7 years ago

Working now...

Do check the login.html page