diff options
author | sgiehl <stefan@matomo.org> | 2022-10-06 10:50:15 +0300 |
---|---|---|
committer | sgiehl <stefan@matomo.org> | 2022-10-06 10:50:15 +0300 |
commit | b2449c63360084bbb33db5703a2bcab180124c56 (patch) | |
tree | f62055ca9d20492a3aac246b816e76de9eee195f /plugins | |
parent | fde56c153d8d4955d802b06bc52aed8f7c9aec9e (diff) |
fix missing translations
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/Morpheus/tests/UI/expected-screenshots/Morpheus_load.png | 4 | ||||
-rw-r--r-- | plugins/UsersManager/UsersManager.php | 78 |
2 files changed, 54 insertions, 28 deletions
diff --git a/plugins/Morpheus/tests/UI/expected-screenshots/Morpheus_load.png b/plugins/Morpheus/tests/UI/expected-screenshots/Morpheus_load.png index 2f6e7ca0c0..2c4775cb6e 100644 --- a/plugins/Morpheus/tests/UI/expected-screenshots/Morpheus_load.png +++ b/plugins/Morpheus/tests/UI/expected-screenshots/Morpheus_load.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:6713aa6c87ea1b5caecbaa45c766ee7aa8652d1fc4366696ced0c236dc4de7ae -size 1718436 +oid sha256:93d89074a4b1e646f3044436ba16b03ddcb946759f55f7bc981136e379e9feb3 +size 2771043 diff --git a/plugins/UsersManager/UsersManager.php b/plugins/UsersManager/UsersManager.php index b917e8ad8d..de2cc4c97d 100644 --- a/plugins/UsersManager/UsersManager.php +++ b/plugins/UsersManager/UsersManager.php @@ -224,32 +224,6 @@ class UsersManager extends \Piwik\Plugin public function getClientSideTranslationKeys(&$translationKeys) { - $translationKeys[] = "General_Done"; - $translationKeys[] = "General_OrCancel"; - $translationKeys[] = "General_Pagination"; - $translationKeys[] = "General_Password"; - $translationKeys[] = "General_PleaseTryAgain"; - $translationKeys[] = "General_Save"; - $translationKeys[] = "General_Username"; - $translationKeys[] = "UsersManager_AddNewUser"; - $translationKeys[] = "UsersManager_ConfirmGrantSuperUserAccess"; - $translationKeys[] = "UsersManager_ConfirmProhibitMySuperUserAccess"; - $translationKeys[] = "UsersManager_ConfirmProhibitOtherUsersSuperUserAccess"; - $translationKeys[] = "UsersManager_ConfirmWithPassword"; - $translationKeys[] = "UsersManager_DeleteConfirm"; - $translationKeys[] = "UsersManager_ExceptionNoValueForUsernameOrEmail"; - $translationKeys[] = "UsersManager_ExceptionUserHasViewAccessAlready"; - $translationKeys[] = "UsersManager_GiveUserAccess"; - $translationKeys[] = "UsersManager_ManageUsers"; - $translationKeys[] = "UsersManager_ManageUsersAdminDesc"; - $translationKeys[] = "UsersManager_ManageUsersDesc"; - $translationKeys[] = "UsersManager_PrivAdmin"; - $translationKeys[] = "UsersManager_PrivNone"; - $translationKeys[] = "UsersManager_PrivView"; - $translationKeys[] = "UsersManager_RemoveUserAccess"; - $translationKeys[] = "UsersManager_UserHasNoPermission"; - $translationKeys[] = "UsersManager_UserHasPermission"; - $translationKeys[] = "UsersManager_YourCurrentPassword"; $translationKeys[] = 'General_Actions'; $translationKeys[] = 'General_Add'; $translationKeys[] = 'General_AllWebsitesDashboard'; @@ -257,11 +231,18 @@ class UsersManager extends \Piwik\Plugin $translationKeys[] = 'General_CreationDate'; $translationKeys[] = 'General_Delete'; $translationKeys[] = 'General_Description'; + $translationKeys[] = 'General_Done'; $translationKeys[] = 'General_Language'; $translationKeys[] = 'General_Never'; $translationKeys[] = 'General_Note'; $translationKeys[] = 'General_Ok'; + $translationKeys[] = 'General_OrCancel'; + $translationKeys[] = 'General_Pagination'; + $translationKeys[] = 'General_Password'; + $translationKeys[] = 'General_PleaseTryAgain'; + $translationKeys[] = 'General_Save'; $translationKeys[] = 'General_TimeFormat'; + $translationKeys[] = 'General_Username'; $translationKeys[] = 'General_ValidatorErrorEmptyValue'; $translationKeys[] = 'General_Warning'; $translationKeys[] = 'General_Yes'; @@ -272,6 +253,7 @@ class UsersManager extends \Piwik\Plugin $translationKeys[] = 'UsersManager_2FA'; $translationKeys[] = 'UsersManager_Active'; $translationKeys[] = 'UsersManager_AddExistingUser'; + $translationKeys[] = 'UsersManager_AddNewUser'; $translationKeys[] = 'UsersManager_AddSuperuserAccessConfirm'; $translationKeys[] = 'UsersManager_AllUsersAreSelected'; $translationKeys[] = 'UsersManager_AllWebsitesAreSelected'; @@ -296,13 +278,18 @@ class UsersManager extends \Piwik\Plugin $translationKeys[] = 'UsersManager_ClickToSelectAll'; $translationKeys[] = 'UsersManager_ClickToSelectDisplayedUsers'; $translationKeys[] = 'UsersManager_ClickToSelectDisplayedWebsites'; + $translationKeys[] = 'UsersManager_ConfirmGrantSuperUserAccess'; + $translationKeys[] = 'UsersManager_ConfirmProhibitMySuperUserAccess'; + $translationKeys[] = 'UsersManager_ConfirmProhibitOtherUsersSuperUserAccess'; $translationKeys[] = 'UsersManager_ConfirmTokenCopied'; + $translationKeys[] = 'UsersManager_ConfirmWithPassword'; $translationKeys[] = 'UsersManager_CopyDenied'; $translationKeys[] = 'UsersManager_CopyDeniedHints'; $translationKeys[] = 'UsersManager_CopyLink'; $translationKeys[] = 'UsersManager_CreateNewToken'; $translationKeys[] = 'UsersManager_Decline'; $translationKeys[] = 'UsersManager_DeleteAllTokens'; + $translationKeys[] = 'UsersManager_DeleteConfirm'; $translationKeys[] = 'UsersManager_DeleteNotSuccessful'; $translationKeys[] = 'UsersManager_DeletePermConfirmMultiple'; $translationKeys[] = 'UsersManager_DeletePermConfirmSingle'; @@ -317,6 +304,8 @@ class UsersManager extends \Piwik\Plugin $translationKeys[] = 'UsersManager_Email'; $translationKeys[] = 'UsersManager_EmailYourAdministrator'; $translationKeys[] = 'UsersManager_EnterUsernameOrEmail'; + $translationKeys[] = 'UsersManager_ExceptionNoValueForUsernameOrEmail'; + $translationKeys[] = 'UsersManager_ExceptionUserHasViewAccessAlready'; $translationKeys[] = 'UsersManager_ExcludeVisitsViaCookie'; $translationKeys[] = 'UsersManager_ExpireDate'; $translationKeys[] = 'UsersManager_Expired'; @@ -329,6 +318,7 @@ class UsersManager extends \Piwik\Plugin $translationKeys[] = 'UsersManager_FirstWebsitePermission'; $translationKeys[] = 'UsersManager_ForAnonymousUsersReportDateToLoadByDefault'; $translationKeys[] = 'UsersManager_GiveAccessToAll'; + $translationKeys[] = 'UsersManager_GiveUserAccess'; $translationKeys[] = 'UsersManager_GoBackSecurityPage'; $translationKeys[] = 'UsersManager_HasSuperUserAccess'; $translationKeys[] = 'UsersManager_IfYouWouldLikeToChangeThePasswordTypeANewOne'; @@ -346,6 +336,9 @@ class UsersManager extends \Piwik\Plugin $translationKeys[] = 'UsersManager_LastSeen'; $translationKeys[] = 'UsersManager_LastUsed'; $translationKeys[] = 'UsersManager_LinkCopied'; + $translationKeys[] = 'UsersManager_ManageUsers'; + $translationKeys[] = 'UsersManager_ManageUsersAdminDesc'; + $translationKeys[] = 'UsersManager_ManageUsersDesc'; $translationKeys[] = 'UsersManager_NewsletterSignupFailureMessage'; $translationKeys[] = 'UsersManager_NewsletterSignupMessage'; $translationKeys[] = 'UsersManager_NewsletterSignupSuccessMessage'; @@ -358,14 +351,47 @@ class UsersManager extends \Piwik\Plugin $translationKeys[] = 'UsersManager_Pending'; $translationKeys[] = 'UsersManager_Permissions'; $translationKeys[] = 'UsersManager_PleaseStoreToken'; + $translationKeys[] = 'UsersManager_PrivAdmin'; + $translationKeys[] = 'UsersManager_PrivNone'; + $translationKeys[] = 'UsersManager_PrivView'; $translationKeys[] = 'UsersManager_RemovePermissions'; $translationKeys[] = 'UsersManager_RemoveSuperuserAccessConfirm'; + $translationKeys[] = 'UsersManager_RemoveUserAccess'; $translationKeys[] = 'UsersManager_ReportDateToLoadByDefault'; + $translationKeys[] = 'UsersManager_ReportToLoadByDefault'; $translationKeys[] = 'UsersManager_ResendInvite'; $translationKeys[] = 'UsersManager_ResendInviteConfirmSingle'; $translationKeys[] = 'UsersManager_ResendInviteSuccess'; + $translationKeys[] = 'UsersManager_ResetTwoFactorAuthentication'; + $translationKeys[] = 'UsersManager_ResetTwoFactorAuthenticationInfo'; + $translationKeys[] = 'UsersManager_Role'; + $translationKeys[] = 'UsersManager_RoleFor'; + $translationKeys[] = 'UsersManager_RolesHelp'; + $translationKeys[] = 'UsersManager_SaveBasicInfo'; $translationKeys[] = 'UsersManager_SendInvite'; + $translationKeys[] = 'UsersManager_SetPermission'; $translationKeys[] = 'UsersManager_Status'; + $translationKeys[] = 'UsersManager_SuperUserAccess'; + $translationKeys[] = 'UsersManager_SuperUserIntro1'; + $translationKeys[] = 'UsersManager_SuperUserIntro2'; + $translationKeys[] = 'UsersManager_SuperUsersPermissionsNotice'; + $translationKeys[] = 'UsersManager_TheDisplayedUsersAreSelected'; + $translationKeys[] = 'UsersManager_TheDisplayedWebsitesAreSelected'; + $translationKeys[] = 'UsersManager_TokenAuthIntro'; + $translationKeys[] = 'UsersManager_TokenSuccessfullyGenerated'; + $translationKeys[] = 'UsersManager_TokensWithExpireDateCreationBySystem'; + $translationKeys[] = 'UsersManager_TwoFactorAuthentication'; + $translationKeys[] = 'UsersManager_TypeYourCurrentPassword'; + $translationKeys[] = 'UsersManager_TypeYourPasswordAgain'; + $translationKeys[] = 'UsersManager_UserHasNoPermission'; + $translationKeys[] = 'UsersManager_UserHasPermission'; + $translationKeys[] = 'UsersManager_UserSearch'; + $translationKeys[] = 'UsersManager_Username'; + $translationKeys[] = 'UsersManager_UsesTwoFactorAuthentication'; $translationKeys[] = 'UsersManager_WhenUsersAreNotLoggedInAndVisitPiwikTheyShouldAccess'; + $translationKeys[] = 'UsersManager_YourCurrentPassword'; + $translationKeys[] = 'UsersManager_YourUsernameCannotBeChanged'; + $translationKeys[] = 'UsersManager_YourVisitsAreIgnoredOnDomain'; + $translationKeys[] = 'UsersManager_YourVisitsAreNotIgnored'; } } |