comand-component-library 4.1.34 → 4.1.35

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "comand-component-library",
3
- "version": "4.1.34",
3
+ "version": "4.1.35",
4
4
  "license": "GPL-3.0-only",
5
5
  "author": "CoManD-UI",
6
6
  "private": false,
@@ -2169,14 +2169,11 @@ import {localizedTime} from "./components/CmdOpeningHours.vue"
2169
2169
  // import data and controls for settings
2170
2170
  import componentSettingsDataAndControls from "@/componentSettingsDataAndControls.vue"
2171
2171
 
2172
- import CmdHeadline from "./components/CmdHeadline.vue"
2173
-
2174
2172
  export default {
2175
2173
  name: "App",
2176
2174
  mixins: [componentSettingsDataAndControls],
2177
2175
  components: {
2178
- PageOverview,
2179
- CmdHeadline
2176
+ PageOverview
2180
2177
  },
2181
2178
  props: {
2182
2179
  useRouterLinks: {
@@ -499,13 +499,13 @@ export default {
499
499
 
500
500
  fetch(this.formAction, {method: this.cmdForm?.formMethod || "POST", body: customSubmitFormData}).then((response) => {
501
501
  if(response.ok) {
502
- this.$refs.form.showMessage("success", "Message sent successfully!")
502
+ this.$refs.form.showMessage("success", this.getMessage("basic_form.system_message.success.message_sent_successfully"))
503
503
 
504
504
  } else {
505
- this.$refs.form.showMessage("error", "Message could not be sent!")
505
+ this.$refs.form.showMessage("error", this.getMessage("basic_form.system_message.error.message_could_not_be_sent"))
506
506
  }
507
507
  }).catch((error) => {
508
- this.$refs.form.showMessage("error", "Message could not be sent!")
508
+ this.$refs.form.showMessage("error", this.getMessage("basic_form.system_message.error.message_could_not_be_sent"))
509
509
  console.error(error)
510
510
  })
511
511
 
@@ -27,7 +27,9 @@ export default {
27
27
  "basic_form.labeltext.user_message": "Your message:",
28
28
  "basic_form.placeholder.user_message": "Your message",
29
29
  "basic_form.text.characters_left": "Characters left",
30
- "basic_form.labeltext.data_privacy": "I accept handling and saving of my personal data a mentioned in the <a href='/content/data-privacy-en.html' class='fancybox'>private policy</a>."
30
+ "basic_form.labeltext.data_privacy": "I accept handling and saving of my personal data a mentioned in the <a href='/content/data-privacy-en.html' class='fancybox'>private policy</a>.",
31
+ "basic_form.system_message.success.message_sent_successfully": "Message sent successfully!",
32
+ "basic_form.system_message.error.message_could_not_be_sent": "Message could not be sent!"
31
33
  }
32
34
  }
33
35
  }
@@ -2,8 +2,8 @@ export default {
2
2
  data() {
3
3
  return {
4
4
  defaultMessageProperties: {
5
- "slide_buttons.tooltip.left": "Previous",
6
- "slide_buttons.tooltip.right": "Next",
5
+ "slide_buttons.tooltip.left": "left",
6
+ "slide_buttons.tooltip.right": "right",
7
7
  "slide_buttons.tooltip.up": "Previous",
8
8
  "slide_buttons.tooltip.down": "Next"
9
9
  }