From 283a03a7ccd4ea169dddf27d64065d86b96be7af Mon Sep 17 00:00:00 2001 From: alikoli Date: Tue, 15 Aug 2023 16:09:59 +0200 Subject: [PATCH] Fix missing translations part 3 --- .../Modules/Admin/Themes/Index.razor | 2 +- .../Modules/Controls/ActionDialog.razor | 3 +- .../Modules/Controls/RichTextEditor.razor | 2 +- .../Resources/Modules/Admin/Themes/Index.resx | 6 + .../Modules/Admin/Themes/Index.resx.bak | 159 +++++++ .../Modules/Admin/UserProfile/Index.resx | 6 + .../Modules/Admin/UserProfile/Index.resx.bak | 237 ++++++++++ .../Resources/Modules/Admin/Users/Index.resx | 6 + .../Modules/Admin/Users/Index.resx.bak | 405 ++++++++++++++++++ .../Resources/Modules/HtmlText/Edit.resx | 14 +- .../Resources/Modules/HtmlText/Edit.resx.bak | 183 ++++++++ .../Resources/Modules/HtmlText/Index.resx | 5 +- .../Resources/Modules/HtmlText/Index.resx.bak | 128 ++++++ .../Themes/Controls/ControlPanel.resx | 5 +- .../Themes/Controls/ControlPanel.resx.bak | 192 +++++++++ .../Themes/Controls/Theme/ControlPanel.razor | 2 +- 16 files changed, 1348 insertions(+), 7 deletions(-) create mode 100644 Oqtane.Client/Resources/Modules/Admin/Themes/Index.resx.bak create mode 100644 Oqtane.Client/Resources/Modules/Admin/UserProfile/Index.resx.bak create mode 100644 Oqtane.Client/Resources/Modules/Admin/Users/Index.resx.bak create mode 100644 Oqtane.Client/Resources/Modules/HtmlText/Edit.resx.bak create mode 100644 Oqtane.Client/Resources/Modules/HtmlText/Index.resx.bak create mode 100644 Oqtane.Client/Resources/Themes/Controls/ControlPanel.resx.bak diff --git a/Oqtane.Client/Modules/Admin/Themes/Index.razor b/Oqtane.Client/Modules/Admin/Themes/Index.razor index 198889fe..ebeef056 100644 --- a/Oqtane.Client/Modules/Admin/Themes/Index.razor +++ b/Oqtane.Client/Modules/Admin/Themes/Index.razor @@ -29,7 +29,7 @@ else   - + @if (context.AssemblyName != Constants.ClientId) { diff --git a/Oqtane.Client/Modules/Controls/ActionDialog.razor b/Oqtane.Client/Modules/Controls/ActionDialog.razor index aeda66ba..9cb5fd7f 100644 --- a/Oqtane.Client/Modules/Controls/ActionDialog.razor +++ b/Oqtane.Client/Modules/Controls/ActionDialog.razor @@ -1,6 +1,7 @@ @namespace Oqtane.Modules.Controls @using System.Text.Json @inherits LocalizableComponent +@inject IStringLocalizer SharedLocalizer @if (_visible) { @@ -20,7 +21,7 @@ { } - + diff --git a/Oqtane.Client/Modules/Controls/RichTextEditor.razor b/Oqtane.Client/Modules/Controls/RichTextEditor.razor index 2231b02f..ca490d52 100644 --- a/Oqtane.Client/Modules/Controls/RichTextEditor.razor +++ b/Oqtane.Client/Modules/Controls/RichTextEditor.razor @@ -5,7 +5,7 @@
- + @if (_richfilemanager) { diff --git a/Oqtane.Client/Resources/Modules/Admin/Themes/Index.resx b/Oqtane.Client/Resources/Modules/Admin/Themes/Index.resx index 3c5074b4..e8e41589 100644 --- a/Oqtane.Client/Resources/Modules/Admin/Themes/Index.resx +++ b/Oqtane.Client/Resources/Modules/Admin/Themes/Index.resx @@ -138,6 +138,9 @@ Delete Theme + + Delete + Create Theme @@ -147,6 +150,9 @@ View + + Edit + Enabled? diff --git a/Oqtane.Client/Resources/Modules/Admin/Themes/Index.resx.bak b/Oqtane.Client/Resources/Modules/Admin/Themes/Index.resx.bak new file mode 100644 index 00000000..78f69fd8 --- /dev/null +++ b/Oqtane.Client/Resources/Modules/Admin/Themes/Index.resx.bak @@ -0,0 +1,159 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Theme Installed Successfully. You Must <a href={0}>Restart</a> Your Application To Apply These Changes. + + + Error Downloading Theme + + + Are You Sure You Wish To Delete The {0} Theme? + + + Error Loading Themes + + + Theme Deleted Successfully + + + Error Deleting Theme + + + Delete Theme + + + Delete2 + + + Create Theme + + + Install Theme + + + View + + + Edit2 + + + Enabled? + + \ No newline at end of file diff --git a/Oqtane.Client/Resources/Modules/Admin/UserProfile/Index.resx b/Oqtane.Client/Resources/Modules/Admin/UserProfile/Index.resx index 3a9a097b..7021f4a8 100644 --- a/Oqtane.Client/Resources/Modules/Admin/UserProfile/Index.resx +++ b/Oqtane.Client/Resources/Modules/Admin/UserProfile/Index.resx @@ -228,4 +228,10 @@ Profile + + View + + + Delete + \ No newline at end of file diff --git a/Oqtane.Client/Resources/Modules/Admin/UserProfile/Index.resx.bak b/Oqtane.Client/Resources/Modules/Admin/UserProfile/Index.resx.bak new file mode 100644 index 00000000..78fbaaca --- /dev/null +++ b/Oqtane.Client/Resources/Modules/Admin/UserProfile/Index.resx.bak @@ -0,0 +1,237 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Passwords Entered Do Not Match + + + Password Provided Does Not Meet The Complexity Policy + + + From + + + Subject + + + Received + + + To + + + Sent + + + Inbox + + + Sent Items + + + Current User Is Not Logged In + + + Error Loading User Profile + + + User Profile Updated Successfully + + + You Must Provide A Username and Email Address As Well As All Required Profile Information + + + Error Saving User Profile + + + Send Notification + + + Delete Notification + + + Are You Sure You Wish To Delete This Notification? + + + Identity + + + If you are changing your password you must enter it again to confirm it matches the value entered above + + + Confirmation: + + + Your full name + + + Full Name: + + + Your email address where you wish to receive notifications + + + Email: + + + If you wish to change your password you can enter it here. Please choose a sufficiently secure password. + + + Password: + + + A photo of yourself + + + Photo: + + + Your username. Note that this field can not be modified. + + + Username: + + + Indicates if you are using two factor authentication. Two factor authentication requires you to enter a verification code sent via email after you sign in. + + + Two Factor? + + + Clear Notifications + + + Are You Sure You Wish To Permanently Delete All Notifications? + + + Delete ALL Notifications + + + Notifications + + + Profile + + + View2 + + + Delete2 + + \ No newline at end of file diff --git a/Oqtane.Client/Resources/Modules/Admin/Users/Index.resx b/Oqtane.Client/Resources/Modules/Admin/Users/Index.resx index 6b26fb12..a8ede28b 100644 --- a/Oqtane.Client/Resources/Modules/Admin/Users/Index.resx +++ b/Oqtane.Client/Resources/Modules/Admin/Users/Index.resx @@ -396,4 +396,10 @@ User Profile Claims: + + User Name + + + Name + \ No newline at end of file diff --git a/Oqtane.Client/Resources/Modules/Admin/Users/Index.resx.bak b/Oqtane.Client/Resources/Modules/Admin/Users/Index.resx.bak new file mode 100644 index 00000000..ade3095a --- /dev/null +++ b/Oqtane.Client/Resources/Modules/Admin/Users/Index.resx.bak @@ -0,0 +1,405 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Are You Sure You Wish To Delete {0}? + + + Add User + + + Delete User + + + Do you want anonymous visitors to be able to register for an account on the site + + + Allow Registration? + + + Error Saving Settings + + + Settings + + + Settings Saved Successfully + + + Users + + + Delete + + + Edit + + + Roles + + + The number of minutes a user should be locked out + + + Lockout Duration: + + + The maximum number of sign in attempts before a user is locked out + + + Maximum Failures: + + + Indicate if passwords must contain a digit + + + Require Digit? + + + The minimum length for a password + + + Minimum Length: + + + Indicate if passwords must contain a lower case character + + + Require Lowercase? + + + Indicate if passwords must contain a non-alphanumeric character (ie. punctuation) + + + Require Punctuation? + + + Indicate if passwords must contain an upper case character + + + Require Uppercase? + + + Configuration Updated. Please Select Restart Application For These Changes To Be Activated. + + + The minimum number of unique characters which a password must contain + + + Unique Characters: + + + Do you want to allow users to sign in using a username and password that is managed locally on this site? Note that you should only disable this option if you have already sucessfully configured an external login provider, or else you may lock yourself out of the site. + + + Allow Login? + + + The authority url or issuer url associated with the identity provider + + + Authority: + + + The endpoint for obtaining an authorization code + + + Authorization Url: + + + The client id for the identity provider + + + Client ID: + + + The client secret for the identity provider + + + Client Secret: + + + Do you want new users to be created automatically? If you disable this option, users must already be registered on the site in order to sign in with their external login. + + + Create New Users? + + + Provide any email domain filter criteria (separated by commas). Domains to exclude should be prefixed with an exclamation point (!). For example 'microsoft.com,!hotmail.com' would include microsoft.com email addresses but not hotmail.com email addresses. + + + Domain Filter: + + + The name of the email address claim provided by the identity provider + + + Email Claim: + + + External Login Settings + + + Lockout Settings + + + The discovery endpoint for obtaining metadata for this identity provider. Only specify if the identity provider does not use the standard approach (ie. /.well-known/openid-configuration) + + + Metadata Url: + + + Password Settings + + + Indicate if the identity provider supports proof key for code exchange (PKCE) + + + Use PKCE? + + + The external login provider name which will be displayed on the login page + + + Provider Name: + + + Select the external login provider type + + + Provider Type: + + + The redirect url (or callback url) which usually needs to be registered with the identity provider + + + Redirect Url: + + + A list of scopes to request from the identity provider (separated by commas). If none are specified, standard Scopes will be used by default. + + + Scopes: + + + The endpoint for obtaining an auth token + + + Token Url: + + + The endpoint for obtaining user information. This should be an API endpoint or page url which contains the users email address. + + + User Info Url: + + + Optionally provide the audience for the token + + + Audience: + + + User Settings + + + You can choose to use a custom authentication cookie name for each site. However please be aware that if you want to share an authentication cookie between sites on the same domain they need to use a consistent cookie name. Also be aware that changing the authentication cookie name will logout all current users. + + + Cookie Name: + + + Create Token + + + Optionally provide the issuer of the token + + + Issuer: + + + The number of minutes for which a token should be valid + + + Lifetime: + + + If you want to want to provide API access, please specify a secret which will be used to encrypt your tokens. The secret should be 16 characters or more to ensure optimal security. Please note that if you change this secret, all existing tokens will become invalid and will need to be regenerated. + + + Secret: + + + Select the Create Token button to generate a long-lived access token (valid for 1 year). Be sure to store this token in a safe location as you will not be able to access it in the future. + + + Token: + + + Token Settings + + + Do you want users to use two factor authentication? Note that you should use the Disabled option until you have successfully verified that the Notification Job in Scheduled Jobs is enabled and your SMTP options in Site Settings are configured or else you will lock yourself out. + + + Two Factor? + + + Disabled + + + Optional + + + Required + + + Last Login + + + The name of the unique user identifier claim provided by the identity provider + + + Identifier Claim: + + + Optionally specify any additional parameters as name/value pairs to send to the identity provider (separated by commas if there are multiple). + + + Parameters: + + + Optionally provide the name of the role claim provided by the identity provider. These roles will be used in addition to any internal user roles assigned within the site. + + + Role Claim: + + + Optionally provide a comma delimited list of user profile claims provided by the identity provider, as well as mappings to your user profile definition. For example if the identity provider includes a 'given_name' claim and you have a 'FirstName' user profile definition you should specify 'given_name:FirstName'. + + + User Profile Claims: + + + User Name2 + + + Name2 + + \ No newline at end of file diff --git a/Oqtane.Client/Resources/Modules/HtmlText/Edit.resx b/Oqtane.Client/Resources/Modules/HtmlText/Edit.resx index c0e62bdc..08f56eb5 100644 --- a/Oqtane.Client/Resources/Modules/HtmlText/Edit.resx +++ b/Oqtane.Client/Resources/Modules/HtmlText/Edit.resx @@ -1,4 +1,4 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Are You Sure You Wish To Delete The {0} Version? + + + Are You Sure You Wish To Restore The {0} Version? + + + Created By + + + Created On + + + Delete Version + + + Delete + + + Error Deleting Version + + + An Error Occurred Loading Content + + + Error Restoring Version + + + An Error Occurred Saving Content + + + Error Viewing Version + + + Version Deleted + + + Version Restored + + + Edit Html/Text + + + Restore Version + + + Restore + + + View + + + Edit2 + + + Versions2 + + + Raw HTML Editor2 + + + Rich Text Editor 2 + + \ No newline at end of file diff --git a/Oqtane.Client/Resources/Modules/HtmlText/Index.resx b/Oqtane.Client/Resources/Modules/HtmlText/Index.resx index 1e0f92e6..8ea8db4a 100644 --- a/Oqtane.Client/Resources/Modules/HtmlText/Index.resx +++ b/Oqtane.Client/Resources/Modules/HtmlText/Index.resx @@ -1,4 +1,4 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Edit + + Edit2 + + + An Error Occurred Loading Content + + \ No newline at end of file diff --git a/Oqtane.Client/Resources/Themes/Controls/ControlPanel.resx b/Oqtane.Client/Resources/Themes/Controls/ControlPanel.resx index 913e111d..92e68765 100644 --- a/Oqtane.Client/Resources/Themes/Controls/ControlPanel.resx +++ b/Oqtane.Client/Resources/Themes/Controls/ControlPanel.resx @@ -1,4 +1,4 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Control Panel + + + Admin Dashboard + + + Unpublish Page + + + Publish Page + + + Delete Page + + + Add New Module + + + Add Existing Module + + + Modules + + + Select Page + + + Add Module To Page + + + Container: + + + Not Authorized + + + You Must Select A Module + + + Module Management: + + + Select Module + + + Page Management: + + + Pane: + + + Module Added to Page + + + Title: + + + Check For System Updates + + + Visibility: + + + Page Editors Only + + + Same As Page + + + Are You Sure You Want To Delete This Page?2 + + \ No newline at end of file diff --git a/Oqtane.Client/Themes/Controls/Theme/ControlPanel.razor b/Oqtane.Client/Themes/Controls/Theme/ControlPanel.razor index c7fb9b0c..2484526a 100644 --- a/Oqtane.Client/Themes/Controls/Theme/ControlPanel.razor +++ b/Oqtane.Client/Themes/Controls/Theme/ControlPanel.razor @@ -98,7 +98,7 @@