mybb/mybb — pull request #1130 by avril-gh (2014-08-07 07:01:31+00:00)
Title: Improvement of language packs editor

Current editor throw errors on any occasion.
In Edit With mode, not displaing new variables so its impossible to even know that they exists while trying to update older translations to new version. Theyre simply hidden.
It looks not bad when just plaing around, but when someone will try to seriously use it to create translation for 1.8 (especially update older language files with Edit With mode, because its less work) its just impossible.

I seriously tried to create 1.8 translation just now but after many attempts i ended up with 3 choices,
1. Translating from scratch, - no way too many files and it cant be this way on every update when just fiew variables change.
2. Updating old translation with notepad (omg...)
3. improve editor so it can do what it should do. - help with translation and editing language files.
Chosed third option and here it is.

Improvements are :
* increased stability and reliability - it does not throw php errors or normal errors on any ocasion.
* More intuitive - When Edit With, always show all variables from file we compare to. (its essential)
* When Edit With, preserve less significant variables in edited file (even if they not exists in compared file, never know if someone dont want to keep them as part of his private moding).
* When Edit With, show list of files for both language packs. (easy to see whats going on)
* Intuitive - automaticaly switch modes to proper one in given situation, create files on demand ect.
* Auto generate credits in edited language files.
... and perhaps fiew more i forgot.

Its not super polished yet to the degree where it will start to fly, but its good start at time when it will be needed when 1.8 come out.