mirror of
https://github.com/LibreSign/libresign.git
synced 2025-12-18 05:20:45 +01:00
chore: replace Name by Common Name
The entire name of this field is Common Name and not only Name. Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
This commit is contained in:
parent
2d84d6a9ff
commit
b363c58e6e
4 changed files with 7 additions and 7 deletions
|
|
@ -56,7 +56,7 @@ class RulesService {
|
|||
|
||||
public function getHelperText(string $fieldName) {
|
||||
return match ($fieldName) {
|
||||
'CN' => $this->l10n->t('Name (CN)'),
|
||||
'CN' => $this->l10n->t('Common Name (CN)'),
|
||||
'C' => $this->l10n->t('Two-letter ISO 3166 country code'),
|
||||
'ST' => $this->l10n->t('Full name of states or provinces'),
|
||||
'L' => $this->l10n->t('Name of a locality or place, such as a city, county, or other geographic region'),
|
||||
|
|
|
|||
|
|
@ -21,10 +21,10 @@ export function selectCustonOption(id) {
|
|||
export const options = [
|
||||
{
|
||||
id: 'CN',
|
||||
label: t('libresign', 'Name (CN)'),
|
||||
label: t('libresign', 'Common Name (CN)'),
|
||||
max: 64,
|
||||
value: '',
|
||||
helperText: t('libresign', 'Name (CN)'),
|
||||
helperText: t('libresign', 'Common Name (CN)'),
|
||||
},
|
||||
{
|
||||
id: 'C',
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
<table class="grid">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>{{ t('libresign', 'Name (CN)') }}</td>
|
||||
<td>{{ t('libresign', 'Common Name (CN)') }}</td>
|
||||
<td>{{ certificate.rootCert.commonName }}</td>
|
||||
</tr>
|
||||
<tr v-for="(customName) in certificate.rootCert.names" :key="customName.id" class="customNames">
|
||||
|
|
@ -57,7 +57,7 @@
|
|||
</div>
|
||||
<div v-else id="formRootCertificate" class="form-libresign">
|
||||
<div class="form-group">
|
||||
<label for="commonName" class="form-heading--required">{{ t('libresign', 'Name (CN)') }}</label>
|
||||
<label for="commonName" class="form-heading--required">{{ t('libresign', 'Common Name (CN)') }}</label>
|
||||
<NcTextField id="commonName"
|
||||
ref="commonName"
|
||||
v-model="certificate.rootCert.commonName"
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
<table class="grid">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>{{ t('libresign', 'Name (CN)') }}</td>
|
||||
<td>{{ t('libresign', 'Common Name (CN)') }}</td>
|
||||
<td>{{ certificate.rootCert.commonName }}</td>
|
||||
</tr>
|
||||
<tr v-for="(customName) in certificate.rootCert.names" :key="customName.id" class="customNames">
|
||||
|
|
@ -53,7 +53,7 @@
|
|||
</div>
|
||||
<div v-else id="formRootCertificateOpenSsl" class="form-libresign">
|
||||
<div class="form-group">
|
||||
<label for="commonName" class="form-heading--required">{{ t('libresign', 'Name (CN)') }}</label>
|
||||
<label for="commonName" class="form-heading--required">{{ t('libresign', 'Common Name (CN)') }}</label>
|
||||
<NcTextField id="commonName"
|
||||
ref="commonName"
|
||||
v-model="certificate.rootCert.commonName"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue