mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-07-28 01:29:41 +02:00
More localization (#525)
* More localization * Localize search dialog * Fix "about" page title
This commit is contained in:
parent
81fd224d88
commit
f5ede73eb6
9 changed files with 77 additions and 56 deletions
|
@ -78,34 +78,39 @@ export default {
|
|||
data() {
|
||||
return {
|
||||
edit: false,
|
||||
editorButtons: [
|
||||
{
|
||||
text: "Delete",
|
||||
icon: this.$globals.icons.delete,
|
||||
event: DELETE_EVENT,
|
||||
color: "error",
|
||||
},
|
||||
{
|
||||
text: "JSON",
|
||||
icon: "mdi-code-braces",
|
||||
event: JSON_EVENT,
|
||||
color: "accent",
|
||||
},
|
||||
{
|
||||
text: "Close",
|
||||
icon: "mdi-close",
|
||||
event: CLOSE_EVENT,
|
||||
color: "",
|
||||
},
|
||||
{
|
||||
text: "Save",
|
||||
icon: this.$globals.icons.save,
|
||||
event: SAVE_EVENT,
|
||||
color: "success",
|
||||
},
|
||||
],
|
||||
};
|
||||
},
|
||||
|
||||
computed: {
|
||||
editorButtons() {
|
||||
return [
|
||||
{
|
||||
text: this.$t('general.delete'),
|
||||
icon: this.$globals.icons.delete,
|
||||
event: DELETE_EVENT,
|
||||
color: "error",
|
||||
},
|
||||
{
|
||||
text: this.$t('general.json'),
|
||||
icon: "mdi-code-braces",
|
||||
event: JSON_EVENT,
|
||||
color: "accent",
|
||||
},
|
||||
{
|
||||
text: this.$t('general.close'),
|
||||
icon: "mdi-close",
|
||||
event: CLOSE_EVENT,
|
||||
color: "",
|
||||
},
|
||||
{
|
||||
text: this.$t('general.save'),
|
||||
icon: this.$globals.icons.save,
|
||||
event: SAVE_EVENT,
|
||||
color: "success",
|
||||
},
|
||||
];
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
emitHandler(event) {
|
||||
switch (event) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue