mirror of
https://github.com/semaphoreui/semaphore.git
synced 2024-11-23 20:35:24 +01:00
Merge pull request #2141 from ExplodingDragon/i18n-add
Add more translations
This commit is contained in:
commit
7da96f452c
@ -296,7 +296,7 @@
|
|||||||
</v-list-item-icon>
|
</v-list-item-icon>
|
||||||
|
|
||||||
<v-list-item-content>
|
<v-list-item-content>
|
||||||
<v-list-item-title>Integrations</v-list-item-title>
|
<v-list-item-title>{{ $t('integrations') }}</v-list-item-title>
|
||||||
</v-list-item-content>
|
</v-list-item-content>
|
||||||
</v-list-item>
|
</v-list-item>
|
||||||
|
|
||||||
|
@ -239,4 +239,11 @@ export default {
|
|||||||
CreateDemoProject: 'Create Demo Project',
|
CreateDemoProject: 'Create Demo Project',
|
||||||
LeaveProject: 'Leave Project',
|
LeaveProject: 'Leave Project',
|
||||||
integration: 'Integration',
|
integration: 'Integration',
|
||||||
|
integrations: 'Integrations',
|
||||||
|
NewIntegration: 'New Integration',
|
||||||
|
EditIntegration: 'Edit Integration',
|
||||||
|
DeleteIntegration: 'Delete Integration',
|
||||||
|
DeleteIntegrationMsg: 'Are you sure you want to delete this Integration?',
|
||||||
|
AddAlias: 'Add Alias',
|
||||||
|
LoadAlias: 'Loading aliases...',
|
||||||
};
|
};
|
||||||
|
@ -238,5 +238,13 @@ export default {
|
|||||||
Run: '运行',
|
Run: '运行',
|
||||||
CreateDemoProject: '创建模板项目',
|
CreateDemoProject: '创建模板项目',
|
||||||
LeaveProject: '离开项目',
|
LeaveProject: '离开项目',
|
||||||
|
Schedule: '计划任务',
|
||||||
|
integration: '外部集成',
|
||||||
|
integrations: '外部集成',
|
||||||
|
NewIntegration: '新增集成',
|
||||||
|
EditIntegration: '编辑集成',
|
||||||
|
DeleteIntegration: '删除集成',
|
||||||
|
DeleteIntegrationMsg: '确定删除此集成吗?',
|
||||||
|
AddAlias: '新增 Alias',
|
||||||
|
LoadAlias: '列出已有的 Alias',
|
||||||
};
|
};
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
<div v-if="items != null && templates != null">
|
<div v-if="items != null && templates != null">
|
||||||
<EditDialog
|
<EditDialog
|
||||||
v-model="editDialog"
|
v-model="editDialog"
|
||||||
:save-button-text="itemId === 'new' ? 'Create' : 'Save'"
|
:save-button-text="itemId === 'new' ? $t('create') : $t('save')"
|
||||||
:title="`${itemId === 'new' ? 'New' : 'Edit'} Integration`"
|
:title="itemId === 'new' ? $t('NewIntegration') : $t('EditIntegration')"
|
||||||
:max-width="450"
|
:max-width="450"
|
||||||
:transition="false"
|
:transition="false"
|
||||||
@save="loadItems()"
|
@save="loadItems()"
|
||||||
@ -28,20 +28,20 @@
|
|||||||
/>
|
/>
|
||||||
|
|
||||||
<YesNoDialog
|
<YesNoDialog
|
||||||
title="Delete Integration"
|
:title="$t('DeleteIntegration')"
|
||||||
text="Are you sure you want to delete this Integration?"
|
:text="$t('DeleteIntegrationMsg')"
|
||||||
v-model="deleteItemDialog"
|
v-model="deleteItemDialog"
|
||||||
@yes="deleteItem(itemId)"
|
@yes="deleteItem(itemId)"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<v-toolbar flat>
|
<v-toolbar flat>
|
||||||
<v-app-bar-nav-icon @click="showDrawer()"></v-app-bar-nav-icon>
|
<v-app-bar-nav-icon @click="showDrawer()"></v-app-bar-nav-icon>
|
||||||
<v-toolbar-title>Integrations</v-toolbar-title>
|
<v-toolbar-title>{{ $t('integrations') }}</v-toolbar-title>
|
||||||
<v-spacer></v-spacer>
|
<v-spacer></v-spacer>
|
||||||
<v-btn
|
<v-btn
|
||||||
color="primary"
|
color="primary"
|
||||||
@click="editItem('new')"
|
@click="editItem('new')"
|
||||||
>New Integration
|
>{{ $t('NewIntegration') }}
|
||||||
</v-btn>
|
</v-btn>
|
||||||
</v-toolbar>
|
</v-toolbar>
|
||||||
|
|
||||||
@ -59,7 +59,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<v-btn color="primary" @click="addAlias()" :disabled="aliases == null">
|
<v-btn color="primary" @click="addAlias()" :disabled="aliases == null">
|
||||||
{{ aliases == null ? 'Loading aliases...' : 'Add Alias' }}
|
{{ aliases == null ? $t('LoadAlias') : $t('AddAlias') }}
|
||||||
</v-btn>
|
</v-btn>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user