Skip to content

Commit 2e9b02b

Browse files
i18n: add and relocate TRANSLATORS comments in ModalVerificationCode
- Add TRANSLATORS comments for 'Your identity has been verified.' and 'You can now sign the document.' in step 3, clarifying context and what 'identity' refers to - Move TRANSLATORS comments for 'Request new code' and 'Validate code' buttons to immediately precede the t() call they describe Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
1 parent dac5e72 commit 2e9b02b

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

src/views/SignPDF/_partials/ModalVerificationCode.vue

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,11 @@
7373
<div v-else-if="identityVerified" class="step-content">
7474
<div class="verification-success">
7575
<p class="verification-message">
76+
<!-- TRANSLATORS: Success message shown after the signer's identity has been confirmed via a numeric one-time password (OTP) delivered through email, SMS, WhatsApp, Telegram, Signal, or XMPP. "identity" here means the system confirmed the signer is who they claim to be. -->
7677
{{ t('libresign', 'Your identity has been verified.') }}
7778
</p>
7879
<p class="signature-ready">
80+
<!-- TRANSLATORS: Follow-up message shown right after identity verification succeeds, inviting the signer to proceed with signing the document. -->
7981
{{ t('libresign', 'You can now sign the document.') }}
8082
</p>
8183
</div>
@@ -96,23 +98,23 @@
9698

9799
<!-- Step 2 actions (common) -->
98100
<template v-else-if="!identityVerified">
99-
<!-- TRANSLATORS: Button label. Sends a new numeric one-time password (OTP) to the signer via email, SMS, WhatsApp, Telegram, Signal, or XMPP. "code" here means a short numeric verification code, not source code. -->
100101
<NcButton :disabled="loading"
101-
type="submit"
102+
type="submit"
102103
@click="requestNewCode">
103104
<template #icon>
104105
<NcLoadingIcon v-if="loading" :size="20" />
105106
</template>
107+
<!-- TRANSLATORS: Button label. Sends a new numeric one-time password (OTP) to the signer via email, SMS, WhatsApp, Telegram, Signal, or XMPP. "code" here means a short numeric verification code, not source code. -->
106108
{{ t('libresign', 'Request new code') }}
107109
</NcButton>
108-
<!-- TRANSLATORS: Button label. Submits the numeric one-time password (OTP) typed by the signer to complete verification. The code was delivered via email, SMS, WhatsApp, Telegram, Signal, or XMPP. "code" here means a short numeric verification code, not source code. -->
109110
<NcButton :disabled="!canSendCode"
110111
type="submit"
111112
variant="primary"
112113
@click="sendCode">
113114
<template #icon>
114115
<NcLoadingIcon v-if="loading" :size="20" />
115116
</template>
117+
<!-- TRANSLATORS: Button label. Submits the numeric one-time password (OTP) typed by the signer to complete verification. The code was delivered via email, SMS, WhatsApp, Telegram, Signal, or XMPP. "code" here means a short numeric verification code, not source code. -->
116118
{{ t('libresign', 'Validate code') }}
117119
</NcButton>
118120
</template>

0 commit comments

Comments
 (0)