Skip to content

Commit

Permalink
Updated translations
Browse files Browse the repository at this point in the history
  • Loading branch information
0xJacky committed Aug 17, 2022
1 parent b112ee0 commit 1dc5f71
Show file tree
Hide file tree
Showing 9 changed files with 141 additions and 95 deletions.
3 changes: 2 additions & 1 deletion frontend/src/language/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,6 @@ export const msg = [
$gettext('Writing certificate to disk'),
$gettext('Writing certificate private key to disk'),
$gettext('Reloading nginx'),
$gettext('Finished')
$gettext('Finished'),
$gettext('Issued certificate successfully')
]
58 changes: 35 additions & 23 deletions frontend/src/language/en/app.po
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ msgstr ""
msgid "Add Directive Below"
msgstr "Add Directive Below"

#: src/views/domain/ngx_conf/LocationEditor.vue:19
#: src/views/domain/ngx_conf/LocationEditor.vue:34
#: src/views/domain/ngx_conf/LocationEditor.vue:31
#: src/views/domain/ngx_conf/LocationEditor.vue:46
msgid "Add Location"
msgstr "Add Location"

Expand All @@ -52,11 +52,16 @@ msgstr "Are you sure you want to remove this directive?"
msgid "Are you sure you want to remove this directive?"
msgstr "Are you sure you want to remove this directive?"

#: src/views/domain/cert/IssueCert.vue:77
#: src/views/domain/ngx_conf/LocationEditor.vue:17
#, fuzzy
msgid "Are you sure you want to remove this location?"
msgstr "Are you sure you want to remove this directive?"

#: src/views/domain/cert/IssueCert.vue:78
msgid "Auto-renewal disabled for %{name}"
msgstr "Auto-renewal disabled for %{name}"

#: src/views/domain/cert/IssueCert.vue:71
#: src/views/domain/cert/IssueCert.vue:72
msgid "Auto-renewal enabled for %{name}"
msgstr "Auto-renewal enabled for %{name}"

Expand Down Expand Up @@ -99,9 +104,9 @@ msgid "Certificate Status"
msgstr "Certificate Status"

#: src/views/domain/ngx_conf/directive/DirectiveEditor.vue:29
#: src/views/domain/ngx_conf/LocationEditor.vue:21
#: src/views/domain/ngx_conf/LocationEditor.vue:33
#: src/views/domain/ngx_conf/LocationEditor.vue:7
#: src/views/domain/ngx_conf/NgxConfigEditor.vue:155
#: src/views/domain/ngx_conf/NgxConfigEditor.vue:156
msgid "Comments"
msgstr "Comments"

Expand All @@ -118,7 +123,7 @@ msgid "Configure SSL"
msgstr "Configure SSL"

#: src/views/domain/ngx_conf/LocationEditor.vue:13
#: src/views/domain/ngx_conf/LocationEditor.vue:27
#: src/views/domain/ngx_conf/LocationEditor.vue:39
msgid "Content"
msgstr "Content"

Expand Down Expand Up @@ -175,7 +180,7 @@ msgstr "Directive"
msgid "Directives"
msgstr "Directives"

#: src/views/domain/cert/IssueCert.vue:79
#: src/views/domain/cert/IssueCert.vue:80
msgid "Disable auto-renewal failed for %{name}"
msgstr "Disable auto-renewal failed for %{name}"

Expand Down Expand Up @@ -212,7 +217,7 @@ msgstr "Edit Site"
msgid "Email (*)"
msgstr "Email (*)"

#: src/views/domain/cert/IssueCert.vue:73
#: src/views/domain/cert/IssueCert.vue:74
msgid "Enable auto-renewal failed for %{name}"
msgstr "Enable auto-renewal failed for %{name}"

Expand All @@ -235,7 +240,7 @@ msgstr "Enabled"
msgid "Enabled successfully"
msgstr "Enabled successfully"

#: src/views/domain/cert/IssueCert.vue:3
#: src/views/domain/cert/IssueCert.vue:17
msgid "Encrypt website with Let's Encrypt"
msgstr "Encrypt website with Let's Encrypt"

Expand Down Expand Up @@ -267,7 +272,7 @@ msgstr "Finished"
msgid "Generating private key for registering account"
msgstr ""

#: src/views/domain/cert/IssueCert.vue:85
#: src/views/domain/cert/IssueCert.vue:103
msgid "Getting the certificate, please wait..."
msgstr "Getting the certificate, please wait..."

Expand All @@ -288,6 +293,11 @@ msgstr "Enabled successfully"
msgid "Intermediate Certification Authorities: %{issuer}"
msgstr "Intermediate Certification Authorities: %{issuer}"

#: src/language/constants.ts:21
#, fuzzy
msgid "Issued certificate successfully"
msgstr "Enabled successfully"

#: src/views/user/User.vue:26
msgid "Leave blank for no change"
msgstr "Leave blank for no change"
Expand All @@ -300,11 +310,11 @@ msgstr "Load Averages:"
msgid "Location"
msgstr "Location"

#: src/views/domain/ngx_conf/LocationEditor.vue:36
#: src/views/domain/ngx_conf/LocationEditor.vue:39
msgid "Locations"
msgstr "Locations"

#: src/routes/index.ts:108 src/views/other/Login.vue:99
#: src/routes/index.ts:108 src/views/other/Login.vue:103
msgid "Login"
msgstr "Login"

Expand All @@ -316,7 +326,7 @@ msgstr "Login successful"
msgid "Logout successful"
msgstr "Logout successful"

#: src/views/domain/cert/IssueCert.vue:181
#: src/views/domain/cert/IssueCert.vue:226
msgid ""
"Make sure you have configured a reverse proxy for .well-known directory to "
"HTTPChallengePort (default: 9180) before getting the certificate."
Expand Down Expand Up @@ -385,6 +395,7 @@ msgstr "Next"
#: src/components/StdDataDisplay/StdTable.vue:39
#: src/views/domain/DomainList.vue:25
#: src/views/domain/ngx_conf/directive/DirectiveEditor.vue:17
#: src/views/domain/ngx_conf/LocationEditor.vue:19
msgid "No"
msgstr "No"

Expand All @@ -396,15 +407,15 @@ msgstr "Not Found"
msgid "Not Valid Before: %{date}"
msgstr "Not Valid Before: %{date}"

#: src/views/domain/cert/IssueCert.vue:173
#: src/views/domain/cert/IssueCert.vue:218
msgid ""
"Note: The server_name in the current configuration must be the domain name "
"you need to get the certificate."
msgstr ""
"Note: The server_name in the current configuration must be the domain name "
"you need to get the certificate."

#: src/language/constants.ts:16
#: src/language/constants.ts:16 src/views/domain/cert/IssueCert.vue:3
msgid "Obtaining certificate"
msgstr ""

Expand All @@ -431,7 +442,7 @@ msgid "Password (*)"
msgstr "Password (*)"

#: src/views/domain/ngx_conf/LocationEditor.vue:10
#: src/views/domain/ngx_conf/LocationEditor.vue:24
#: src/views/domain/ngx_conf/LocationEditor.vue:36
msgid "Path"
msgstr "Path"

Expand Down Expand Up @@ -524,16 +535,16 @@ msgstr "Server error"
msgid "Server Info"
msgstr "Server Info"

#: src/views/domain/cert/IssueCert.vue:28
#: src/views/domain/cert/IssueCert.vue:29
msgid "server_name not found in directives"
msgstr "server_name not found in directives"

#: src/views/domain/cert/IssueCert.vue:164 src/views/domain/DomainAdd.vue:112
#: src/views/domain/cert/IssueCert.vue:209 src/views/domain/DomainAdd.vue:112
msgid "server_name parameter is required"
msgstr "server_name parameter is required"

#: src/views/domain/cert/IssueCert.vue:167
#: src/views/domain/cert/IssueCert.vue:34
#: src/views/domain/cert/IssueCert.vue:212
#: src/views/domain/cert/IssueCert.vue:35
msgid "server_name parameters more than one"
msgstr "server_name parameters more than one"

Expand Down Expand Up @@ -570,7 +581,7 @@ msgstr "Enabled"
msgid "Terminal"
msgstr "Terminal"

#: src/views/domain/cert/IssueCert.vue:177
#: src/views/domain/cert/IssueCert.vue:222
msgid ""
"The certificate for the domain will be checked every hour, and will be "
"renewed if it has been more than 1 month since it was last issued."
Expand Down Expand Up @@ -607,7 +618,7 @@ msgstr "Username (*)"
msgid "Using HTTP01 challenge provider"
msgstr ""

#: src/views/domain/cert/IssueCert.vue:12 src/views/domain/DomainAdd.vue:24
#: src/views/domain/cert/IssueCert.vue:26 src/views/domain/DomainAdd.vue:24
msgid "Warning"
msgstr "Warning"

Expand All @@ -625,6 +636,7 @@ msgid "Writing certificate to disk"
msgstr ""

#: src/views/domain/ngx_conf/directive/DirectiveEditor.vue:16
#: src/views/domain/ngx_conf/LocationEditor.vue:18
msgid "Yes"
msgstr "Yes"

Expand Down
Loading

0 comments on commit 1dc5f71

Please sign in to comment.