Zverik / Level0

Web-based OpenStreetMap Editor
http://level0.osmz.ru
Do What The F*ck You Want To Public License
54 stars 14 forks source link

remove binary locale/en/*messages.mo file, didnt contain english #79

Open mtmail opened 3 weeks ago

mtmail commented 3 weeks ago

When I start the website locally and access it from a browser set to english (en_GB) it prints Russian.

All messages.mo file in www/locale/ are human readable text files. Except the en file which is binary and contains Russian strings.

This PR removes the file.

$ which msgunfmt
/usr/local/bin/msgunfmt

$ msgunfmt www/locale/en/LC_MESSAGES/messages.mo
msgid ""
msgstr ""
"Project-Id-Version: Level0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2014-04-03 11:30+0400\n"
"PO-Revision-Date: 2014-04-03 20:04+0000\n"
"Last-Translator: Zverik [...]"
"Language-Team: Russian (http://www.transifex.com/projects/p/level0/language/"
"ru/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: ru\n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"

msgid "%d object was modified, can update only %d of them (repeat for more)."
msgid_plural ""
"%d objects were modified, can update only %d of them (repeat for more)."
msgstr[0] "%d объект изменён, но обновить могу только %d (повторите после)."
msgstr[1] ""
"%d объекта изменено, но обновить могу только %d из них (повторите после)."
msgstr[2] ""
"%d объектов изменено, но обновить могу только %d из них (повторите после)."

msgid "A node cannot have member objects"
msgstr "Точка не может иметь объектов-членов"

msgid "Add to editor"
msgstr "Добавить в редактор"