summaryrefslogtreecommitdiffstats
path: root/tests/data
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2016-04-04 13:29:04 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2016-04-04 13:29:04 +0200
commit85a0dd36891d31a2af0e654a6c1b571c0f612c08 (patch)
tree639c65316b34160e53509f50760d8675536ac797 /tests/data
parentf8b1e2cca151219c563ece3c068ee72e355d6f80 (diff)
downloadnextcloud-server-85a0dd36891d31a2af0e654a6c1b571c0f612c08.tar.gz
nextcloud-server-85a0dd36891d31a2af0e654a6c1b571c0f612c08.zip
[stable9] Read available l10n files also from theme folder
* Read available l10n files also from theme folder The old behaviour was that only languages could be used for an app that are already present in the apps/$app/l10n folder. If there is a themed l10n that is not present in the apps default l10n folder the language could not be used and the texts are not translated. With this change this is possible and also the l10n files are loaded even if the default l10n doesn't contain the l10n file. * Inject server root - allows proper testing and separation of concerns
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/themes/abc/apps/files/l10n/zz.json0
1 files changed, 0 insertions, 0 deletions
diff --git a/tests/data/themes/abc/apps/files/l10n/zz.json b/tests/data/themes/abc/apps/files/l10n/zz.json
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/tests/data/themes/abc/apps/files/l10n/zz.json