diff options
author | Simon L <szaimen@e.mail.de> | 2022-10-28 09:34:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-28 09:34:33 +0200 |
commit | d6ea109733ed06563111dd297754e7628ea44af3 (patch) | |
tree | 32c9db55da8211599748d3a1d8d8ec6ab1265048 | |
parent | 08e11d7e147163119d9ea2070e6ab986489a9acd (diff) | |
parent | 087deb9f1b45b9d9227cf5e82a18b21c6f788ff6 (diff) | |
download | nextcloud-server-d6ea109733ed06563111dd297754e7628ea44af3.tar.gz nextcloud-server-d6ea109733ed06563111dd297754e7628ea44af3.zip |
Merge pull request #34858 from raboof/disable-browser-translation
Disable browser translations
-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 | ||||
-rw-r--r-- | core/templates/layout.user.php | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/core/templates/layout.base.php b/core/templates/layout.base.php index d8a54bfec2e..b4cc9acd194 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']); ?>" data-locale="<?php p($_['locale']); ?>" > +<html class="ng-csp" data-placeholder-focus="false" lang="<?php p($_['language']); ?>" data-locale="<?php p($_['locale']); ?>" translate="no" > <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 c275d9746b7..17f64e16edc 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']); ?>" data-locale="<?php p($_['locale']); ?>" > +<html class="ng-csp" data-placeholder-focus="false" lang="<?php p($_['language']); ?>" data-locale="<?php p($_['locale']); ?>" translate="no" > <head <?php if ($_['user_uid']) { ?> data-user="<?php p($_['user_uid']); ?>" data-user-displayname="<?php p($_['user_displayname']); ?>" diff --git a/core/templates/layout.public.php b/core/templates/layout.public.php index 7cff44fbc04..736a49eff22 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']); ?>" data-locale="<?php p($_['locale']); ?>" > +<html class="ng-csp" data-placeholder-focus="false" lang="<?php p($_['language']); ?>" data-locale="<?php p($_['locale']); ?>" translate="no" > <head data-requesttoken="<?php p($_['requesttoken']); ?>"> <meta charset="utf-8"> <title> diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php index 6fccfb6fa40..8ed5234bd28 100644 --- a/core/templates/layout.user.php +++ b/core/templates/layout.user.php @@ -13,7 +13,7 @@ $getUserAvatar = static function (int $size) use ($_): string { } ?><!DOCTYPE html> -<html class="ng-csp" data-placeholder-focus="false" lang="<?php p($_['language']); ?>" data-locale="<?php p($_['locale']); ?>" > +<html class="ng-csp" data-placeholder-focus="false" lang="<?php p($_['language']); ?>" data-locale="<?php p($_['locale']); ?>" translate="no" > <head data-user="<?php p($_['user_uid']); ?>" data-user-displayname="<?php p($_['user_displayname']); ?>" data-requesttoken="<?php p($_['requesttoken']); ?>"> <meta charset="utf-8"> <title> |