Skip to content

Commit

Permalink
Merge pull request #423 from arawa/fix/translating-error-msg-creating…
Browse files Browse the repository at this point in the history
…-space/421

Fix/translating error msg creating space/421
  • Loading branch information
zak39 authored Apr 12, 2022
2 parents b7f55f6 + d81bf97 commit feaefd6
Show file tree
Hide file tree
Showing 7 changed files with 70 additions and 58 deletions.
2 changes: 1 addition & 1 deletion appinfo/info.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<name>Workspace</name>
<summary>It&#39;s an interface to manage groupfolders with a group manage.</summary>
<description><![CDATA[It&#39;s a layer additional of groupfolders app to manage them and manage group by simple users]]></description>
<version>1.1.0</version>
<version>1.1.4</version>
<licence>agpl</licence>
<author mail="[email protected]" >Baptiste Fotia</author>
<namespace>Workspace</namespace>
Expand Down
24 changes: 12 additions & 12 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions l10n/en.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ OC.L10N.register(
'Start typing to lookup users': 'Start typing to lookup users',
'remove users from selection': 'remove users from selection',
'Error - Creating space': 'Error - Creating space',
'Error - This workspace name already exists': 'Error - This workspace name already exists',
'Please enter a new workspace name. Please note that workspace names are not case sensitive (france and FRANCE are considered the same workspace name)': 'Please enter a new workspace name. Please note that workspace names are not case sensitive (france and FRANCE are considered the same workspace name)',
'No spaces': 'No spaces',
'You have not yet created any workspace': 'You have not yet created any workspace',
'unlimited': 'unlimited',
Expand Down
2 changes: 2 additions & 0 deletions l10n/fr.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ OC.L10N.register(
'remove users from selection': 'retirer l\'utilisateur de la sélection',
'Workspace name': "Nom de l'espace de travail",
'Error - Creating space': 'Erreur - Création d\'un espace de travail',
'Error - This workspace name already exists': 'Erreur - Ce nom d\'espace de travail existe déjà',
'Please enter a new workspace name. Please note that workspace names are not case sensitive (france and FRANCE are considered the same workspace name)': 'Veuillez saisir un nouveau nom d\'espace de travail. Attention, les noms d\'espaces de travail ne sont pas sensibles à la casse (france et FRANCE sont considérés comme un même nom d\'espace de travail)',
'No spaces': 'Aucun espace de travail',
'You have not yet created any workspace': 'Vous n\'avez pas encore créé d\'espace de travail',
'unlimited': 'illimité',
Expand Down
2 changes: 2 additions & 0 deletions l10n/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@
"Error to rename space": "Erreur pour renommer l'espace de travail",
"The space name already exist. We cannot rename with this name.": "Le nom de l'espace de travail existe déjà. Vous ne pouvez pas le renommer avec ce nom.",
"Error 403": "Erreur 403",
"Error - This workspace name already exists": "Erreur - Ce nom d'espace de travail existe déjà",
"Please enter a new workspace name. Please note that workspace names are not case sensitive (france and FRANCE are considered the same workspace name)": "Veuillez saisir un nouveau nom d'espace de travail. Attention, les noms d'espaces de travail ne sont pas sensibles à la casse (france et FRANCE sont considérés comme un même nom d'espace de travail)",
"return to home": "retourner à l'accueil",
"Rename group": "Renommer le groupe",
"Delete group": "Supprimer le groupe",
Expand Down
92 changes: 49 additions & 43 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -274,8 +274,8 @@ export default {
})
} else if (resp.data.statuscode === 400) {
this.$notify({
title: t('workspace', 'Error - Creating space'),
text: t('workspace', resp.data.message),
title: t('workspace', 'Error - This workspace name already exists'),
text: t('workspace', 'Please enter a new workspace name. Please note that workspace names are not case sensitive (france and FRANCE are considered the same workspace name)'),
duration: 6000,
type: 'error',
})
Expand Down

0 comments on commit feaefd6

Please sign in to comment.