mirror of
https://github.com/TeamPiped/Piped.git
synced 2025-01-21 03:57:00 +00:00
feat: add i18n to subscriptions import page
This commit is contained in:
parent
9352e96d9c
commit
fe42087085
@ -27,7 +27,7 @@
|
||||
</label>
|
||||
</div>
|
||||
</form>
|
||||
<button class="btn mt-4" @click="handleExport" v-text="$t('actions.export_history')" />
|
||||
<button class="btn mt-4" @click="handleExport" v-text="$t('actions.export')" />
|
||||
</div>
|
||||
</ModalComponent>
|
||||
</template>
|
||||
|
@ -28,7 +28,7 @@
|
||||
</div>
|
||||
<br />
|
||||
<div>
|
||||
<a class="btn w-auto" @click="handleImport" v-text="$t('actions.import_history')" />
|
||||
<a class="btn w-auto" @click="handleImport" v-text="$t('actions.import')" />
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
@ -5,13 +5,15 @@
|
||||
<input ref="fileSelector" type="file" @change="fileChange" />
|
||||
</div>
|
||||
<div>
|
||||
<strong v-text="`Selected Subscriptions: ${selectedSubscriptions}`" />
|
||||
<strong v-text="`${$t('info.selected_subscriptions')}: ${selectedSubscriptions}`" />
|
||||
</div>
|
||||
<div>
|
||||
<strong>Override: <input v-model="override" class="checkbox" type="checkbox" /></strong>
|
||||
<strong
|
||||
><span v-t="'actions.override'" />: <input v-model="override" class="checkbox" type="checkbox"
|
||||
/></strong>
|
||||
</div>
|
||||
<div>
|
||||
<a class="btn w-auto" @click="handleImport">Import</a>
|
||||
<a v-t="'actions.import'" class="btn w-auto" @click="handleImport" />
|
||||
</div>
|
||||
</form>
|
||||
<br />
|
||||
|
@ -167,7 +167,9 @@
|
||||
"export_history": "Export history",
|
||||
"import_history": "Import history",
|
||||
"file_format": "File format",
|
||||
"override": "Override"
|
||||
"override": "Override",
|
||||
"import": "Import",
|
||||
"export": "Export"
|
||||
},
|
||||
"comment": {
|
||||
"pinned_by": "Pinned by {author}",
|
||||
@ -240,6 +242,7 @@
|
||||
"found_n_items": "Found {0} items",
|
||||
"success": "Success",
|
||||
"error": "Error",
|
||||
"skipped": "Skipped"
|
||||
"skipped": "Skipped",
|
||||
"selected_subscriptions": "Selected subscriptions"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user