0
0
Fork 0
mirror of https://github.com/alerta/alerta-webui.git synced 2025-03-17 22:12:37 +00:00

Reorder language translations into components

This commit is contained in:
Nick Satterly 2020-01-26 17:21:01 +01:00
parent e87842a547
commit ed0ea7fb74
21 changed files with 716 additions and 522 deletions

View file

@ -661,8 +661,8 @@ export default {
this.toggleFullScreen()
}
},
languagePref(newValue, oldValue) {
i18n.locale = newValue
languagePref(val) {
i18n.locale = val
}
},
mounted() {

View file

@ -22,7 +22,7 @@
color="grey darken-2"
@click="unwatchAlert"
>
<v-icon>visibility_off</v-icon>&nbsp;{{ $t('UnWatch') }}
<v-icon>visibility_off</v-icon>&nbsp;{{ $t('Unwatch') }}
</v-btn>
<v-btn
@ -31,7 +31,7 @@
color="grey darken-2"
@click="showForm = true"
>
<v-icon>note_add</v-icon>{{ $t('AddNote') }}
<v-icon>note_add</v-icon>&nbsp;{{ $t('AddNote') }}
</v-btn>
<v-btn
@ -77,7 +77,7 @@
class="white--text"
@click="takeAction('open')"
>
<v-icon>refresh</v-icon>&nbsp;Open
<v-icon>refresh</v-icon>&nbsp;{{ $t('Open') }}
</v-btn>
<v-btn
@ -87,7 +87,7 @@
class="white--text"
@click="takeAction('ack')"
>
<v-icon>check_circle_outline</v-icon>&nbsp;Ack
<v-icon>check_circle_outline</v-icon>&nbsp;{{ $t('Ack') }}
</v-btn>
<v-btn
@ -96,7 +96,7 @@
class="white--text"
@click="takeAction('unack')"
>
<v-icon>check_circle_outline</v-icon>&nbsp;Unack
<v-icon>check_circle_outline</v-icon>&nbsp;{{ $t('Unack') }}
</v-btn>
<v-btn
@ -106,7 +106,7 @@
class="white--text"
@click="shelveAlert()"
>
<v-icon>schedule</v-icon>&nbsp;Shelve
<v-icon>schedule</v-icon>&nbsp;{{ $t('Shelve') }}
</v-btn>
<v-btn
@ -115,7 +115,7 @@
class="white--text"
@click="takeAction('unshelve')"
>
<v-icon>schedule</v-icon>&nbsp;Unshelve
<v-icon>schedule</v-icon>&nbsp;{{ $t('Unshelve') }}
</v-btn>
<v-btn
@ -124,7 +124,7 @@
class="white--text"
@click="takeAction('close')"
>
<v-icon>highlight_off</v-icon>&nbsp;Close
<v-icon>highlight_off</v-icon>&nbsp;{{ $t('Close') }}
</v-btn>
<v-btn
@ -132,7 +132,7 @@
:class="{'black--text': isDark}"
@click="addNote"
>
<v-icon>note_add</v-icon>&nbsp;Add&nbsp;note
<v-icon>note_add</v-icon>&nbsp;{{ $t('AddNote') }}
</v-btn>
<v-spacer />
@ -158,6 +158,7 @@
<script>
import debounce from 'lodash/debounce'
import i18n from '@/plugins/i18n'
export default {
props: {
@ -180,8 +181,8 @@ export default {
text: '',
maxNoteLength: 200,
textRules: [
v => !!v || 'Text is required',
v => (v && v.length <= vm.maxNoteLength) || `Text must be less than ${vm.maxNoteLength} characters`
v => !!v || i18n.t('TextIsRequired'),
v => (v && v.length <= vm.maxNoteLength) || `${i18n.t('TextMustBeLessThan')} ${vm.maxNoteLength} ${i18n.t('characters')}`
]
}),
computed: {

View file

@ -213,7 +213,7 @@
grow
>
<v-tab ripple>
<v-icon>info</v-icon>{{ $t('Details') }}
<v-icon>info</v-icon>&nbsp;{{ $t('Details') }}
</v-tab>
<v-tab-item
:transition="false"
@ -242,7 +242,7 @@
<div class="d-flex align-top">
<div class="flex xs3 text-xs-left">
<div class="grey--text">
{{ $t('Alert_ID') }}
{{ $t('AlertId') }}
</div>
</div>
<div class="flex xs6 text-xs-left">
@ -256,7 +256,7 @@
<div class="d-flex align-top">
<div class="flex xs3 text-xs-left">
<div class="grey--text">
{{ $t('LastReceiveId') }}
{{ $t('LastReceiveAlertId') }}
</div>
</div>
<div class="flex xs6 text-xs-left">
@ -460,7 +460,7 @@
</span>
<span
v-if="statusNote && statusNote.user"
>&nbsp; {{ $t('by') }} <b>{{ statusNote.user }}</b> ({{ statusNote.updateTime | timeago }})
>&nbsp;{{ $t('by') }} <b>{{ statusNote.user }}</b> ({{ statusNote.updateTime | timeago }})
</span>
</div>
</div>
@ -648,7 +648,7 @@
</v-tab-item>
<v-tab ripple>
<v-icon>history</v-icon>{{ $t('History') }}
<v-icon>history</v-icon>&nbsp;{{ $t('History') }}
</v-tab>
<v-tab-item
:transition="false"
@ -717,7 +717,7 @@
</v-tab-item>
<v-tab ripple>
<v-icon>assessment</v-icon>{{ $t('Data') }}
<v-icon>assessment</v-icon>&nbsp;{{ $t('Data') }}
</v-tab>
<v-tab-item
:transition="false"
@ -779,7 +779,7 @@ export default {
sortBy: 'updateTime'
},
headers: [
{ text: i18n.t('Alert_ID'), value: 'id', hide: 'smAndDown' },
{ text: i18n.t('AlertId'), value: 'id', hide: 'smAndDown' },
{ text: i18n.t('UpdateTime'), value: 'updateTime', hide: 'smAndDown' },
{ text: i18n.t('Updated'), value: 'updateTime', hide: 'mdAndUp' },
{ text: i18n.t('Severity'), value: 'severity', hide: 'smAndDown' },

View file

@ -424,7 +424,7 @@ export default {
data: () => ({
search: '',
headersMap: {
id: { text: i18n.t('Alert_ID'), value: 'id' },
id: { text: i18n.t('AlertId'), value: 'id' },
resource: { text: i18n.t('Resource'), value: 'resource' },
event: { text: i18n.t('Event'), value: 'event' },
environment: { text: i18n.t('Environment'), value: 'environment' },
@ -436,21 +436,21 @@ export default {
value: { text: i18n.t('Value'), value: 'value' },
text: { text: i18n.t('Description'), value: 'text' },
tags: { text: i18n.t('Tags'), value: 'tags' },
attributes: { text: i18n.t('Attributes'), value: 'attributes' },
attributes: { text: i18n.t('Attribute'), value: 'attributes' },
origin: { text: i18n.t('Origin'), value: 'origin' },
type: { text: i18n.t('Type'), value: 'type' },
createTime: { text: i18n.t('CreateTime'), value: 'createTime' },
timeout: { text: i18n.t('Timeout'), value: 'timeout' },
timeoutLeft: { text: i18n.t('TimeoutLeft'), value: 'timeoutLeft' },
customer: { text: i18n.t('Customer'), value: 'customer' },
duplicateCount: { text: i18n.t('DuplicateCount'), value: 'duplicateCount' },
duplicateCount: { text: i18n.t('Dupl'), value: 'duplicateCount' },
repeat: { text: i18n.t('Repeat'), value: 'repeat' },
previousSeverity: { text: i18n.t('PreviousSeverity'), value: 'previousSeverity' },
previousSeverity: { text: i18n.t('PrevSeverity'), value: 'previousSeverity' },
trendIndication: { text: i18n.t('TrendIndication'), value: 'trendIndication' },
receiveTime: { text: i18n.t('ReceiveTime'), value: 'receiveTime' },
lastReceiveId: { text: i18n.t('LastReceiveId'), value: 'lastReceiveId' },
lastReceiveTime: { text: i18n.t('LastReceiveTime'), value: 'lastReceiveTime' },
note: { text: i18n.t('Note'), value: 'note', sortable: false }
note: { text: i18n.t('LastNote'), value: 'note', sortable: false }
},
details: false,
selectedId: null,

View file

@ -308,19 +308,7 @@ export default {
},
}),
computed: {
headers: function() {
return [
{ text: i18n.t('Alert_ID'), value: 'id' },
{ text: i18n.t('UpdateTime'), value: 'updateTime' },
{ text: i18n.t('Severity'), value: 'severity' },
{ text: i18n.t('Status'), value: 'status' },
{ text: i18n.t('Type'), value: 'type' },
{ text: i18n.t('Event'), value: 'event' },
{ text: i18n.t('Value'), value: 'value' },
{ text: i18n.t('Text'), value: 'text' }
]
},
dateRanges: function() {
dateRanges() {
return [
{ text: i18n.t('Latest'), range: [null, null] },
{ text: i18n.t('Hour'), range: [-3600, null] },

View file

@ -86,7 +86,7 @@
close
>
<strong>{{ data.item }}</strong>&nbsp;
<span>(scope)</span>
<span>({{ $t('scope') }})</span>
</v-chip>
</template>
</v-autocomplete>
@ -234,7 +234,7 @@
small
>
<strong>{{ scope }}</strong>&nbsp;
<span>({{ $t('Scope') }})</span>
<span>({{ $t('scope') }})</span>
</v-chip>
</td>
<td>{{ props.item.text }}</td>

View file

@ -35,7 +35,7 @@
@click="editedItem.customer = null"
>
<strong>{{ editedItem.customer }}</strong>&nbsp;
<span>({{ $t('Customer') }})</span>
<span>({{ $t('customer') }})</span>
</v-chip>
</v-flex>
<v-text-field
@ -102,7 +102,7 @@
<td>
<v-chip>
<strong>{{ props.item.customer }}</strong>&nbsp;
<span>({{ $t('Customer') }})</span>
<span>({{ $t('customer') }})</span>
</v-chip>
</td>
<td class="text-no-wrap">

View file

@ -66,7 +66,7 @@
<div class="headline">
{{ groupName }}
</div>
<span>{{ $t('UsersGroup') }}</span>
<span>{{ $t('UsersInGroup') }}</span>
</div>
</v-card-title>
@ -133,7 +133,7 @@
@click="editedItem.name = null"
>
<strong>{{ editedItem.name }}</strong>&nbsp;
<span>({{ $t('Group') }})</span>
<span>({{ $t('group') }})</span>
</v-chip>
</v-flex>
<v-text-field

View file

@ -26,7 +26,7 @@
@click="editedItem.match = null"
>
<strong>{{ editedItem.match }}</strong>&nbsp;
<span>({{ $t('Role') }})</span>
<span>({{ $t('role') }})</span>
</v-chip>
</v-flex>
<v-text-field
@ -58,7 +58,7 @@
close
>
<strong>{{ data.item }}</strong>&nbsp;
<span>({{ $t('Scope') }})</span>
<span>({{ $t('scope') }})</span>
</v-chip>
</template>
</v-autocomplete>
@ -112,7 +112,7 @@
close
>
<strong>{{ data.item }}</strong>&nbsp;
<span>({{ $t('Scope') }})</span>
<span>({{ $t('scope') }})</span>
</v-chip>
</template>
</v-autocomplete>
@ -147,7 +147,7 @@
<td>
<v-chip small>
<strong>{{ props.item.match }}</strong>&nbsp;
<span>({{ $t('Role') }})</span>
<span>({{ $t('role') }})</span>
</v-chip>
<v-tooltip top>
<v-icon
@ -157,7 +157,7 @@
>
lock
</v-icon>
<span>({{ $t('SystemRole') }})</span>
<span>{{ $t('SystemRole') }}</span>
</v-tooltip>
</td>
<td>
@ -167,7 +167,7 @@
small
>
<strong>{{ scope }}</strong>&nbsp;
<span>({{ $t('Scope') }})</span>
<span>({{ $t('scope') }})</span>
</v-chip>
</td>
<td class="text-no-wrap">

View file

@ -25,7 +25,7 @@
/>
<v-checkbox
v-model="isPlaySounds"
:label="$t('PlayNotif')"
:label="$t('PlaySounds')"
hide-details
class="my-0"
/>
@ -46,7 +46,7 @@
>
<div>
<div class="headline">
{{ $t('LanguagesSettings') }}
{{ $t('LanguageSettings') }}
</div>
</div>
</v-card-title>
@ -131,9 +131,9 @@
<v-combobox
v-model.number="rowsPerPage"
:items="rowsPerPageItems"
:label="$t('RowsPage')"
:label="$t('PageRows')"
type="number"
:suffix="$t('Rows')"
:suffix="$t('rows')"
/>
<v-combobox
@ -141,7 +141,7 @@
:items="refreshOptions"
:label="$t('RefreshInterval')"
type="number"
:suffix="$t('Seconds')"
:suffix="$t('seconds')"
/>
<v-combobox
@ -149,7 +149,7 @@
:items="shelveTimeoutOptions"
:label="$t('ShelveTimeout')"
type="number"
:suffix="$t('Hours')"
:suffix="$t('hours')"
/>
</v-layout>
</v-card-actions>
@ -213,13 +213,13 @@ export default {
shelveTimeoutOptions: [1, 2, 4, 8, 24] // hours
}),
computed: {
languages: function() {
languages() {
return [
{ text: i18n.t('English'), value: 'en' },
{ text: i18n.t('French'), value: 'fr' }
]
},
timezoneOptions: function() {
timezoneOptions() {
return [
{ text: i18n.t('UseLocal'), value: 'local' },
{ text: i18n.t('UseUTC'), value: 'utc' }

View file

@ -41,7 +41,7 @@
<v-icon slot="activator">
fas fa-user-times
</v-icon>
<span>({{ $t('EmailNotVerified') }})</span>
<span>{{ $t('EmailNotVerified') }}</span>
</v-tooltip>
</v-list-tile-action>
</v-list-tile>
@ -69,7 +69,7 @@
<span
v-if="index === 3"
class="grey--text caption"
>(+{{ profile.customers.length - 1 }} others)</span>
>(+{{ profile.customers.length - 1 }} {{ $t('others') }})</span>
</span>
</v-list-tile-title>
<v-list-tile-sub-title>{{ $t('Customers') }}</v-list-tile-sub-title>
@ -92,10 +92,10 @@
<span
v-if="index === 3"
class="grey--text caption"
>(+{{ profile.orgs.length - 1 }} {{ $t('Others') }})</span>
>(+{{ profile.orgs.length - 1 }} {{ $t('others') }})</span>
</span>
</v-list-tile-title>
<v-list-tile-sub-title>Organizations</v-list-tile-sub-title>
<v-list-tile-sub-title>{{ $t('Organizations') }}</v-list-tile-sub-title>
</v-list-tile-content>
</v-list-tile>
<v-list-tile v-if="profile.groups">
@ -114,7 +114,7 @@
<span
v-if="index === 3"
class="grey--text caption"
>(+{{ profile.groups.length - 1 }} {{ $t('Others') }})</span>
>(+{{ profile.groups.length - 1 }} {{ $t('others') }})</span>
</span>
</v-list-tile-title>
<v-list-tile-sub-title>{{ $t('Groups') }}</v-list-tile-sub-title>
@ -136,7 +136,7 @@
<span
v-if="index === 3"
class="grey--text caption"
>(+{{ profile.roles.length - 1 }} {{ $t('Others') }})</span>
>(+{{ profile.roles.length - 1 }} {{ $t('others') }})</span>
</span>
</v-list-tile-title>
<v-list-tile-sub-title>{{ $t('Roles') }}</v-list-tile-sub-title>
@ -158,7 +158,7 @@
<span
v-if="index === 3"
class="grey--text caption"
>(+{{ scopes.length - 1 }} {{ $t('Others') }})</span>
>(+{{ scopes.length - 1 }} {{ $t('others') }})</span>
</span>
</v-list-tile-title>
<v-list-tile-sub-title>{{ $t('Scopes') }}</v-list-tile-sub-title>
@ -198,17 +198,17 @@ export default {
},
data: () => ({
provider: {
basic: { icon: 'fas fa-id-card', text: i18n.t('BasicAuth') },
ldap: { icon: 'fas fa-id-card', text: i18n.t('LDAP') },
azure: { icon: 'fab fa-windows', text: i18n.t('AzureOAuth2') },
cognito: { icon: 'fab fa-aws', text: i18n.t('AmazonCognito') },
github: { icon: 'fab fa-github', text: i18n.t('GitHubOAuth2') },
gitlab: { icon: 'fab fa-gitlab', text: i18n.t('GitLabOAuth2') },
google: { icon: 'fab fa-google', text: i18n.t('GoogleOAuth2') },
keycloak: { icon: 'fas fa-key', text: i18n.t('Keycloak') },
openid: { icon: 'fab fa-openid', text: i18n.t('OpenIDConnect') },
pingfederate: { icon: 'fas fa-id-badge', text: i18n.t('PingFederate') },
saml2: { icon: 'fas fa-id-badge', text: i18n.t('SAML2') }
basic: { icon: 'fas fa-id-card', text: 'BasicAuth' },
ldap: { icon: 'fas fa-id-card', text: 'LDAP' },
azure: { icon: 'fab fa-windows', text: 'Azure OAuth2' },
cognito: { icon: 'fab fa-aws', text: 'Amazon Cognito' },
github: { icon: 'fab fa-github', text: 'GitHub OAuth2' },
gitlab: { icon: 'fab fa-gitlab', text: 'GitLab OAuth2' },
google: { icon: 'fab fa-google', text: 'Google OAuth2' },
keycloak: { icon: 'fas fa-key', text: 'Keycloak' },
openid: { icon: 'fab fa-openid', text: 'OpenID Connect' },
pingfederate: { icon: 'fas fa-id-badge', text: 'PingFederate' },
saml2: { icon: 'fas fa-id-badge', text: 'SAML2' }
}
}),
computed: {

View file

@ -449,7 +449,7 @@ export default {
editedGroups: null,
defaultItem: {
name: '',
status: vm.editedId ? null : i18n.t('Active'),
status: vm.editedId ? null : 'active',
login: '',
email: '',
email_verified: false,

View file

@ -16,20 +16,20 @@
>
<div v-show="message">
<p class="text-xs-center headline font-weight-medium">
{{ $t('Thanks') }} {{ message }}{{ $t('YouCanNow') }} <a href="/login">
{{ $t('LogIn') }}
{{ $t('Thanks') }} {{ message }}{{ $t('YouCanNowLogin1') }} <a href="/login">
{{ $t('YouCanNowLogin2') }}
</a>
</p>
</div>
<div v-show="error">
<p class="text-xs-center headline font-weight-medium">
{{ $t('ProblemEmail') }}
{{ $t('EmailConfirmFailed') }}
<a href="/">
{{ $t('TryAgain') }}
</a>
</p>
<p class="text-xs-center subheading font-weight-medium">
{{ $t('Error') }} {{ error }}
{{ $t('Error') }}: {{ error }}
</p>
</div>
</v-flex>

View file

@ -16,7 +16,7 @@
offset-sm2
>
<p class="text-xs-center headline font-weight-medium">
{{ $t('MsgLogin') }}
{{ $t('LoginToContinue') }}
</p>
<v-form @submit.prevent="login()">
<v-text-field
@ -85,7 +85,7 @@
</div>
<div v-show="error">
<p class="text-xs-center headline font-weight-medium">
{{ $t('SorryProblem') }}
{{ $t('UnspecifiedProblem') }}
<a
href="#"
@click="authenticateUsingSAML"
@ -94,7 +94,7 @@
</a>
</p>
<p class="text-xs-center subheading font-weight-medium">
{{ $t('Error') }} {{ error }}
{{ $t('Error') }}: {{ error }}
</p>
</div>
</v-flex>
@ -113,7 +113,7 @@
</div>
<div v-show="error">
<p class="text-xs-center headline font-weight-medium">
{{ $t('SorryProblem') }}
{{ $t('UnspecifiedProblem') }}
<a
href="#"
@click="authenticate"
@ -122,7 +122,7 @@
</a>
</p>
<p class="text-xs-center subheading font-weight-medium">
{{ $t('Error') }} {{ error }}
{{ $t('Error') }}: {{ error }}
</p>
</div>
</v-flex>
@ -188,7 +188,7 @@ export default {
.then(() => this.$router.push({ path: this.$route.query.redirect || '/' }))
.catch(error => this.error = error.response.data.message)
} else {
this.message = i18n.t('SorryNoAuthenticate')
this.message = i18n.t('AuthNotPossible')
this.error = `Unknown authentication provider (${this.$config.provider})`
}
},
@ -202,13 +202,13 @@ export default {
.then(() => this.$router.push({ path: this.$route.query.redirect || '/' }))
.catch(error => this.error = error.response.data.message)
} else {
this.message = i18n.t('SorryNoAuthenticate')
this.message = i18n.t('AuthNotPossible')
this.error = event.data.message ? event.data.message : JSON.stringify(event)
}
}
return
})
auth_win = window.open(this.$config.endpoint + '/auth/saml', i18n.t('AuthenticatingInProgress'))
auth_win = window.open(this.$config.endpoint + '/auth/saml', i18n.t('AuthInProgress'))
}
}
}

View file

@ -54,7 +54,7 @@ export default {
headers: [
{text: i18n.t('Event'), value: 'event', sortable: false},
{text: i18n.t('Count'), value: 'count', sortable: false},
{text: i18n.t('DuplicateCount'), value: 'duplicateCount', sortable: false},
{text: i18n.t('DuplCount'), value: 'duplicateCount', sortable: false},
{text: i18n.t('Environment'), value: 'environment', sortable: false},
{text: i18n.t('Services'), value: 'services', sortable: false},
{text: i18n.t('Resources'), value: 'resources', sortable: false},

View file

@ -54,7 +54,7 @@ export default {
headers: [
{text: i18n.t('Event'), value: 'event', sortable: false},
{text: i18n.t('Count'), value: 'count', sortable: false},
{text: i18n.t('DuplicateCount'), value: 'duplicateCount', sortable: false},
{text: i18n.t('DuplCount'), value: 'duplicateCount', sortable: false},
{text: i18n.t('Environment'), value: 'environment', sortable: false},
{text: i18n.t('Services'), value: 'services', sortable: false},
{text: i18n.t('Resources'), value: 'resources', sortable: false},

View file

@ -54,7 +54,7 @@ export default {
headers: [
{text: i18n.t('Event'), value: 'event', sortable: false},
{text: i18n.t('Count'), value: 'count', sortable: false},
{text: i18n.t('DuplicateCount'), value: 'duplicateCount', sortable: false},
{text: i18n.t('DuplCount'), value: 'duplicateCount', sortable: false},
{text: i18n.t('Environment'), value: 'environment', sortable: false},
{text: i18n.t('Services'), value: 'services', sortable: false},
{text: i18n.t('Resources'), value: 'resources', sortable: false},

View file

@ -1,237 +1,342 @@
export const en = {
Watch: 'Watch',
// topnav
Search: 'Search',
FullScreen: 'Full screen',
Refresh: 'Refresh',
SignUp: 'SignUp',
selected: 'selected',
Ack: 'Ack',
Unack: 'Unack',
Close: 'Close',
Delete: 'Delete',
Settings: 'Settings',
LogIn: 'Log In',
LogOut: 'Log Out',
SignUp: 'Sign Up',
SignIn: 'Sign In',
// sidenav
Alerts: 'Alerts',
Heartbeats: 'Heartbeats',
Users: 'Users',
Groups: 'Groups',
Customers: 'Customers',
Blackouts: 'Blackouts',
Permissions: 'Permissions',
APIKeys: 'API Keys',
Labels: 'Labels',
Reports: 'Reports',
More: 'More',
Settings: 'Settings',
Help: 'Help',
About: 'About',
More: 'More',
addedNoteOn: 'added note on',
by: 'by',
ALL: 'ALL',
Thanks: 'Thanks!',
YouCanNow: '. You can now',
ProblemEmail: 'Sorry, there was a problem confirming your email address',
ResetLink: 'Enter your email and we\'ll send you a reset link',
Send: 'Send',
SignIn: 'Sign In',
AlreadyHaveAccount: 'Already have an account?',
CheckEmail: 'Check your email for a reset link...',
ReturnSignIn: 'Return to Sign In',
ResetEmailSent: 'Reset email sent successfully!',
MsgLogin: 'Log in to Alerta to continue',
Username: 'Username',
Password: 'Password',
LogIn: 'Log In',
CreateAccount: 'Create Account',
ForgotPassword: 'Forgot Password?',
SorryProblem: 'Sorry, there was a problem',
TryAgain: 'Please try again',
Error: 'Error: ',
SorryNoAuthenticate: 'Sorry, it is not possible to authenticate',
AuthenticatingInProgress: 'Authenticating...',
LoggedOut: 'You have been logged out.',
ConfirmPassword: 'confirm Password',
ChooseNewPassword: 'Choose a new password',
ResetPassword: 'Reset Password',
CreateAlertaAccount: 'Create your Alerta account',
SignUpNotAvailable: 'Sorry, sign up is not currently available',
FullName: 'Full Name',
Description: 'Description',
TopFlapping: 'Top 10 Flapping',
TopFlappingDescription: 'Chattering and fleeting alert sources that have generated the most number of alert severity changes.',
Resources: 'Resources',
Services: 'Services',
Count: 'Count',
TopOffenders: 'Top 10 Offenders',
TopOffendersDescription: 'Frequently occurring alert sources that have generated the most number of alerts and alert duplicates.',
TopStanding: 'Top 10 Standing',
TopStandingDescription: 'Stale alert sources that have active alerts for a prolonged duration.',
AddNote: 'Add Note',
Alert_ID: 'Alert ID',
Resource: 'Resource',
Event: 'Event',
Environment: 'Environment',
Severity: 'Severity',
Correlate: 'Correlate',
Status: 'Status',
Service: 'Service',
Group: 'Group',
Value: 'Value',
Tags: 'Tags',
Attributes: 'Attributes',
Origin: 'Origin',
Type: 'Type',
CreateTime: 'Create Time',
Timeout: 'Timeout',
TimeoutLeft: 'Timeout',
Customer: 'Customer',
DuplicateCount: 'Dupl. count',
Repeat: 'Repeat',
PreviousSeverity: 'Prev. Severity',
TrendIndication: 'Trend Indication',
ReceiveTime: 'Receive Time',
LastReceiveId: 'Last Receive Id',
LastReceiveTime: 'Last Receive Time',
Note: 'Last Note',
APIKey: 'API Key',
APIKeys: 'API Keys',
Scopes: 'Scopes',
Expires: 'Expires',
Cancel: 'Cancel',
Save: 'Save',
Search: 'Search',
Active: 'Active',
Slow: 'Slow',
Expired: 'Expired',
Scope: 'Scope',
NoDisplay: 'Sorry, nothing to display here :(',
SearchNoResult1: 'Your search for ',
SearchNoResult2: 'found no results.',
User: 'User',
LastUsed: 'Last Used',
Actions: 'Actions',
Copy: 'Copy',
Copied: 'Copied!',
NewApiKey: 'New API Key',
EditApiKey: 'Edit API Key',
ConfirmDelete: 'Are you sure you want to delete this item?',
StartDate: 'Start Date',
EndDate: 'End Date',
Reason: 'Reason',
Blackouts: 'Blackouts',
Created: 'Created',
Start: 'Start',
End: 'End',
NewBlackout: 'New Blackout',
EditBlackout: 'Edit Blackout',
ChooseService: 'Choose one or more service',
LookUp: 'Look Up',
LookUpDescription: 'Use login, Keycloak role, GitHub org, GitLab group or email domain',
Customers: 'Customers',
NewCustomer: 'New Customer',
EditCustomer: 'Edit Customer',
Required: 'Required',
AddRemoveUsers: 'Add/Remove Users',
Addusers: 'Add users',
UsersGroup: 'Users in group',
Groups: 'Groups',
NumberUsers: 'Number of Users',
Name: 'Name',
NewGroup: 'New group',
EditGroup: 'Edit group',
Heartbeats: 'Heartbeats',
Latency: 'Latency',
Since: 'Since',
OpenGitHub: 'Open in GitHub',
WebUI: 'Web UI',
API: 'API',
Build: 'Build',
Date: 'Date',
GitRevision: 'Git Revision',
APIEndpoint: 'API Endpoint',
Permissions: 'Permissions',
Role: 'Role',
SystemRole: 'System role',
NewPermission: 'New permission',
EditPermission: 'Edit permission',
ApplicationSettings: 'Application Settings',
DarkTheme: 'Dark Theme',
PlayNotif: 'Play notification sounds',
LanguagesSettings: 'Language settings',
Languages: 'Languages :',
DateTimeSettings: 'Date and time settings',
LongDate: 'Long date format',
MediumDate: 'Medium date format',
ShortDate: 'Short date format',
DisplayMode: 'Display mode',
AlertSettings: 'Alert summary settings',
RowsPage: 'Rows per page',
RefreshInterval: 'Refresh interval',
ShelveTimeout: 'Shelve timeout',
Shelve: 'Shelve',
English: 'English',
French: 'French',
UseLocal: 'Use local date & time',
UseUTC: 'Use Coordinated Universal Time (UTC)',
Rows: 'rows',
Hours: 'hours',
Seconds: 'seconds',
EmailVerified: 'Email verified',
EmailNotVerified: 'Email not verified',
Others: 'Others',
Roles: 'Roles',
LogOut: 'Log Out',
BasicAuth: 'Basic Auth',
LDAP: 'LDAP',
AzureOAuth2: 'Azure eOAuth2',
AmazonCognito: 'Amazon Cognito',
GitHubOAuth2: 'GitHub OAuth2',
GitLabOAuth2: 'GitLab OAuth2',
GoogleOAuth2: 'Google OAuth2',
Keycloak: 'Keycloak',
OpenIDConnect: 'OpenID Connect',
PingFederate: 'PingFederate',
SAML2: 'SAML2',
LastUpdate: 'Last Update',
Uptime: 'Uptime',
Metric: 'Metric',
AvgTime: 'Avg. Time',
Users: 'Users',
LogInUser: 'Login',
Email: 'Email',
Verified: 'Verified',
Comment: 'Comment',
VerifiedOrNot: 'Verified?',
LastLogin: 'Last Login',
Min6Char: 'Min 6 characters',
PasswordNotMatch: 'Passwords entered don\'t match',
NewUser: 'New user',
EditUser: 'Edit user',
Inactive: 'Inactive',
// more
ChooseDisplayDensity: 'Choose a display density',
DisplayDensity: 'Display density',
Comfortable: 'Comfortable',
Compact: 'Compact',
OK: 'OK',
Panel: 'Panel',
DisplayDensity: 'Display density',
Hide: 'Hide',
Show: 'Show',
DownloadAsCsv: 'Download as CSV',
// Groups store
UserAddedGroup: 'User added to group.',
UserRemovedGroup: 'User removed from group.',
// Preferences store
SettingsSaved: 'Settings saved.',
SettingsReset: 'Settings reset to defaults.',
SettingsError: 'Could not retrieve user preferences.',
// Users store
UserStatusSaved: 'User status saved.',
EmailSaved: 'Email verified saved.',
// statuses
Open: 'Open',
Assign: 'Assign',
Ack: 'Ack',
Shelved: 'Shelved',
Blackout: 'Blackout',
Closed: 'Closed',
Expired: 'Expired',
Unknown: 'Unknown',
NotValid: 'Not Valid',
// operator actions
Open: 'Open',
Assign: 'Assign',
Ack: 'Ack',
Unack: 'Unack',
Shelve: 'Shelve',
Unshelve: 'Unshelve',
Close: 'Close',
Watch: 'Watch',
Unwatch: 'Unwatch',
AddNote: 'Add&nbsp;note',
Delete: 'Delete',
// Alert actions
TextIsRequired: 'Text is required',
TextMustBeLessThan: 'Text must be less than',
characters: 'characters',
// Alert detail
AlertId: 'Alert ID',
LastReceiveAlertId: 'Last Receive Alert ID',
CreateTime: 'Create Time',
ReceiveTime: 'Receive Time',
LastReceiveTime: 'Last Receive Time',
Customer: 'Customer',
Service: 'Service',
Environment: 'Environment',
Resource: 'Resource',
Event: 'Event',
Correlate: 'Correlate',
Group: 'Group',
Severity: 'Severity',
Status: 'Status',
Value: 'Value',
Text: 'Text',
TrendIndication: 'Trend Indication',
Timeout: 'Timeout',
Type: 'Type',
DuplicateCount: 'Duplicate count',
Repeat: 'Repeat',
Origin: 'Origin',
Tags: 'Tags',
Attributes: 'Attributes',
History: 'History',
Data: 'Data',
Details: 'Details',
addedNoteOn: 'added note on',
by: 'by',
// Alert history
UpdateTime: 'Update Time',
Updated: 'Updated',
User: 'User',
// Alert list
ALL: 'ALL',
Description: 'Description',
Attribute: 'Attribute',
TimeoutLeft: 'Timeout',
Dupl: 'Dupl.',
PrevSeverity: 'Prev. Severity',
LastReceiveId: 'Last Receive ID',
LastNote: 'Last Note',
// Alert list filter
Filters: 'Filters',
FilterDescription: 'Filter results by text search',
StatusDescription: 'Choose one or more status',
AllStatuses: 'All statuses',
CustomerDescription: 'Choose one or more customer',
StatusDescription: 'Choose one or more status',
AllCustomers: 'All customers',
ServiceDescription: 'Choose one or more service',
CustomerDescription: 'Choose one or more customer',
AllServices: 'All services',
GroupDescription: 'Choose one or more group',
ServiceDescription: 'Choose one or more service',
AllGroups: 'All groups',
Time: 'Time',
DateTime: 'Date/Time',
Apply: 'Apply',
Reset: 'Reset',
UpdateTime: 'Update Time',
Text: 'Text',
GroupDescription: 'Choose one or more group',
Latest: 'Latest',
Hour: '1 hour',
SixHours: '6 hours',
TwelveHours: '12 hours',
SelectRange: 'Select Range',
SettingsSaved: 'Settings saved.',
SettingsReset: 'Settings reset to defaults.',
SettingsError: 'Could not retrieve user preferences.',
UserAddedGroup: 'User added to group.',
UserRemovedGroup: 'User removed from group.',
UserStatusSaved: 'User status saved.',
EmailSaved: 'Email verified saved.',
DownloadAsCsv: 'Download as CSV'
}
DateTime: 'Date/Time',
StartDate: 'Start Date',
EndDate: 'End Date',
Time: 'Time',
Apply: 'Apply',
Reset: 'Reset',
// API keys
APIKey: 'API Key',
Search: 'Search',
Customer: 'Customer',
Scopes: 'Scopes',
Expires: 'Expires',
Active: 'Active',
Expired: 'Expired',
Slow: 'Slow',
User: 'User',
LastUsed: 'Last Used',
Actions: 'Actions',
Copy: 'Copy',
Copied: 'Copied!',
NewApiKey: 'New API Key',
EditApiKey: 'Edit API Key',
// Blackouts
ChooseService: 'Choose one or more service',
Start: 'Start',
End: 'End',
Created: 'Created',
Reason: 'Reason',
NewBlackout: 'New Blackout',
EditBlackout: 'Edit Blackout',
// Customers
LookUp: 'Look Up',
LookUpDescription: 'Use login, Keycloak role, GitHub org, GitLab group or email domain',
NewCustomer: 'New Customer',
EditCustomer: 'Edit Customer',
// Groups
AddRemoveUsers: 'Add/Remove Users',
Addusers: 'Add users',
UsersInGroup: 'Users in group',
NumberUsers: 'Number of Users',
NewGroup: 'New Group',
EditGroup: 'Edit Group',
// Heartbeats
Latency: 'Latency',
Since: 'Since',
// Manifest
API: 'API',
OpenGitHub: 'Open in GitHub',
WebUI: 'Web UI',
Build: 'Build',
Date: 'Date',
GitRevision: 'Git Revision',
APIEndpoint: 'API Endpoint',
// Perms
Role: 'Role',
Scope: 'Scope',
SystemRole: 'System role',
NewPermission: 'New permission',
EditPermission: 'Edit permission',
// Preferences
ApplicationSettings: 'Application Settings',
DarkTheme: 'Dark Theme',
PlaySounds: 'Play notification sounds',
LanguageSettings: 'Language settings',
Languages: 'Languages',
English: 'English',
French: 'French',
DateTimeSettings: 'Date and time settings',
LongDate: 'Long date format',
MediumDate: 'Medium date format',
ShortDate: 'Short date format',
DisplayMode: 'Display mode',
UseLocal: 'Use local date & time',
UseUTC: 'Use Coordinated Universal Time (UTC)',
AlertSettings: 'Alert summary settings',
PageRows: 'Rows per page',
rows: 'rows',
RefreshInterval: 'Refresh interval',
seconds: 'seconds',
ShelveTimeout: 'Shelve timeout',
hours: 'hours',
// Profile Me
EmailVerified: 'Email verified',
EmailNotVerified: 'Email not verified',
Customers: 'Customers',
Organizations: 'Organizations',
Groups: 'Groups',
Roles: 'Roles',
Scopes: 'Scopes',
others: 'others',
// Status
LastUpdate: 'Last Update',
Uptime: 'Uptime',
Metric: 'Metric',
Type: 'Type',
Name: 'Name',
Value: 'Value',
AvgTime: 'Avg. Time',
// Users
Active: 'Active',
Inactive: 'Inactive',
Login: 'Login',
Email: 'Email',
Verified: 'Verified',
Comment: 'Comment',
VerifiedOrNot: 'Verified?',
LastLogin: 'Last Login',
NewUser: 'New user',
EditUser: 'Edit user',
// Reports
TopFlapping: 'Top 10 Flapping',
TopFlappingDescription: 'Chattering and fleeting alert sources that have generated the most number of alert severity changes.',
TopOffenders: 'Top 10 Offenders',
TopOffendersDescription: 'Frequently occurring alert sources that have generated the most number of alerts and alert duplicates.',
TopStanding: 'Top 10 Standing',
TopStandingDescription: 'Stale alert sources that have active alerts for a prolonged duration.',
Count: 'Count',
DuplCount: 'Dupl. Count',
Services: 'Services',
Resources: 'Resources',
// User Confirm
Thanks: 'Thanks!',
YouCanNowLogin1: 'You can now',
YouCanNowLogin2: 'login.',
EmailConfirmFailed: 'Sorry, there was a problem confirming your email address',
TryAgain: 'Please try again',
// User Forgot
ResetLink: 'Enter your email and we\'ll send you a reset link',
AlreadyHaveAccount: 'Already have an account?',
CheckEmail: 'Check your email for a reset link...',
ReturnSignIn: 'Return to Sign In',
ResetEmailSent: 'Reset email sent successfully!',
// User Login
LoginToContinue: 'Log in to Alerta to continue',
Username: 'Username',
Password: 'Password',
CreateAccount: 'Create Account',
ForgotPassword: 'Forgot Password?',
UnspecifiedProblem: 'Sorry, there was a problem',
AuthWith: 'Authenticating with',
AuthInProgress: 'Authenticating...',
AuthNotPossible: 'Sorry, it is not possible to authenticate',
AuthProviderUnknown: 'Unknown authentication provider',
// User Logout
LoggedOut: 'You have been logged out.',
// User Reset
ChooseNewPassword: 'Choose a new password',
ConfirmPassword: 'Confirm Password',
ResetPassword: 'Reset Password',
// User Signup
CreateAlertaAccount: 'Create your Alerta account',
SignUpNotAvailable: 'Sorry, sign up is not currently available',
FullName: 'Full Name',
Min6Char: 'Min 6 characters',
PasswordNotMatch: 'Passwords entered don\'t match',
// Labels
scope: 'scope',
role: 'role',
customer: 'customer',
group: 'group',
// General
ConfirmDelete: 'Are you sure you want to delete this item?',
Error: 'Error',
Send: 'Send',
Required: 'Required',
Cancel: 'Cancel',
Save: 'Save',
NoDisplay: 'Sorry, nothing to display here :(',
SearchNoResult1: 'Your search for ',
SearchNoResult2: 'found no results.',
OK: 'OK',
// ENDS.
}

View file

@ -1,241 +1,341 @@
export const fr = {
Watch: 'Surveiller',
UnWatch: 'Ne plus surveiller',
// topnav
Search: 'Rechercher',
FullScreen: 'Plein écran',
Refresh: 'Rafraichir',
selected: 'sélectionné',
LogIn: 'S\'identifier',
LogOut: 'Se déconnecter',
SignUp: 'S\'enregistrer',
Selected: 'Sélectionné',
Ack: 'Affecter',
Unack: 'remis à disposition',
Close: 'Fermé',
Delete: 'Supprimer',
SignIn: 'Se connecter',
// sidenav
Alerts: 'Alertes',
Settings: 'Paramètres',
Heartbeats: 'Signaux de présence',
Users: 'Utilisateurs',
Groups: 'Groupes',
Customers: 'Clients',
Blackouts: 'Gestion des temps d\'arrêts',
Permissions: 'Permissions',
APIKeys: 'Clés API',
Reports: 'Rapports',
More: 'Plus',
Settings: 'Paramètres',
Help: 'Aide',
About: 'A propos',
History: 'Historique',
Details: 'Détail',
Data: 'Donnée',
More: 'Plus',
addedNoteOn: 'a ajouté une note le',
by: 'par',
ALL: 'Toutes les alertes',
Thanks: 'Merci !',
YouCanNow: '. Vous pouvez maintenant ',
ProblemEmail: 'Désolé, un problème est survenu lors de la confirmation de votre email.',
ResetLink: 'Entrez votre email et nous vous enverrons un lien de réinitialisation',
Send: 'Envoyer',
SignIn: 'Se connecter',
AlreadyHaveAccount: 'Vous avez déjà un compte?',
CheckEmail: 'Vérifiez votre email pour un lien de réinitialisation...',
ReturnSignIn: 'Retour à la connexion',
ResetEmailSent: 'Réinitialiser l\'email envoyé avec succès!',
MsgLogin: 'Se connecter à Alerta pour continuer',
Username: 'Identifiant',
Password: 'Mot de passe',
LogIn: 'S\'identifier',
CreateAccount: 'Créer un compte',
ForgotPassword: 'Mot de passe oublié?',
SorryProblem: 'Désolé, il y a eu un problème',
TryAgain: 'Veuillez réessayer',
Error: 'Erreur: ',
SorryNoAuthenticate: 'Désolé, il n\'est pas possible de vous authentifier',
AuthenticatingInProgress: 'Authentification en cours...',
LoggedOut: 'Vous avez été déconnecté.',
ConfirmPassword: 'Confirmer mot de passe',
ChooseNewPassword: 'Choisissez un nouveau mot de passe',
ResetPassword: 'Réinitialiser le mot de passe',
CreateAlertaAccount: 'Créez votre compte Alerta',
SignUpNotAvailable: 'Désolé, l\'inscription n\'est pas disponible actuellement',
FullName: 'Nom complet',
Description: 'Description',
TopFlapping: 'Top 10 des signaux de présence',
TopFlappingDescription: 'Sources d\'alerte ayant généré le plus grand nombre de changements de gravité d\'alerte.',
Resources: 'Ressources',
Services: 'Services',
Count: 'Compteur',
TopOffenders: 'Top 10 du nombres d\'alerte',
TopOffendersDescription: 'Sources dalerte fréquentes ayant généré le plus grand nombre dalertes et de doublons dalerte.',
TopStanding: 'Top 10 des alertes constantes',
TopStandingDescription: 'Sources d\'alertes obsolètes ayant des alertes actives pendant une durée prolongée.',
AddNote: 'Ajouter Note',
Alert_ID: 'Id alerte',
Resource: 'Ressource',
Event: 'Evénement',
Environment: 'Environnement',
Severity: 'Gravité',
Correlate: 'Corrélation',
Status: 'Statut',
Service: 'Service',
Group: 'Groupe',
Value: 'Valeur',
Tags: 'Tags',
Attributes: 'attributs',
Origin: 'Origine',
Type: 'Type',
CreateTime: 'Date de création',
Timeout: 'Délai',
TimeoutLeft: 'Délai restant',
Customer: 'Client',
DuplicateCount: 'Doublons',
Repeat: 'Répéter',
PreviousSeverity: 'Gravité Prec.',
TrendIndication: 'Indicateur Trend',
ReceiveTime: 'Date de réception',
LastReceiveId: 'Dernier Id reçu',
LastReceiveTime: 'Dernière réception',
Note: 'Dernière Note',
APIKey: 'Clé API',
APIKeys: 'Clés API',
Scopes: 'Périmètres',
Expires: 'Expire',
Cancel: 'Annuler',
Save: 'Sauvegarder',
Search: 'Rechercher',
Active: 'Actif',
Expired: 'Expiré',
Slow: 'Lent',
Scope: 'Périmètre',
NoDisplay: 'Désolé, rien à afficher ici :(',
SearchNoResult1: 'Votre recherche pour ',
SearchNoResult2: 'n\'a trouvée aucun résultat.',
User: 'Utilisateur',
LastUsed: 'Dernière utilisation',
Actions: 'Actions',
Copy: 'Copier',
Copied: 'Copié!',
NewApiKey: 'Nouvelle Clé API',
EditApiKey: 'Modifier Clé API',
ConfirmDelete: 'Êtes-vous sûr de bien vouloir supprimer cet élément?',
Blackouts: 'Gestion des temps d\'arrêts',
StartDate: 'Date de début',
EndDate: 'Date de fin',
Reason: 'Raison',
Created: 'Date de création',
Start: 'Début',
End: 'Fin',
NewBlackout: 'Nouvel incident',
EditBlackout: 'Modifier incident',
ChooseService: 'Choisir un ou plusieurs service',
LookUp: 'Chercher',
LookUpDescription: 'Utiliser l\'identifiant, le rôle Keycloak, l\'organisation GitHub, le groupe GitLab ou le domaine de messagerie',
Customers: 'Clients',
NewCustomer: 'Nouveau client',
EditCustomer: 'Modifier client',
Required: 'Requis',
AddRemoveUsers: 'Ajouter/Modifier utilisateurs',
Addusers: 'Ajouter utilisateurs',
UsersGroup: 'Utilisateurs du groupe',
Groups: 'Groupes',
NumberUsers: 'Nombre d\'utilisateurs',
Name: 'Nom',
NewGroup: 'Nouveau groupe',
EditGroup: 'Modifier groupe',
Heartbeats: 'Signaux de présence',
Latency: 'Latence',
Since: 'Depuis',
OpenGitHub: 'Ouvrir dans GitHub',
WebUI: 'Web UI',
API: 'API',
Build: 'Build',
Date: 'Date',
GitRevision: 'Git Revision',
APIEndpoint: 'API Endpoint',
Permissions: 'Permissions',
Role: 'Rôle',
SystemRole: 'Rôle Système',
NewPermission: 'Nouvelle permission',
EditPermission: 'Modifier permission',
ApplicationSettings: 'Paramètres d\'application',
DarkTheme: 'Thème sombre',
PlayNotif: 'Son notifications',
LanguagesSettings: 'Paramétrage de la langue',
Languages: 'Langues :',
DateTimeSettings: 'Paramétrage date et heure',
LongDate: 'Format de date longue',
MediumDate: 'Format de date moyenne',
ShortDate: 'Format de date courte',
DisplayMode: 'Mode d\'affichage',
AlertSettings: 'Paramétrage des alertes',
RowsPage: 'Lignes par page',
RefreshInterval: 'Intervalle de rafraîchissement',
ShelveTimeout: 'durée de mise en attente',
Shelve: 'mis en attente',
English: 'Anglais',
French: 'Français',
UseLocal: 'Date et heure locale',
UseUTC: 'Utiliser le temps universel (UTC)',
Rows: 'Lignes',
Hours: 'Heures',
Seconds: 'Secondes',
EmailVerified: 'Email verifié',
EmailNotVerified: 'Email non verifié',
Others: 'autres',
Roles: 'Rôles',
LogOut: 'Se déconnecter',
BasicAuth: 'Basic Auth',
LDAP: 'LDAP',
AzureOAuth2: 'Azure eOAuth2',
AmazonCognito: 'Amazon Cognito',
GitHubOAuth2: 'GitHub OAuth2',
GitLabOAuth2: 'GitLab OAuth2',
GoogleOAuth2: 'Google OAuth2',
Keycloak: 'Keycloak',
OpenIDConnect: 'OpenID Connect',
PingFederate: 'PingFederate',
SAML2: 'SAML2',
LastUpdate: 'Dernière mise à jour',
Uptime: 'Disponibilité',
Metric: 'Métrique',
AvgTime: 'Temps Moyen',
Users: 'Utilisateurs',
Email: 'Email',
LogInUser: 'Identifiant',
Verified: 'Vérifié',
Comment: 'Commentaire',
VerifiedOrNot: 'Vérifié ?',
LastLogin: 'Dernière connexion',
Min6Char: '6 caractère minimum',
PasswordNotMatch: 'Le mot de passe entré ne correspond pas',
NewUser: 'Nouvel utilisateur',
EditUser: 'Modifier utilisateur',
Inactive: 'Inactif',
// more
ChooseDisplayDensity: 'Choisir le format d\'affichage',
DisplayDensity: 'Format d\'affichage',
Comfortable: 'Confortable',
Compact: 'Compact',
OK: 'OK',
Panel: 'Panneau',
DisplayDensity: 'Format d\'affichage',
Hide: 'Cacher',
Show: 'Voir',
DownloadAsCsv: 'Télécharger comme csv',
// Groups store
UserAddedGroup: 'Utilisateur ajouté au groupe.',
UserRemovedGroup: 'Utilisateur supprimé du groupe.',
// Preferences store
SettingsSaved: 'Paramétrage sauvegardé.',
SettingsReset: 'Paramètres réinitialisés aux valeurs par défaut.',
SettingsError: 'Impossible de récupérer les préférences de l\'utilisateur.',
// Users store
UserStatusSaved: 'Statut utilisateur enregistré.',
EmailSaved: 'Email vérifié enregistré.',
// statuses
Open: 'Open',
Assign: 'Assign',
Ack: 'Ack',
Shelved: 'Shelved',
Blackout: 'Blackout',
Closed: 'Closed',
Expired: 'Expired',
Unknown: 'Unknown',
NotValid: 'Not Valid',
// operator actions
Open: 'Open', //'Ouvrir'
Assign: 'Assign',
Ack: 'Ack', //'Affecter',
Unack: 'Unack', //'remis à disposition',
Shelve: 'Shelve', //'mis en attente',
Unshelve: 'Unshelve',
Close: 'Close', //'Fermé',
Watch: 'Watch', //'Surveiller',
Unwatch: 'Unwatch', //'Ne plus surveiller',
AddNote: 'Add&nbsp;note', //'Ajouter Note',
Delete: 'Delete', //'Supprimer',
// Alert actions
TextIsRequired: 'Text is required',
TextMustBeLessThan: 'Text must be less than',
characters: 'characters',
// Alert detail
AlertId: 'Id alerte',
LastReceiveAlertId: 'Dernier Id reçu',
CreateTime: 'Date de création',
ReceiveTime: 'Date de réception',
LastReceiveTime: 'Dernière réception',
Customer: 'Client',
Service: 'Service',
Environment: 'Environnement',
Resource: 'Ressource',
Event: 'Evénement',
Correlate: 'Corrélation',
Group: 'Groupe',
Severity: 'Gravité',
Status: 'Statut',
Value: 'Valeur',
Text: 'Texte',
TrendIndication: 'Indicateur Trend',
Timeout: 'Délai',
Type: 'Type',
DuplicateCount: 'Doublons',
Repeat: 'Répéter',
Origin: 'Origine',
Tags: 'Tags',
Attributes: 'attributs',
History: 'Historique',
Data: 'Donnée',
Details: 'Détail',
addedNoteOn: 'a ajouté une note le',
by: 'par',
// Alert history
UpdateTime: 'Date de mise à jour',
Updated: 'Mis à jour',
User: 'Utilisateur',
// Alert list
ALL: 'Toutes les alertes',
Description: 'Description',
Attribute: 'Attribut',
TimeoutLeft: 'Délai restant',
Dupl: 'Doublons',
PrevSeverity: 'Gravité Prec.',
LastReceiveId: 'Dernier Id reçu',
LastNote: 'Dernière Note',
// Alert list filter
Filters: 'Filtres',
FilterDescription: 'Filtrer les résultats par recherche de texte',
StatusDescription: 'Choisissez un ou plusieurs statuts',
AllStatuses: 'Tous les statuts',
CustomerDescription: 'Choisissez un ou plusieurs clients',
StatusDescription: 'Choisissez un ou plusieurs statuts',
AllCustomers: 'Tous les clients',
ServiceDescription: 'Choisissez un ou plusieurs services',
CustomerDescription: 'Choisissez un ou plusieurs clients',
AllServices: 'Tous les services',
GroupDescription: 'Choisissez un ou plusieurs groupes',
ServiceDescription: 'Choisissez un ou plusieurs services',
AllGroups: 'Tous les groupes',
DateTime: 'Date/Temps',
Time: 'Temps',
Apply: 'Appliquer',
Reset: 'Vider les champs',
UpdateTime: 'Date de mise à jour',
Text: 'Texte',
GroupDescription: 'Choisissez un ou plusieurs groupes',
Latest: 'Les + récentes',
Hour: '1 heure',
SixHours: '6 heures',
TwelveHours: '12 heures',
SelectRange: 'Sélectionner une periode',
SettingsSaved: 'Paramétrage sauvegardé.',
SettingsReset: 'Paramètres réinitialisés aux valeurs par défaut.',
SettingsError: 'Impossible de récupérer les préférences de l\'utilisateur.',
UserAddedGroup: 'Utilisateur ajouté au groupe.',
UserRemovedGroup: 'Utilisateur supprimé du groupe.',
UserStatusSaved: 'Statut utilisateur enregistré.',
EmailSaved: 'Email vérifié enregistré.',
DownloadAsCsv: 'Télécharger comme csv'
}
DateTime: 'Date/Temps',
StartDate: 'Date de début',
EndDate: 'Date de fin',
Time: 'Temps',
Apply: 'Appliquer',
Reset: 'Vider les champs',
// API keys
APIKey: 'Clé API',
Search: 'Rechercher',
Customer: 'Client',
Scopes: 'Périmètres',
Expires: 'Expire',
Active: 'Actif',
Expired: 'Expiré',
Slow: 'Lent',
User: 'Utilisateur',
LastUsed: 'Dernière utilisation',
Actions: 'Actions',
Copy: 'Copier',
Copied: 'Copié!',
NewApiKey: 'Nouvelle Clé API',
EditApiKey: 'Modifier Clé API',
// Blackouts
ChooseService: 'Choisir un ou plusieurs service',
Start: 'Début',
End: 'Fin',
Created: 'Date de création',
Reason: 'Raison',
NewBlackout: 'Nouvel incident',
EditBlackout: 'Modifier incident',
// Customers
LookUp: 'Chercher',
LookUpDescription: 'Utiliser l\'identifiant, le rôle Keycloak, l\'organisation GitHub, le groupe GitLab ou le domaine de messagerie',
NewCustomer: 'Nouveau client',
EditCustomer: 'Modifier client',
// Groups
AddRemoveUsers: 'Ajouter/Modifier utilisateurs',
Addusers: 'Ajouter utilisateurs',
UsersInGroup: 'Utilisateurs du groupe',
NumberUsers: 'Nombre d\'utilisateurs',
NewGroup: 'Nouveau groupe',
EditGroup: 'Modifier groupe',
// Heartbeats
Latency: 'Latence',
Since: 'Depuis',
// Manifest
API: 'API',
OpenGitHub: 'Ouvrir dans GitHub',
WebUI: 'Web UI',
Build: 'Build',
Date: 'Date',
GitRevision: 'Git Revision',
APIEndpoint: 'API Endpoint',
// Perms
Role: 'Rôle',
Scope: 'Périmètre',
SystemRole: 'Rôle Système',
NewPermission: 'Nouvelle permission',
EditPermission: 'Modifier permission',
// Preferences
ApplicationSettings: 'Paramètres d\'application',
DarkTheme: 'Thème sombre',
PlaySounds: 'Son notifications',
LanguageSettings: 'Paramétrage de la langue',
Languages: 'Langues',
English: 'Anglais',
French: 'Français',
DateTimeSettings: 'Paramétrage date et heure',
LongDate: 'Format de date longue',
MediumDate: 'Format de date moyenne',
ShortDate: 'Format de date courte',
DisplayMode: 'Mode d\'affichage',
UseLocal: 'Date et heure locale',
UseUTC: 'Utiliser le temps universel (UTC)',
AlertSettings: 'Paramétrage des alertes',
PageRows: 'Lignes par page',
rows: 'lignes',
RefreshInterval: 'Intervalle de rafraîchissement',
seconds: 'secondes',
ShelveTimeout: 'Durée de mise en attente',
hours: 'heures',
// Profile Me
EmailVerified: 'Email verifié',
EmailNotVerified: 'Email non verifié',
Customers: 'Clients',
Organizations: 'Organisations',
Groups: 'Groupes',
Roles: 'Rôles',
Scopes: 'Périmètres',
others: 'autres',
// Status
LastUpdate: 'Dernière mise à jour',
Uptime: 'Disponibilité',
Metric: 'Métrique',
Type: 'Type',
Name: 'Nom',
Value: 'Valeur',
AvgTime: 'Temps Moyen',
// Users
Active: 'Actif',
Inactive: 'Inactif',
Login: 'Identifiant',
Email: 'Email',
Verified: 'Vérifié',
Comment: 'Commentaire',
VerifiedOrNot: 'Vérifié ?',
LastLogin: 'Dernière connexion',
NewUser: 'Nouvel utilisateur',
EditUser: 'Modifier utilisateur',
// Reports
TopFlapping: 'Top 10 des signaux de présence',
TopFlappingDescription: 'Sources d\'alerte ayant généré le plus grand nombre de changements de gravité d\'alerte.',
TopOffenders: 'Top 10 du nombres d\'alerte',
TopOffendersDescription: 'Sources dalerte fréquentes ayant généré le plus grand nombre dalertes et de doublons dalerte.',
TopStanding: 'Top 10 des alertes constantes',
TopStandingDescription: 'Sources d\'alertes obsolètes ayant des alertes actives pendant une durée prolongée.',
Count: 'Compteur',
DuplCount: 'Doublons',
Services: 'Services',
Resources: 'Ressources',
// User Confirm
Thanks: 'Merci !',
YouCanNowLogin1: 'Vous pouvez maintenant',
YouCanNowLogin2: 'login.',
EmailConfirmFailed: 'Désolé, un problème est survenu lors de la confirmation de votre email.',
TryAgain: 'Veuillez réessayer',
// User Forgot
ResetLink: 'Entrez votre email et nous vous enverrons un lien de réinitialisation',
AlreadyHaveAccount: 'Vous avez déjà un compte?',
CheckEmail: 'Vérifiez votre email pour un lien de réinitialisation...',
ReturnSignIn: 'Retour à la connexion',
ResetEmailSent: 'Réinitialiser l\'email envoyé avec succès!',
// User Login
LoginToContinue: 'Se connecter à Alerta pour continuer',
Username: 'Identifiant',
Password: 'Mot de passe',
CreateAccount: 'Créer un compte',
ForgotPassword: 'Mot de passe oublié?',
UnspecifiedProblem: 'Désolé, il y a eu un problème',
AuthWith: 'Authentification avec',
AuthInProgress: 'Authentification en cours...',
AuthNotPossible: 'Désolé, il n\'est pas possible de vous authentifier',
AuthProviderUnknown: 'Fournisseur d\'authentification inconnu',
// User Logout
LoggedOut: 'Vous avez été déconnecté.',
// User Reset
ChooseNewPassword: 'Choisissez un nouveau mot de passe',
ConfirmPassword: 'Confirmer mot de passe',
ResetPassword: 'Réinitialiser le mot de passe',
// User Signup
CreateAlertaAccount: 'Créez votre compte Alerta',
SignUpNotAvailable: 'Désolé, l\'inscription n\'est pas disponible actuellement',
FullName: 'Nom complet',
Min6Char: '6 caractère minimum',
PasswordNotMatch: 'Le mot de passe entré ne correspond pas',
// Labels
scope: 'périmètre',
role: 'rôle',
customer: 'client',
group: 'groupe',
// General
ConfirmDelete: 'Êtes-vous sûr de bien vouloir supprimer cet élément?',
Error: 'Erreur',
Send: 'Envoyer',
Required: 'Requis',
Cancel: 'Annuler',
Save: 'Sauvegarder',
NoDisplay: 'Désolé, rien à afficher ici :(',
SearchNoResult1: 'Votre recherche pour ',
SearchNoResult2: 'n\'a trouvée aucun résultat.',
OK: 'OK',
// ENDS.
}

View file

@ -1,7 +1,6 @@
import bootstrap from './services/config'
import Vue from 'vue'
import i18n from '@/plugins/i18n'
import { createStore } from './store'
import { createRouter } from './router'
@ -11,6 +10,7 @@ import { makeStore } from '@/store/modules/auth.store'
import { makeInterceptors } from '@/services/api/interceptors'
import { vueAuth } from '@/services/auth'
import GoogleAnalytics from '@/plugins/analytics'
import i18n from '@/plugins/i18n'
import '@/plugins/vuetify'
import './stylus/main.styl'

View file

@ -54,7 +54,7 @@ const actions = {
resetUserPrefs({ dispatch, commit }) {
return UsersApi.updateMeAttributes({ prefs: null })
.then(response => commit('RESET_PREFS'))
.then(() => dispatch('notifications/success', i18n.t('SettingsSaved'), { root: true }))
.then(() => dispatch('notifications/success', i18n.t('SettingsReset'), { root: true }))
}
}