libreoffice-online/loleaflet/dist/l10n
Pranav Kant 163e04af0b Make admin l10n work again
The localization.json file contains path like 'l10n/lang.json' which
means path relative the html file being accessed. This works when we
access .../loleaflet.html but not so when we access .../admin/admin.html because
then it tries to access .../admin/l10n/lang.json while it should look for
this file one directory up. One could think to change the paths in
localization.json file to something like '/loleaflet/dist/l10n/lang.json' so
that same path is accessed always for loleaflet UI as well as admin, but
it has repercussions that we access l10n data always using 'dist' prefix
and not using git hash, so browser caching the l10n data across multiple
versions.

Ideal would be to split the admin localization completely from the
loleaflet-ui localization. No point in fetching whole of the loleaflet
localizations strings when we are only accessing the admin console. This
would also solve problem mentioned previously.

For now, just split the admin localization file only while still
allowing admin console to fetch the same l10n files.

Change-Id: I0824fb05b9b4123b58d6fd8edafb374ee7128229
2017-05-02 19:52:47 +05:30
..
uno loleaflet: update uno command translations 2016-11-07 18:51:25 +01:00
admin-localizations.json Make admin l10n work again 2017-05-02 19:52:47 +05:30
help-localizations.json loleaflet: Add Upper Sorbian and Lower Sorbian UI languages 2017-04-04 16:46:05 +02:00
localizations.json loleaflet: Add Upper Sorbian and Lower Sorbian UI languages 2017-04-04 16:46:05 +02:00
styles-localizations.json loleaflet: Add Upper Sorbian and Lower Sorbian UI languages 2017-04-04 16:46:05 +02:00
uno-localizations.json loleaflet: Add Upper Sorbian and Lower Sorbian UI languages 2017-04-04 16:46:05 +02:00