Compare commits

...

4 Commits

Author SHA1 Message Date
Julius Härtl
c897074cb3 Clarify that board deletion also includes archived cards
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-09-02 14:59:06 +02:00
Julius Härtl
03fa4dc816 Merge pull request #4014 from nextcloud/create-no-stack 2022-09-02 13:12:21 +02:00
Nextcloud bot
3ea4c635d0 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-09-01 02:50:05 +00:00
Robin Appelman
89d46dcab4 disable Create card button while no stack is chosen
make the `isBoardAndStackChoosen` method do what it says

Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-08-30 14:40:49 +02:00
4 changed files with 46 additions and 2 deletions

23
l10n/an.js Normal file
View File

@@ -0,0 +1,23 @@
OC.L10N.register(
"deck",
{
"Done" : "Feito",
"The file was uploaded" : "O fichero estió puyato",
"The uploaded file exceeds the upload_max_filesize directive in php.ini" : "O fichero puyato sobrexe a directiva upload_max_filesize en php.ini",
"The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form" : "O fichero cargau supera a directiva MAX_FILE_SIZE que s'espezificó en o formulario HTML",
"The file was only partially uploaded" : "O fichero nomás s'ha cargau parzialmén",
"No file was uploaded" : "No s'ha cargau garra fichero",
"Missing a temporary folder" : "Falta una carpeta temporal",
"Could not write file to disk" : "No se podió escribir o fichero en o disco",
"A PHP extension stopped the file upload" : "Una estensión de PHP aturó a carga de fichers",
"Cancel" : "Canzelar",
"Close" : "Zarrar",
"Details" : "Detalles",
"Tags" : "Etiquetas",
"Delete" : "Borrar",
"Download" : "Escargar",
"Modified" : "Modificau",
"Today" : "Hue",
"Share" : "Compartir"
},
"nplurals=2; plural=(n != 1);");

21
l10n/an.json Normal file
View File

@@ -0,0 +1,21 @@
{ "translations": {
"Done" : "Feito",
"The file was uploaded" : "O fichero estió puyato",
"The uploaded file exceeds the upload_max_filesize directive in php.ini" : "O fichero puyato sobrexe a directiva upload_max_filesize en php.ini",
"The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form" : "O fichero cargau supera a directiva MAX_FILE_SIZE que s'espezificó en o formulario HTML",
"The file was only partially uploaded" : "O fichero nomás s'ha cargau parzialmén",
"No file was uploaded" : "No s'ha cargau garra fichero",
"Missing a temporary folder" : "Falta una carpeta temporal",
"Could not write file to disk" : "No se podió escribir o fichero en o disco",
"A PHP extension stopped the file upload" : "Una estensión de PHP aturó a carga de fichers",
"Cancel" : "Canzelar",
"Close" : "Zarrar",
"Details" : "Detalles",
"Tags" : "Etiquetas",
"Delete" : "Borrar",
"Download" : "Escargar",
"Modified" : "Modificau",
"Today" : "Hue",
"Share" : "Compartir"
},"pluralForm" :"nplurals=2; plural=(n != 1);"
}

View File

@@ -137,7 +137,7 @@ export default {
},
computed: {
isBoardAndStackChoosen() {
return !(this.selectedBoard === '')
return !(this.selectedBoard === '' || this.selectedStack === '')
},
},
beforeMount() {

View File

@@ -262,7 +262,7 @@ export default {
},
actionDelete() {
OC.dialogs.confirmDestructive(
t('deck', 'Are you sure you want to delete the board {title}? This will delete all the data of this board.', { title: this.board.title }),
t('deck', 'Are you sure you want to delete the board {title}? This will delete all the data of this board including archived cards.', { title: this.board.title }),
t('deck', 'Delete the board?'),
{
type: OC.dialogs.YES_NO_BUTTONS,