diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-07-06 10:15:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-06 10:15:51 +0200 |
commit | 8969e100a0f6115319b10c656ffaf343d1aff11f (patch) | |
tree | 8f71ac812da6f606959c96ebf45a74b4bdf6f3e9 | |
parent | de9ab49558b04c143f5c2d78ecc38651f6881fb9 (diff) | |
parent | 7b848368d52ea84f3ce8e8b8792263de9f394c60 (diff) | |
download | nextcloud-server-8969e100a0f6115319b10c656ffaf343d1aff11f.tar.gz nextcloud-server-8969e100a0f6115319b10c656ffaf343d1aff11f.zip |
Merge pull request #10128 from nextcloud/fix/noid/add_locale_to_templates
Add locale to templates
-rw-r--r-- | core/templates/layout.base.php | 2 | ||||
-rw-r--r-- | core/templates/layout.guest.php | 2 | ||||
-rw-r--r-- | core/templates/layout.public.php | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/core/templates/layout.base.php b/core/templates/layout.base.php index 0529521bcdd..2d4fc726661 100644 --- a/core/templates/layout.base.php +++ b/core/templates/layout.base.php @@ -1,5 +1,5 @@ <!DOCTYPE html> -<html class="ng-csp" data-placeholder-focus="false" lang="<?php p($_['language']); ?>" > +<html class="ng-csp" data-placeholder-focus="false" lang="<?php p($_['language']); ?>" data-locale="<?php p($_['locale']); ?>" > <head data-requesttoken="<?php p($_['requesttoken']); ?>"> <meta charset="utf-8"> <title> diff --git a/core/templates/layout.guest.php b/core/templates/layout.guest.php index a53cd82fcfd..ae685959351 100644 --- a/core/templates/layout.guest.php +++ b/core/templates/layout.guest.php @@ -1,5 +1,5 @@ <!DOCTYPE html> -<html class="ng-csp" data-placeholder-focus="false" lang="<?php p($_['language']); ?>" > +<html class="ng-csp" data-placeholder-focus="false" lang="<?php p($_['language']); ?>" data-locale="<?php p($_['locale']); ?>" > <head data-requesttoken="<?php p($_['requesttoken']); ?>"> <meta charset="utf-8"> <title> diff --git a/core/templates/layout.public.php b/core/templates/layout.public.php index abd7e942c04..78f46f48a5a 100644 --- a/core/templates/layout.public.php +++ b/core/templates/layout.public.php @@ -1,5 +1,5 @@ <!DOCTYPE html> -<html class="ng-csp" data-placeholder-focus="false" lang="<?php p($_['language']); ?>" > +<html class="ng-csp" data-placeholder-focus="false" lang="<?php p($_['language']); ?>" data-locale="<?php p($_['locale']); ?>" > <head data-user="<?php p($_['user_uid']); ?>" data-user-displayname="<?php p($_['user_displayname']); ?>" data-requesttoken="<?php p($_['requesttoken']); ?>"> <meta charset="utf-8"> <title> |