Skip to content

Commit dac5e72

Browse files
i18n: mention delivery channels in TRANSLATORS comments for 'code' strings
Improve the three template TRANSLATORS comments that describe OTP 'code' strings to explicitly list the possible delivery channels: email, SMS, WhatsApp, Telegram, Signal, or XMPP. Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
1 parent 5a355e2 commit dac5e72

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/views/SignPDF/_partials/ModalVerificationCode.vue

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,10 @@
3636
<!-- Step 1: Token mode -->
3737
<div v-else-if="mode === 'token' && step1Active" class="step-content">
3838
<p class="step-explanation">
39+
<!-- TRANSLATORS: Instruction shown when the signer must verify via a messaging channel. "contact information" here means a phone number used for SMS, WhatsApp, Telegram, Signal, or XMPP. -->
3940
{{ t('libresign', 'To sign this document, we must verify your identity. Enter your contact information to receive a verification code.') }}
4041
</p>
42+
<!-- TRANSLATORS: Label and placeholder for the phone number input field used to receive a verification code via SMS, WhatsApp, Telegram, Signal, or XMPP. "Contact information" here means a phone number, not a generic address book entry. -->
4143
<NcTextField v-model="newPhoneNumber"
4244
:disabled="loading"
4345
name="cellphone"
@@ -55,6 +57,7 @@
5557
<div class="contact-display">
5658
{{ displayContact }}
5759
</div>
60+
<!-- TRANSLATORS: Label and placeholder for the input field where the signer types the numeric one-time password (OTP) delivered via email, SMS, WhatsApp, Telegram, Signal, or XMPP. "code" here means a short numeric verification code, not source code. -->
5861
<NcTextField v-model="token"
5962
:disabled="loading"
6063
:label="t('libresign', 'Enter your code')"
@@ -93,6 +96,7 @@
9396

9497
<!-- Step 2 actions (common) -->
9598
<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. -->
96100
<NcButton :disabled="loading"
97101
type="submit"
98102
@click="requestNewCode">
@@ -101,6 +105,7 @@
101105
</template>
102106
{{ t('libresign', 'Request new code') }}
103107
</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. -->
104109
<NcButton :disabled="!canSendCode"
105110
type="submit"
106111
variant="primary"

0 commit comments

Comments
 (0)