Skip to content

Commit

Permalink
translation adjustements
Browse files Browse the repository at this point in the history
  • Loading branch information
stephdl committed Jan 18, 2020
1 parent a4f05ee commit 6590d13
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 12 deletions.
10 changes: 8 additions & 2 deletions ui/public/i18n/language.json
Expand Up @@ -52,7 +52,9 @@
"NfsHide":"Browse the parent folders (nohide)",
"edit_sharedfolder":"Edit NFS Share",
"jobs_not_found": "No sharedfolders found",
"jobs_not_found_desc": "You must first create your shares with nethserver-samba"
"jobs_not_found_desc": "You must first create your shares with nethserver-samba",
"sharedfolders_updated_error": "The sharedfolders update has failed",
"sharedfolders_updated_ok": "The sharedfolders update has succeeded"
},
"jails":{
"title": "Jails"
Expand All @@ -69,5 +71,9 @@
"start_follow_button": "Follow",
"stop_follow_button": "Stop following",
"filter_label": "Regexp filter"
}
},
"validation":{
"validation_failed":"Failed validation",
"not_valid_ip": "This IP is not valid"
}
}
15 changes: 5 additions & 10 deletions ui/src/views/NfsSharedfolders.vue
Expand Up @@ -584,15 +584,10 @@ export default {
// notification
nethserver.notifications.success = context.$i18n.t(
"sharedfolders.sharedfolders_" +
(context.currentSharedfolder.isEdit ? "updated" : "created") +
"_ok"
);
"NfsSharedfolders.sharedfolders_updated_ok");
nethserver.notifications.error = context.$i18n.t(
"sharedfolders.sharedfolders_" +
(context.currentSharedfolder.isEdit ? "updated" : "created") +
"_error"
);
"NfsSharedfolders.sharedfolders_updated_error");
nethserver.exec(
["nethserver-nfs/update"],
Expand Down Expand Up @@ -633,10 +628,10 @@ export default {
var context = this;
// notification
nethserver.notifications.success = context.$i18n.t(
"sharedfolders.sharedfolders_updated_ok"
"NfsSharedfolders.sharedfolders_updated_ok"
);
nethserver.notifications.error = context.$i18n.t(
"sharedfolders.sharedfolders_updated_error"
"NfsSharedfolders.sharedfolders_updated_error"
);
// update values
Expand Down

0 comments on commit 6590d13

Please sign in to comment.