Browse Source
Add Docker build Add Docker images cleanup Translate email @zituoguan/vaultwarden-lang-zh_CNpull/5003/head
57 changed files with 353 additions and 204 deletions
@ -0,0 +1,78 @@ |
|||||
|
name: Docker Image Build |
||||
|
|
||||
|
on: |
||||
|
push: |
||||
|
paths: |
||||
|
- "src/**" |
||||
|
- "migrations/**" |
||||
|
- "Cargo.*" |
||||
|
- "build.rs" |
||||
|
- "rust-toolchain.toml" |
||||
|
- "rustfmt.toml" |
||||
|
- "diesel.toml" |
||||
|
- "docker/Dockerfile.j2" |
||||
|
- "docker/DockerSettings.yaml" |
||||
|
workflow_dispatch: |
||||
|
|
||||
|
env: |
||||
|
ALI_REG: registry.cn-beijing.aliyuncs.com |
||||
|
ALI_PATH: registry.cn-beijing.aliyuncs.com/andrew-vaultwarden/vaultwarden |
||||
|
|
||||
|
jobs: |
||||
|
build: |
||||
|
runs-on: ubuntu-latest |
||||
|
name: build |
||||
|
steps: |
||||
|
- name: Checkout |
||||
|
uses: actions/checkout@master |
||||
|
with: |
||||
|
fetch-depth: 0 |
||||
|
|
||||
|
- name: Get current time |
||||
|
uses: josStorer/get-current-time@master |
||||
|
id: time |
||||
|
with: |
||||
|
format: YYYY.MM.DD.HHmm |
||||
|
utcOffset: "+08:00" |
||||
|
|
||||
|
- name: Login to GitHub Container Registry |
||||
|
uses: docker/login-action@master |
||||
|
with: |
||||
|
registry: ghcr.io |
||||
|
username: ${{ github.repository_owner }} |
||||
|
password: ${{ secrets.GITHUB_TOKEN }} |
||||
|
|
||||
|
- name: Login to Docker Aliyun registry |
||||
|
uses: docker/login-action@master |
||||
|
with: |
||||
|
registry: ${{ env.ALI_REG }} |
||||
|
username: ${{ secrets.DOCKER_USERNAME }} |
||||
|
password: ${{ secrets.DOCKER_PASSWORD }} |
||||
|
|
||||
|
# Start Docker Buildx |
||||
|
- name: Setup Docker Buildx |
||||
|
uses: docker/setup-buildx-action@v3 |
||||
|
# https://github.com/moby/buildkit/issues/3969 |
||||
|
# Also set max parallelism to 2, the default of 4 breaks GitHub Actions and causes OOMKills |
||||
|
with: |
||||
|
buildkitd-config-inline: | |
||||
|
[worker.oci] |
||||
|
max-parallelism = 2 |
||||
|
driver-opts: network=host |
||||
|
|
||||
|
- name: Build the Docker image |
||||
|
uses: docker/build-push-action@master |
||||
|
with: |
||||
|
context: . |
||||
|
file: Dockerfile |
||||
|
push: true |
||||
|
tags: ${{ env.ALI_PATH }}:v${{ steps.time.outputs.formattedTime }} |
||||
|
build-args: DB=sqlite |
||||
|
cache-to: type=gha,mode=max |
||||
|
cache-from: type=gha |
||||
|
|
||||
|
- name: Logout from Docker Registries |
||||
|
run: docker logout ${{ env.ALI_REG }} |
||||
|
|
||||
|
- name: Logout from Docker Registries |
||||
|
run: docker logout ghcr.io |
@ -0,0 +1,37 @@ |
|||||
|
name: Docker Image Cleanup |
||||
|
|
||||
|
on: |
||||
|
schedule: |
||||
|
- cron: "0 3 * * SAT" |
||||
|
workflow_dispatch: |
||||
|
|
||||
|
env: |
||||
|
ALI_BJ_REGISTER: registry.cn-beijing.aliyuncs.com |
||||
|
ALI_BJ_REPOSITORY: andrew-vaultwarden |
||||
|
|
||||
|
jobs: |
||||
|
manage-images: |
||||
|
runs-on: ubuntu-latest |
||||
|
|
||||
|
steps: |
||||
|
- name: Login to Docker Registry |
||||
|
uses: docker/login-action@master |
||||
|
with: |
||||
|
registry: ${{ env.ALI_BJ_REGISTER }} |
||||
|
username: ${{ secrets.DOCKER_USERNAME }} |
||||
|
password: ${{ secrets.DOCKER_PASSWORD }} |
||||
|
|
||||
|
- name: List Images from Specific Repository |
||||
|
run: | |
||||
|
images=$(docker images ${{ env.ALI_BJ_REPOSITORY }} --format "{{.Created}}\t{{.ID}}" | sort) |
||||
|
echo "$images" |
||||
|
ids_to_delete=("${images[@]:3}") |
||||
|
if [ ${#ids_to_delete[@]} -ne 0 ]; then |
||||
|
for id in "${ids_to_delete[@]}"; do |
||||
|
echo "Del $id" |
||||
|
docker image rm $id |
||||
|
done |
||||
|
fi |
||||
|
|
||||
|
- name: Logout |
||||
|
run: docker logout ${{ env.ALI_BJ_REGISTER }} |
@ -0,0 +1,34 @@ |
|||||
|
name: Upstream Sync |
||||
|
|
||||
|
permissions: |
||||
|
contents: write |
||||
|
|
||||
|
on: |
||||
|
schedule: |
||||
|
- cron: "0 3 * * THU" |
||||
|
workflow_dispatch: |
||||
|
|
||||
|
jobs: |
||||
|
sync_with_upstream: |
||||
|
name: Sync with Upstream |
||||
|
runs-on: ubuntu-latest |
||||
|
if: ${{ github.event.repository.fork }} |
||||
|
|
||||
|
steps: |
||||
|
- name: Checkout target repo |
||||
|
uses: actions/checkout@master |
||||
|
|
||||
|
- name: Sync Upstream |
||||
|
uses: aormsby/Fork-Sync-With-Upstream-action@main |
||||
|
with: |
||||
|
target_repo_token: ${{ secrets.GITHUB_TOKEN }} |
||||
|
upstream_sync_repo: dani-garcia/vaultwarden |
||||
|
upstream_sync_branch: main |
||||
|
target_sync_branch: main |
||||
|
test_mode: false |
||||
|
|
||||
|
- name: Check for Failure |
||||
|
if: failure() |
||||
|
run: | |
||||
|
echo "[Error] Due to a change in the workflow file of the upstream repository, GitHub has automatically suspended the scheduled automatic update. You need to manually sync your fork." |
||||
|
exit 1 |
@ -1,4 +1,4 @@ |
|||||
Master Password Has Been Changed |
主密码已更改 |
||||
<!----------------> |
<!----------------> |
||||
The master password for {{user_name}} has been changed by an administrator in your {{org_name}} organization. If you did not initiate this request, please reach out to your administrator immediately. |
{{org_name}} 组织中的管理员已更改 {{user_name}} 的主密码。如果您未发起此请求,请立即联系您的管理员。 |
||||
{{> email/email_footer_text }} |
{{> email/email_footer_text }} |
||||
|
@ -1,10 +1,10 @@ |
|||||
Master Password Has Been Changed |
主密码已更改 |
||||
<!----------------> |
<!----------------> |
||||
{{> email/email_header }} |
{{> email/email_header }} |
||||
<table width="100%" cellpadding="0" cellspacing="0" style="margin: 0; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 16px; color: #333; line-height: 25px; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none;"> |
<table width="100%" cellpadding="0" cellspacing="0" style="margin: 0; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 16px; color: #333; line-height: 25px; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none;"> |
||||
<tr style="margin: 0; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 16px; color: #333; line-height: 25px; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none;"> |
<tr style="margin: 0; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 16px; color: #333; line-height: 25px; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none;"> |
||||
<td class="content-block" style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 16px; color: #333; line-height: 25px; margin: 0; -webkit-font-smoothing: antialiased; padding: 0 0 10px; -webkit-text-size-adjust: none;" valign="top"> |
<td class="content-block" style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 16px; color: #333; line-height: 25px; margin: 0; -webkit-font-smoothing: antialiased; padding: 0 0 10px; -webkit-text-size-adjust: none;" valign="top"> |
||||
The master password for <b style="margin: 0; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 16px; color: #333; line-height: 25px; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none;">{{user_name}}</b> has been changed by an administrator in your <b style="margin: 0; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 16px; color: #333; line-height: 25px; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none;">{{org_name}}</b> organization. If you did not initiate this request, please reach out to your administrator immediately. |
<b style="margin: 0; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 16px; color: #333; line-height: 25px; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none;">{{user_name}}</b> 在您的 <b style="margin: 0; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 16px; color: #333; line-height: 25px; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none;">{{org_name}}</b> 组织中的管理员已更改主密码。如果您未发起此请求,请立即联系您的管理员。 |
||||
</td> |
</td> |
||||
</tr> |
</tr> |
||||
</table> |
</table> |
||||
|
@ -1,6 +1,6 @@ |
|||||
Your Email Change |
您的电子邮件更改 |
||||
<!----------------> |
<!----------------> |
||||
To finalize changing your email address enter the following code in web vault: {{token}} |
为了完成更改您的电子邮件地址,请在 Web 密码库中输入以下代码:{{token}} |
||||
|
|
||||
If you did not try to change your email address, contact your administrator. |
如果您没有尝试更改您的电子邮件地址,请联系您的管理员。 |
||||
{{> email/email_footer_text }} |
{{> email/email_footer_text }} |
@ -1,15 +1,15 @@ |
|||||
Your Email Change |
您的电子邮件更改 |
||||
<!----------------> |
<!----------------> |
||||
{{> email/email_header }} |
{{> email/email_header }} |
||||
<table width="100%" cellpadding="0" cellspacing="0" style="margin: 0; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 16px; color: #333; line-height: 25px; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none;"> |
<table width="100%" cellpadding="0" cellspacing="0" style="margin: 0; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 16px; color: #333; line-height: 25px; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none;"> |
||||
<tr style="margin: 0; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 16px; color: #333; line-height: 25px; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none;"> |
<tr style="margin: 0; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 16px; color: #333; line-height: 25px; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none;"> |
||||
<td class="content-block" style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 16px; color: #333; line-height: 25px; margin: 0; -webkit-font-smoothing: antialiased; padding: 0 0 10px; -webkit-text-size-adjust: none; text-align: center;" valign="top" align="center"> |
<td class="content-block" style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 16px; color: #333; line-height: 25px; margin: 0; -webkit-font-smoothing: antialiased; padding: 0 0 10px; -webkit-text-size-adjust: none; text-align: center;" valign="top" align="center"> |
||||
To finalize changing your email address enter the following code in web vault: <b style="margin: 0; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 16px; color: #333; line-height: 25px; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none;">{{token}}</b> |
为了完成更改您的电子邮件地址,请在Web Vault中输入以下代码:<b style="margin: 0; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 16px; color: #333; line-height: 25px; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none;">{{token}}</b> |
||||
</td> |
</td> |
||||
</tr> |
</tr> |
||||
<tr style="margin: 0; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 16px; color: #333; line-height: 25px; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none;"> |
<tr style="margin: 0; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 16px; color: #333; line-height: 25px; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none;"> |
||||
<td class="content-block last" style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 16px; color: #333; line-height: 25px; margin: 0; -webkit-font-smoothing: antialiased; padding: 0; -webkit-text-size-adjust: none; text-align: center;" valign="top" align="center"> |
<td class="content-block last" style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 16px; color: #333; line-height: 25px; margin: 0; -webkit-font-smoothing: antialiased; padding: 0; -webkit-text-size-adjust: none; text-align: center;" valign="top" align="center"> |
||||
If you did not try to change your email address, contact your administrator. |
如果您没有尝试更改您的电子邮件地址,请联系您的管理员。 |
||||
</td> |
</td> |
||||
</tr> |
</tr> |
||||
</table> |
</table> |
||||
|
@ -1,8 +1,8 @@ |
|||||
Delete Your Account |
删除您的帐户 |
||||
<!----------------> |
<!----------------> |
||||
Click the link below to delete your account. |
点击下面的链接以删除您的帐户。 |
||||
|
|
||||
Delete Your Account: {{url}}/#/verify-recover-delete?userId={{user_id}}&token={{token}}&email={{email}} |
删除您的帐户:{{url}}/#/verify-recover-delete?userId={{user_id}}&token={{token}}&email={{email}} |
||||
|
|
||||
If you did not request this email to delete your account, you can safely ignore this email. |
如果您没有请求通过此电子邮件删除您的帐户,请安全地忽略此电子邮件。 |
||||
{{> email/email_footer_text }} |
{{> email/email_footer_text }} |
@ -1,23 +1,23 @@ |
|||||
Delete Your Account |
删除您的帐户 |
||||
<!----------------> |
<!----------------> |
||||
{{> email/email_header }} |
{{> email/email_header }} |
||||
<table width="100%" cellpadding="0" cellspacing="0" style="margin: 0; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 16px; color: #333; line-height: 25px; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none;"> |
<table width="100%" cellpadding="0" cellspacing="0" style="margin: 0; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 16px; color: #333; line-height: 25px; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none;"> |
||||
<tr style="margin: 0; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 16px; color: #333; line-height: 25px; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none;"> |
<tr style="margin: 0; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 16px; color: #333; line-height: 25px; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none;"> |
||||
<td class="content-block" style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 16px; color: #333; line-height: 25px; margin: 0; -webkit-font-smoothing: antialiased; padding: 0 0 10px; -webkit-text-size-adjust: none; text-align: center;" valign="top" align="center"> |
<td class="content-block" style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 16px; color: #333; line-height: 25px; margin: 0; -webkit-font-smoothing: antialiased; padding: 0 0 10px; -webkit-text-size-adjust: none; text-align: center;" valign="top" align="center"> |
||||
Click the link below to delete your account. |
点击下面的链接以删除您的帐户。 |
||||
</td> |
</td> |
||||
</tr> |
</tr> |
||||
<tr style="margin: 0; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 16px; color: #333; line-height: 25px; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none;"> |
<tr style="margin: 0; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 16px; color: #333; line-height: 25px; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none;"> |
||||
<td class="content-block" style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 16px; color: #333; line-height: 25px; margin: 0; -webkit-font-smoothing: antialiased; padding: 0 0 10px; -webkit-text-size-adjust: none; text-align: center;" valign="top" align="center"> |
<td class="content-block" style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 16px; color: #333; line-height: 25px; margin: 0; -webkit-font-smoothing: antialiased; padding: 0 0 10px; -webkit-text-size-adjust: none; text-align: center;" valign="top" align="center"> |
||||
<a href="{{url}}/#/verify-recover-delete?userId={{user_id}}&token={{token}}&email={{email}}" |
<a href="{{url}}/#/verify-recover-delete?userId={{user_id}}&token={{token}}&email={{email}}" |
||||
clicktracking=off target="_blank" style="color: #ffffff; text-decoration: none; text-align: center; cursor: pointer; display: inline-block; border-radius: 5px; background-color: #3c8dbc; border-color: #3c8dbc; border-style: solid; border-width: 10px 20px; margin: 0; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 16px; line-height: 25px; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none;"> |
clicktracking=off target="_blank" style="color: #ffffff; text-decoration: none; text-align: center; cursor: pointer; display: inline-block; border-radius: 5px; background-color: #3c8dbc; border-color: #3c8dbc; border-style: solid; border-width: 10px 20px; margin: 0; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 16px; line-height: 25px; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none;"> |
||||
Delete Your Account |
删除您的帐户 |
||||
</a> |
</a> |
||||
</td> |
</td> |
||||
</tr> |
</tr> |
||||
<tr style="margin: 0; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 16px; color: #333; line-height: 25px; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none;"> |
<tr style="margin: 0; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 16px; color: #333; line-height: 25px; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none;"> |
||||
<td class="content-block last" style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 16px; color: #333; line-height: 25px; margin: 0; -webkit-font-smoothing: antialiased; padding: 0; -webkit-text-size-adjust: none; text-align: center;" valign="top" align="center"> |
<td class="content-block last" style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 16px; color: #333; line-height: 25px; margin: 0; -webkit-font-smoothing: antialiased; padding: 0; -webkit-text-size-adjust: none; text-align: center;" valign="top" align="center"> |
||||
If you did not request this email to delete your account, you can safely ignore this email. |
如果您没有请求通过此电子邮件删除您的帐户,请安全地忽略此电子邮件。 |
||||
</td> |
</td> |
||||
</tr> |
</tr> |
||||
</table> |
</table> |
||||
|
@ -1,3 +1,3 @@ |
|||||
|
|
||||
=== |
=== |
||||
Github: https://github.com/dani-garcia/vaultwarden |
Github: https://github.com/zituoguan/vaultwarden-lang-zh_CN |
||||
|
@ -1,8 +1,8 @@ |
|||||
Emergency access contact {{{grantee_email}}} accepted |
紧急访问联系人 {{{grantee_email}}} 已接受 |
||||
<!----------------> |
<!----------------> |
||||
This email is to notify you that {{grantee_email}} has accepted your invitation to become an emergency access contact. |
此电子邮件是通知您,{{grantee_email}} 已接受您的邀请成为紧急访问联系人。 |
||||
|
|
||||
To confirm this user, log into the web vault ({{url}}), go to settings and confirm the user. |
要确认此用户,请登录 Web 密码库 ({{url}}),转到设置并确认用户。 |
||||
|
|
||||
If you do not wish to confirm this user, you can also remove them on the same page. |
如果您不希望确认此用户,您也可以在同一页面上将其移除。 |
||||
{{> email/email_footer_text }} |
{{> email/email_footer_text }} |
||||
|
@ -1,6 +1,6 @@ |
|||||
Emergency access contact for {{{grantor_name}}} confirmed |
紧急访问联系人已确认,由 {{{grantor_name}}} 指定 |
||||
<!----------------> |
<!----------------> |
||||
This email is to notify you that you have been confirmed as an emergency access contact for *{{grantor_name}}*. |
此电子邮件是通知您,您已被确认为 *{{grantor_name}}* 的紧急访问联系人。 |
||||
|
|
||||
You can now initiate emergency access requests from the web vault ({{url}}). |
您现在可以从 Web 密码库 ({{url}}) 发起紧急访问请求。 |
||||
{{> email/email_footer_text }} |
{{> email/email_footer_text }} |
||||
|
@ -1,4 +1,4 @@ |
|||||
Emergency access request for {{{grantor_name}}} approved |
已批准 {{{grantor_name}}} 的紧急访问请求 |
||||
<!----------------> |
<!----------------> |
||||
{{grantor_name}} has approved your emergency access request. You may now login on the web vault ({{url}}) and access their account. |
{{grantor_name}} 已批准您的紧急访问请求。您现在可以登录 Web 密码库 ({{url}}) 并访问其帐户。 |
||||
{{> email/email_footer_text }} |
{{> email/email_footer_text }} |
||||
|
@ -1,6 +1,6 @@ |
|||||
Emergency access request by {{{grantee_name}}} initiated |
{{{grantee_name}}} 启动了紧急访问请求 |
||||
<!----------------> |
<!----------------> |
||||
{{grantee_name}} has initiated an emergency access request to {{atype}} your account. You may login on the web vault ({{url}}) and manually approve or reject this request. |
{{grantee_name}} 已启动对您帐户的紧急访问请求,{{atype}}。您可以登录 Web 密码库 ({{url}}) 并手动批准或拒绝此请求。 |
||||
|
|
||||
If you do nothing, the request will automatically be approved after {{wait_time_days}} day(s). |
如果您不采取任何措施,该请求将在 {{wait_time_days}} 天后自动批准。 |
||||
{{> email/email_footer_text }} |
{{> email/email_footer_text }} |
||||
|
@ -1,4 +1,4 @@ |
|||||
Emergency access request to {{{grantor_name}}} rejected |
紧急访问请求被 {{{grantor_name}}} 拒绝 |
||||
<!----------------> |
<!----------------> |
||||
{{grantor_name}} has rejected your emergency access request. |
{{grantor_name}} 拒绝了您的紧急访问请求。 |
||||
{{> email/email_footer_text }} |
{{> email/email_footer_text }} |
||||
|
@ -1,6 +1,6 @@ |
|||||
Emergency access request by {{{grantee_name}}} is pending |
{{{grantee_name}}} 的紧急访问请求正在等待中 |
||||
<!----------------> |
<!----------------> |
||||
{{grantee_name}} has a pending emergency access request to {{atype}} your account. You may login on the web vault ({{url}}) and manually approve or reject this request. |
{{grantee_name}} 已发起对您的帐户进行{{atype}}的紧急访问请求。您可以登录到 <a href="{{url}}/">Web 密码库</a> 并手动批准或拒绝此请求。 |
||||
|
|
||||
If you do nothing, the request will automatically be approved after {{days_left}} day(s). |
如果您不采取任何措施,该请求将在 {{days_left}} 天后自动批准。 |
||||
{{> email/email_footer_text }} |
{{> email/email_footer_text }} |
||||
|
@ -1,4 +1,4 @@ |
|||||
Emergency access request by {{{grantee_name}}} granted |
紧急访问请求由 {{{grantee_name}}} 批准 |
||||
<!----------------> |
<!----------------> |
||||
{{grantee_name}} has been granted emergency access to {{atype}} your account. You may login on the web vault ({{url}}) and manually revoke this request. |
{{grantee_name}} 已被授予对您的帐户的紧急访问权限,访问类型为 {{atype}}。您可以登录到 Web 密码库 ({{url}}) 并手动撤销此请求。 |
||||
{{> email/email_footer_text }} |
{{> email/email_footer_text }} |
||||
|
@ -1,10 +1,10 @@ |
|||||
Incomplete Two-Step Login From {{{device}}} |
不完整的两步登录来自 {{{device}}} |
||||
<!----------------> |
<!----------------> |
||||
Someone attempted to log into your account with the correct master password, but did not provide the correct token or action required to complete the two-step login process within {{time_limit}} minutes of the initial login attempt. |
有人尝试使用正确的主密码登录您的帐户,但在初始登录尝试后的 {{time_limit}} 分钟内未提供正确的令牌或完成两步登录过程所需的操作。 |
||||
|
|
||||
* Date: {{datetime}} |
* 日期:{{datetime}} |
||||
* IP Address: {{ip}} |
* IP 地址:{{ip}} |
||||
* Device Type: {{device}} |
* 设备类型:{{device}} |
||||
|
|
||||
If this was not you or someone you authorized, then you should change your master password as soon as possible, as it is likely to be compromised. |
如果这不是您或您授权的人进行的操作,那么您应尽快更改主密码,因为可能已经遭到破坏。 |
||||
{{> email/email_footer_text }} |
{{> email/email_footer_text }} |
||||
|
@ -1,5 +1,5 @@ |
|||||
Invitation to {{{org_name}}} accepted |
邀请加入 {{{org_name}}} 已接受 |
||||
<!----------------> |
<!----------------> |
||||
This email is to notify you that {{email}} has accepted your invitation to join {{org_name}}. |
此电子邮件是通知您,{{email}} 已接受您的邀请加入 {{org_name}}。 |
||||
Please log in via {{url}} to the vaultwarden server and confirm them from the organization management page. |
请通过 {{url}} 登录到 Vaultwarden 服务器,并在组织管理页面确认其加入。 |
||||
{{> email/email_footer_text }} |
{{> email/email_footer_text }} |
@ -1,5 +1,5 @@ |
|||||
Invitation to {{{org_name}}} confirmed |
邀请加入 {{{org_name}}} 已确认 |
||||
<!----------------> |
<!----------------> |
||||
This email is to notify you that you have been confirmed as a user of {{org_name}}. |
此电子邮件是通知您,您已被确认为 {{org_name}} 的用户。 |
||||
Any collections and logins being shared with you by this organization will now appear in your Vaultwarden vault at {{url}}. |
此组织共享给您的任何收藏和登录信息现在将出现在您的 Vaultwarden 密码库中,网址为 {{url}}。 |
||||
{{> email/email_footer_text }} |
{{> email/email_footer_text }} |
@ -1,10 +1,10 @@ |
|||||
New Device Logged In From {{{device}}} |
从新设备登录到您的帐户 |
||||
<!----------------> |
<!----------------> |
||||
Your account was just logged into from a new device. |
您的帐户刚刚从新设备登录。 |
||||
|
|
||||
* Date: {{datetime}} |
* 日期:{{datetime}} |
||||
* IP Address: {{ip}} |
* IP 地址:{{ip}} |
||||
* Device Type: {{device}} |
* 设备类型:{{device}} |
||||
|
|
||||
You can deauthorize all devices that have access to your account from the web vault ( {{url}} ) under Settings > My Account > Deauthorize Sessions. |
您可以在 Web 密码库({{url}})的“设置” > “我的帐户” > “取消授权会话”下取消所有访问您帐户的设备的授权。 |
||||
{{> email/email_footer_text }} |
{{> email/email_footer_text }} |
@ -1,6 +1,6 @@ |
|||||
Your Vaultwarden Verification Code |
您的 Vaultwarden 验证码 |
||||
<!----------------> |
<!----------------> |
||||
Your email verification code is: {{token}} |
您的电子邮件验证码是:{{token}} |
||||
|
|
||||
Use this code to complete the protected action in Vaultwarden. |
使用此代码完成 Vaultwarden 中的受保护操作。 |
||||
{{> email/email_footer_text }} |
{{> email/email_footer_text }} |
||||
|
@ -1,8 +1,8 @@ |
|||||
Your master password hint |
您的主密码提示 |
||||
<!----------------> |
<!----------------> |
||||
You (or someone) recently requested your master password hint. Unfortunately, your account does not have a master password hint. |
您(或其他人)最近请求了您的主密码提示。不幸的是,您的帐户没有主密码提示。 |
||||
|
|
||||
If you cannot remember your master password, there is no way to recover your data. The only option to gain access to your account again is to delete the account ( {{url}}/#/recover-delete ) so that you can register again and start over. All data associated with your account will be deleted. |
如果您无法记住主密码,则无法恢复您的数据。再次访问帐户的唯一选择是删除帐户({{url}}/#/recover-delete),然后您可以重新注册并重新开始。与您的帐户关联的所有数据将被删除。 |
||||
|
|
||||
If you did not request your master password hint you can safely ignore this email. |
如果您没有请求主密码提示,可以安全地忽略此电子邮件。 |
||||
{{> email/email_footer_text }} |
{{> email/email_footer_text }} |
@ -1,11 +1,11 @@ |
|||||
Your master password hint |
您的主密码提示 |
||||
<!----------------> |
<!----------------> |
||||
You (or someone) recently requested your master password hint. |
您(或他人)最近请求了您的主密码提示。 |
||||
|
|
||||
Your hint is: *{{hint}}* |
提示为:*{{hint}}* |
||||
Log in to the web vault: {{url}} |
登录到 Web 密码库:{{url}} |
||||
|
|
||||
If you cannot remember your master password, there is no way to recover your data. The only option to gain access to your account again is to delete the account ( {{url}}/#/recover-delete ) so that you can register again and start over. All data associated with your account will be deleted. |
如果您无法记住主密码,那么恢复数据的方法是不存在的。您再次访问账户的唯一选项是删除账户({{url}}/#/recover-delete),然后可以重新注册并重新开始。与您的账户相关的所有数据将被删除。 |
||||
|
|
||||
If you did not request your master password hint you can safely ignore this email. |
如果您未请求主密码提示,请安全地忽略此电子邮件。 |
||||
{{> email/email_footer_text }} |
{{> email/email_footer_text }} |
@ -1,7 +1,7 @@ |
|||||
Removed from {{{org_name}}} |
已从{{{org_name}}}中移除 |
||||
<!----------------> |
<!----------------> |
||||
You have been removed from organization *{{org_name}}* because your account does not have Two-step Login enabled. |
您已从组织 *{{org_name}}* 中移除,因为您的帐户未启用两步登录。 |
||||
|
|
||||
|
|
||||
You can enable Two-step Login in your account settings. |
您可以在帐户设置中启用两步登录。 |
||||
{{> email/email_footer_text }} |
{{> email/email_footer_text }} |
@ -1,8 +1,8 @@ |
|||||
Emergency access for {{{grantor_name}}} |
应急访问权限已授予{{{grantor_name}}} |
||||
<!----------------> |
<!----------------> |
||||
You have been invited to become an emergency contact for {{grantor_name}}. To accept this invite, click the following link: |
您已被邀请成为{{grantor_name}}的紧急联系人。要接受此邀请,请单击以下链接: |
||||
|
|
||||
Click here to join: {{url}}/#/accept-emergency/?id={{emer_id}}&name={{grantor_name}}&email={{email}}&token={{token}} |
单击此处加入:{{url}}/#/accept-emergency/?id={{emer_id}}&name={{grantor_name}}&email={{email}}&token={{token}} |
||||
|
|
||||
If you do not wish to become an emergency contact for {{grantor_name}}, you can safely ignore this email. |
如果您不希望成为{{grantor_name}}的紧急联系人,则可以安全地忽略此电子邮件。 |
||||
{{> email/email_footer_text }} |
{{> email/email_footer_text }} |
||||
|
@ -1,10 +1,10 @@ |
|||||
Join {{{org_name}}} |
加入 {{{org_name}}} |
||||
<!----------------> |
<!----------------> |
||||
You have been invited to join the *{{org_name}}* organization. |
您已被邀请加入*{{org_name}}*组织。 |
||||
|
|
||||
|
|
||||
Click here to join: {{url}} |
点击这里加入: {{url}}/#/accept-organization/?organizationId={{org_id}}&organizationUserId={{org_user_id}}&email={{email}}&organizationName={{org_name_encoded}}&token={{token}} |
||||
|
|
||||
|
|
||||
If you do not wish to join this organization, you can safely ignore this email. |
如果您不希望加入这个组织,您可以安全地忽略此电子邮件。 |
||||
{{> email/email_footer_text }} |
{{> email/email_footer_text }} |
||||
|
@ -1,4 +1,4 @@ |
|||||
You have been removed from {{{org_name}}} |
您已从 {{{org_name}}} 中移除 |
||||
<!----------------> |
<!----------------> |
||||
Your user account has been removed from the *{{org_name}}* organization because you are a part of another organization. The {{org_name}} organization has enabled a policy that prevents users from being a part of multiple organizations. Before you can re-join this organization you need to leave all other organizations or join with a different account. |
您的用户账户已从 *{{org_name}}* 组织中移除,因为您属于另一个组织。{{org_name}} 组织已启用了一个阻止用户加入多个组织的策略。在您能重新加入此组织之前,您需要退出所有其他组织,或使用不同的账户加入。 |
||||
{{> email/email_footer_text }} |
{{> email/email_footer_text }} |
||||
|
@ -1,6 +1,6 @@ |
|||||
Vaultwarden SMTP Test |
Vaultwarden SMTP 测试 |
||||
<!----------------> |
<!----------------> |
||||
This is a test email to verify the SMTP configuration for {{url}}. |
这是一封测试电子邮件,用于验证 {{url}} 的 SMTP 配置。 |
||||
|
|
||||
When you can read this email it is probably configured correctly. |
当您能够阅读此电子邮件时,SMTP 配置可能已正确设置。 |
||||
{{> email/email_footer_text }} |
{{> email/email_footer_text }} |
@ -1,6 +1,6 @@ |
|||||
Vaultwarden Login Verification Code |
Vaultwarden 登录验证码 |
||||
<!----------------> |
<!----------------> |
||||
Your two-step verification code is: {{token}} |
您的两步验证代码是: {{token}} |
||||
|
|
||||
Use this code to complete logging in with Vaultwarden. |
使用此代码完成在 Vaultwarden 中的登录。 |
||||
{{> email/email_footer_text }} |
{{> email/email_footer_text }} |
||||
|
@ -1,8 +1,8 @@ |
|||||
Verify Your Email |
验证您的电子邮件 |
||||
<!----------------> |
<!----------------> |
||||
Verify this email address for your account by clicking the link below. |
通过点击下面的链接验证您账户的电子邮件地址。 |
||||
|
|
||||
Verify Email Address Now: {{url}}/#/verify-email/?userId={{user_id}}&token={{token}} |
立即验证电子邮件地址:{{url}}/#/verify-email/?userId={{user_id}}&token={{token}} |
||||
|
|
||||
If you did not request to verify your account, you can safely ignore this email. |
如果您没有请求验证您的账户,您可以放心地忽略此电子邮件。 |
||||
{{> email/email_footer_text }} |
{{> email/email_footer_text }} |
@ -1,6 +1,6 @@ |
|||||
Welcome |
欢迎 |
||||
<!----------------> |
<!----------------> |
||||
Thank you for creating an account at {{url}}. You may now log in with your new account. |
感谢您在 {{url}} 创建账户。您现在可以使用新账户登录。 |
||||
|
|
||||
If you did not request to create an account, you can safely ignore this email. |
如果您没有请求创建账户,您可以放心地忽略此电子邮件。 |
||||
{{> email/email_footer_text }} |
{{> email/email_footer_text }} |
@ -1,8 +1,8 @@ |
|||||
Welcome |
欢迎 |
||||
<!----------------> |
<!----------------> |
||||
Thank you for creating an account at {{url}}. Before you can login with your new account, you must verify this email address by clicking the link below. |
感谢您在{{url}}上创建账户。在使用新账户登录之前,您必须通过点击下面的链接验证此电子邮件地址。 |
||||
|
|
||||
Verify Email Address Now: {{url}}/#/verify-email/?userId={{user_id}}&token={{token}} |
立即验证电子邮件地址: {{url}}/#/verify-email/?userId={{user_id}}&token={{token}} |
||||
|
|
||||
If you did not request to create an account, you can safely ignore this email. |
如果您没有请求创建账户,您可以放心地忽略此电子邮件。 |
||||
{{> email/email_footer_text }} |
{{> email/email_footer_text }} |
Loading…
Reference in new issue