Skip to content

Commit 5fe77bf

Browse files
author
=
committed
Added Resources
1 parent 3dabf88 commit 5fe77bf

File tree

2 files changed

+35
-0
lines changed

2 files changed

+35
-0
lines changed

lib/Resources/ErrorMessages.resx

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<root>
3+
<data name="400" xml:space="preserve">
4+
<value>Invalid request. Please provide valid data.</value>
5+
</data>
6+
<data name="401" xml:space="preserve">
7+
<value>Authentication required. Please provide valid credentials.</value>
8+
</data>
9+
<data name="403" xml:space="preserve">
10+
<value>Access denied. You are not authorized to perform this action.</value>
11+
</data>
12+
<data name="404" xml:space="preserve">
13+
<value>We couldn't find what you were looking for.</value>
14+
</data>
15+
<data name="500" xml:space="preserve">
16+
<value>Something went wrong on the server. Please contact the administrator.</value>
17+
</data>
18+
<!-- Add more resource entries as needed -->
19+
</root>
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<root>
3+
<data name="Length" xml:space="preserve">
4+
<value>The field {0} must be between {1} and {2} characters.</value>
5+
</data>
6+
<data name="Email" xml:space="preserve">
7+
<value>The field {0} is an invalid email address.</value>
8+
</data>
9+
<data name="Required" xml:space="preserve">
10+
<value>The field {0} is required.</value>
11+
</data>
12+
<data name="NumberType" xml:space="preserve">
13+
<value>The field {0} must be a valid number.</value>
14+
</data>
15+
<!-- Add more resource entries as needed -->
16+
</root>

0 commit comments

Comments
 (0)