diff options
| author | ivarlovlie <git@ivarlovlie.no> | 2023-02-25 13:15:44 +0100 |
|---|---|---|
| committer | ivarlovlie <git@ivarlovlie.no> | 2023-02-25 13:15:44 +0100 |
| commit | 900bb5e845c3ad44defbd427cae3d44a4a43321f (patch) | |
| tree | df3d96a93771884add571e82336c29fc3d9c7a1c /code/api/src/Resources | |
| download | greatoffice-900bb5e845c3ad44defbd427cae3d44a4a43321f.tar.xz greatoffice-900bb5e845c3ad44defbd427cae3d44a4a43321f.zip | |
feat: Initial commit
Diffstat (limited to 'code/api/src/Resources')
| -rw-r--r-- | code/api/src/Resources/SharedResources.cs | 4 | ||||
| -rw-r--r-- | code/api/src/Resources/SharedResources.en.Designer.cs | 84 | ||||
| -rw-r--r-- | code/api/src/Resources/SharedResources.en.resx | 45 | ||||
| -rw-r--r-- | code/api/src/Resources/SharedResources.nb.Designer.cs | 120 | ||||
| -rw-r--r-- | code/api/src/Resources/SharedResources.nb.resx | 101 | ||||
| -rw-r--r-- | code/api/src/Resources/SharedResources.resx | 33 |
6 files changed, 387 insertions, 0 deletions
diff --git a/code/api/src/Resources/SharedResources.cs b/code/api/src/Resources/SharedResources.cs new file mode 100644 index 0000000..f98895b --- /dev/null +++ b/code/api/src/Resources/SharedResources.cs @@ -0,0 +1,4 @@ +namespace IOL.GreatOffice.Api.Resources; + +public class SharedResources +{ }
\ No newline at end of file diff --git a/code/api/src/Resources/SharedResources.en.Designer.cs b/code/api/src/Resources/SharedResources.en.Designer.cs new file mode 100644 index 0000000..02ada48 --- /dev/null +++ b/code/api/src/Resources/SharedResources.en.Designer.cs @@ -0,0 +1,84 @@ +//------------------------------------------------------------------------------ +// <auto-generated> +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// </auto-generated> +//------------------------------------------------------------------------------ + +namespace IOL.GreatOffice.Api.Resources { + using System; + + + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class SharedResources_en { + + private static System.Resources.ResourceManager resourceMan; + + private static System.Globalization.CultureInfo resourceCulture; + + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal SharedResources_en() { + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + internal static System.Resources.ResourceManager ResourceManager { + get { + if (object.Equals(null, resourceMan)) { + System.Resources.ResourceManager temp = new System.Resources.ResourceManager("IOL.GreatOffice.Api.Resources.SharedResources_en", typeof(SharedResources_en).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + internal static System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + + internal static string Name_is_a_required_field { + get { + return ResourceManager.GetString("Name is a required field", resourceCulture); + } + } + + internal static string Start_is_a_required_field { + get { + return ResourceManager.GetString("Start is a required field", resourceCulture); + } + } + + internal static string Invalid_form { + get { + return ResourceManager.GetString("Invalid form", resourceCulture); + } + } + + internal static string One_or_more_validation_errors_occured { + get { + return ResourceManager.GetString("One or more validation errors occured", resourceCulture); + } + } + + internal static string One_or_more_fields_is_invalid { + get { + return ResourceManager.GetString("One or more fields is invalid", resourceCulture); + } + } + + internal static string Invalid_username_or_password { + get { + return ResourceManager.GetString("Invalid username or password", resourceCulture); + } + } + } +} diff --git a/code/api/src/Resources/SharedResources.en.resx b/code/api/src/Resources/SharedResources.en.resx new file mode 100644 index 0000000..87e46e0 --- /dev/null +++ b/code/api/src/Resources/SharedResources.en.resx @@ -0,0 +1,45 @@ +<?xml version="1.0" encoding="utf-8"?> + +<root> + <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> + <xsd:element name="root" msdata:IsDataSet="true"> + + </xsd:element> + </xsd:schema> + <resheader name="resmimetype"> + <value>text/microsoft-resx</value> + </resheader> + <resheader name="version"> + <value>1.3</value> + </resheader> + <resheader name="reader"> + <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> + <resheader name="writer"> + <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> + <data name="Name is a required field" xml:space="preserve"> + <value>Name is a required field</value> + <comment>Name is a required field</comment> + </data> + <data name="Start is a required field" xml:space="preserve"> + <value>Start is a required field</value> + <comment>Start is a required field</comment> + </data> + <data name="Invalid form" xml:space="preserve"> + <value>Invalid form</value> + <comment>Invalid form</comment> + </data> + <data name="One or more validation errors occured" xml:space="preserve"> + <value>One or more validation errors occured</value> + <comment>One or more validation errors occured</comment> + </data> + <data name="One or more fields is invalid" xml:space="preserve"> + <value>One or more fields is invalid</value> + <comment>One or more fields is invalid</comment> + </data> + <data name="Invalid username or password" xml:space="preserve"> + <value>Invalid username or password</value> + <comment>Invalid username or password</comment> + </data> +</root>
\ No newline at end of file diff --git a/code/api/src/Resources/SharedResources.nb.Designer.cs b/code/api/src/Resources/SharedResources.nb.Designer.cs new file mode 100644 index 0000000..d6095f3 --- /dev/null +++ b/code/api/src/Resources/SharedResources.nb.Designer.cs @@ -0,0 +1,120 @@ +//------------------------------------------------------------------------------ +// <auto-generated> +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// </auto-generated> +//------------------------------------------------------------------------------ + +namespace IOL.GreatOffice.Api.Resources { + using System; + + + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class SharedResources_nb { + + private static System.Resources.ResourceManager resourceMan; + + private static System.Globalization.CultureInfo resourceCulture; + + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal SharedResources_nb() { + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + internal static System.Resources.ResourceManager ResourceManager { + get { + if (object.Equals(null, resourceMan)) { + System.Resources.ResourceManager temp = new System.Resources.ResourceManager("IOL.GreatOffice.Api.Resources.SharedResources_nb", typeof(SharedResources_nb).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + internal static System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + + internal static string Name_is_a_required_field { + get { + return ResourceManager.GetString("Name is a required field", resourceCulture); + } + } + + internal static string Start_is_a_required_field { + get { + return ResourceManager.GetString("Start is a required field", resourceCulture); + } + } + + internal static string Invalid_form { + get { + return ResourceManager.GetString("Invalid form", resourceCulture); + } + } + + internal static string One_or_more_fields_is_invalid { + get { + return ResourceManager.GetString("One or more fields is invalid", resourceCulture); + } + } + + internal static string Invalid_username_or_password { + get { + return ResourceManager.GetString("Invalid username or password", resourceCulture); + } + } + + internal static string One_or_more_validation_errors_occured { + get { + return ResourceManager.GetString("One or more validation errors occured", resourceCulture); + } + } + + internal static string Greatoffice_Email_Validation { + get { + return ResourceManager.GetString("Greatoffice Email Validation", resourceCulture); + } + } + + internal static string Reset_password___Greatoffice { + get { + return ResourceManager.GetString("Reset password - Greatoffice", resourceCulture); + } + } + + internal static string The_password_requires_6_or_more_characters_ { + get { + return ResourceManager.GetString("The password requires 6 or more characters.", resourceCulture); + } + } + + internal static string There_is_already_a_user_registered_with_username___username_ { + get { + return ResourceManager.GetString("There is already a user registered with username: {username}", resourceCulture); + } + } + + internal static string _username__does_not_look_like_a_valid_email { + get { + return ResourceManager.GetString("{username} does not look like a valid email", resourceCulture); + } + } + + internal static string Could_not_create_your_account__try_again_soon_ { + get { + return ResourceManager.GetString("Could not create your account, try again soon.", resourceCulture); + } + } + } +} diff --git a/code/api/src/Resources/SharedResources.nb.resx b/code/api/src/Resources/SharedResources.nb.resx new file mode 100644 index 0000000..b3513c9 --- /dev/null +++ b/code/api/src/Resources/SharedResources.nb.resx @@ -0,0 +1,101 @@ +<?xml version="1.0" encoding="utf-8"?> + +<root> + <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" + xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> + <xsd:element name="root" msdata:IsDataSet="true"> + + </xsd:element> + </xsd:schema> + <resheader name="resmimetype"> + <value>text/microsoft-resx</value> + </resheader> + <resheader name="version"> + <value>1.3</value> + </resheader> + <resheader name="reader"> + <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, + PublicKeyToken=b77a5c561934e089 + </value> + </resheader> + <resheader name="writer"> + <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, + PublicKeyToken=b77a5c561934e089 + </value> + </resheader> + <data name="Name is a required field" xml:space="preserve"> + <value>Navn er et påkrevd felt</value> + <comment>Name is a required field</comment> + </data> + <data name="Start is a required field" xml:space="preserve"> + <value>Start er et påkrevd felt</value> + <comment>Start is a required field</comment> + </data> + <data name="Invalid form" xml:space="preserve"> + <value>Ugyldig skjema</value> + <comment>Invalid form</comment> + </data> + <data name="One or more fields is invalid" xml:space="preserve"> + <comment>One or more fields is invalid</comment> + <value>En eller flere felt er ugyldige</value> + </data> + <data name="Invalid username or password" xml:space="preserve"> + <value>Ugyldig brukernavn eller passord</value> + <comment>Invalid username or password</comment> + </data> + <data name="One or more validation errors occured" xml:space="preserve"> + <value>En eller flere valideringsfeil har oppstått</value> + </data> + <data name="Hello, {0}.

Validate your email address by opening this link in a browser {1}" + xml:space="preserve"> + <value>Hei, {0}. + +Bekreft din e-postadresse ved å åpne denne lenken i en nettleser {1}</value> + <comment>Hello, {0}. + + Validate your email address by opening this link in a browser {1}</comment> + </data> + <data name="Greatoffice Email Validation" xml:space="preserve"> + <value>Greatoffice e-postaddresse bekreftelse</value> + <comment>Greatoffice Email Validation</comment> + </data> + <data name="Hi {0},

Go to the following link to set a new password.

{1}/reset-password/{2}

The link expires at {3}.
If you did not request a password reset, no action is required." + xml:space="preserve"> + <value>Hei {0}, + +Åpne denne lenken i en nettleser for å sette nytt passord. + +{1}/reset-password/{2} + +Lenken utgår {3}. +Hvis du ikke vet hva dette gjelder, kan du se bort i fra mailen.</value> + <comment>Hi {0}, + + Go to the following link to set a new password. + + {1}/reset-password/{2} + + The link expires at {3}. + If you did not request a password reset, no action is required.</comment> + </data> + <data name="Reset password - Greatoffice" xml:space="preserve"> + <value>Sett nytt passord - Greatoffice</value> + <comment>Reset password - Greatoffice</comment> + </data> + <data name="The password requires 6 or more characters." xml:space="preserve"> + <value>Passordet må være 6 eller flere tegn.</value> + <comment>The password requires 6 or more characters.</comment> + </data> + <data name="There is already a user registered with username: {username}" xml:space="preserve"> + <value>Det finnes allerede en bruker med brukernavnet: {username}</value> + <comment>There is already a user registered with username: {username}</comment> + </data> + <data name="{username} does not look like a valid email" xml:space="preserve"> + <value>{username} ser ikke ut som en gyldig e-postadresse</value> + <comment>{username} does not look like a valid email</comment> + </data> + <data name="Could not create your account, try again soon." xml:space="preserve"> + <value>Kunne ikke lage din konto, prøv igjen snart.</value> + <comment>Could not create your account, try again soon.</comment> + </data> +</root>
\ No newline at end of file diff --git a/code/api/src/Resources/SharedResources.resx b/code/api/src/Resources/SharedResources.resx new file mode 100644 index 0000000..833428b --- /dev/null +++ b/code/api/src/Resources/SharedResources.resx @@ -0,0 +1,33 @@ +<root> + <resheader name="resmimetype"> + <value>text/microsoft-resx</value> + </resheader> + <resheader name="version"> + <value>1.3</value> + </resheader> + <resheader name="reader"> + <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> + <resheader name="writer"> + <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> + <data name="Name is a required field" xml:space="preserve"> + <value>Name is a required field</value> + <comment>Name is a required field</comment> + </data> + <data name="Start is a required field" xml:space="preserve"> + <value>Start is a required field</value> + <comment>Start is a required field</comment> + </data> + <data name="Invalid form" xml:space="preserve"> + <value>Invalid form</value> + <comment>Invalid form</comment> + </data> + <data name="One or more fields is invalid" xml:space="preserve"> + <value>One or more fields is invalid</value> + <comment>One or more fields is invalid</comment> + </data> + <data name="Invalid username or password" xml:space="preserve"> + <value /> + </data> +</root>
\ No newline at end of file |
