diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2020-10-31 15:25:19 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2020-10-31 15:25:19 +0100 |
commit | 6e377a9daf57b650d32ea34681d23bb5d67db01d (patch) | |
tree | 34f3bde8a284607be387f7a1fe17c2c58cb8dfe9 /lib/l10n/ar.json | |
parent | 5396e98d2d9499f14a1c5abeb71e904642f90c26 (diff) | |
download | nextcloud-server-6e377a9daf57b650d32ea34681d23bb5d67db01d.tar.gz nextcloud-server-6e377a9daf57b650d32ea34681d23bb5d67db01d.zip |
Only parse the locales ones
Before we'd go over the entire list for each translation (so each app)
we'd use translation for. This means we'd also go over thise locale list
(currently containing 750 entries) * apps so often this added up to ~20k
calls.
now we just dump the locales in a set once and then check if the entry
is there.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/l10n/ar.json')
0 files changed, 0 insertions, 0 deletions