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