mirror of
https://github.com/JanGross/quicknotes.git
synced 2025-11-30 23:37:16 +01:00
Fix/add translations and fix round attachments.
This commit is contained in:
1
Makefile
1
Makefile
@@ -107,6 +107,7 @@ appstore: distclean depsmin
|
||||
--exclude=vendor/bin \
|
||||
--exclude=node_modules \
|
||||
--exclude=js/templates \
|
||||
--exclude=templates/fake.php \
|
||||
--exclude=translation* \
|
||||
$(project_dir) $(sign_dir)
|
||||
@echo "Signing…"
|
||||
|
||||
@@ -739,12 +739,12 @@ View.prototype = {
|
||||
return;
|
||||
}
|
||||
sAttachts.parent().css('height', (500/sAttachts.length) + 'px');
|
||||
sAttachts.first().children().first().css('border-top-left-radius', '8px');
|
||||
sAttachts.first().children().first().children().css('border-top-left-radius', '8px');
|
||||
sAttachts.each(function(index) {
|
||||
$(this).css('width', (100/sAttachts.length) + '%');
|
||||
$(this).css('left', (100/sAttachts.length)*index + '%');
|
||||
});
|
||||
sAttachts.last().children().first().css('border-top-right-radius', '8px');
|
||||
sAttachts.last().children().first().children().css('border-top-right-radius', '8px');
|
||||
},
|
||||
_resizeAttachtsGrid: function() {
|
||||
var attachtsgrids = $('#notes-grid-div .note-attachts');
|
||||
|
||||
@@ -91,7 +91,7 @@
|
||||
<button id='share-button'><?php p($l->t('Share'));?></button>
|
||||
-->
|
||||
<button id='attach-button' class='round-tool-button'>
|
||||
<div class="icon-picture" title="{{t "quicknotes" "Add image"}}"></div>
|
||||
<div class="icon-picture" title="{{t "quicknotes" "Attach file"}}"></div>
|
||||
</button>
|
||||
<button id='tag-button' class='round-tool-button'>
|
||||
<div class="icon-tag" title="{{t "quicknotes" "Tags"}}"></div>
|
||||
|
||||
13
l10n/es.js
13
l10n/es.js
@@ -13,11 +13,14 @@ OC.L10N.register(
|
||||
"Nothing here. Take your first quick notes" : "Nada aquí. Toma tus primeras notas rápidas",
|
||||
"Are you sure you want to delete the note?" : "¿Seguro que quieres eliminar la nota?",
|
||||
"Delete note" : "Eliminar nota",
|
||||
"Unpin note" : "Desanclar la nota",
|
||||
"Pin note" : "Anclar la nota",
|
||||
"Do you want to discard the changes?" : "¿Quieres descartar los cambios?",
|
||||
"Unsaved changes" : "Cambios no guardados",
|
||||
"New note" : "Nueva nota",
|
||||
"All notes" : "Todas las notas",
|
||||
"Colors" : "Colores",
|
||||
"Notes" : "Notas",
|
||||
"Quick notes with a basic rich text" : "Notas rápidas con un texto enriquecido básico",
|
||||
"Bold" : "Negrita",
|
||||
"Italic" : "Itálica",
|
||||
"Underline" : "Subrayado",
|
||||
@@ -26,9 +29,9 @@ OC.L10N.register(
|
||||
"Numbered list" : "Lista numerada",
|
||||
"Blockquote" : "Cita",
|
||||
"Clean format" : "Limpiar formato",
|
||||
"Unpin note" : "Desanclar la nota",
|
||||
"Pin note" : "Anclar la nota",
|
||||
"Do you want to discard the changes?" : "¿Quieres descartar los cambios?",
|
||||
"Unsaved changes" : "Cambios no guardados"
|
||||
"Quick notes with a basic rich text" : "Notas rápidas con un texto enriquecido básico",
|
||||
"Select file to attach" : "Seleccione archivo para adjuntar",
|
||||
"Delete attachment" : "Eliminar adjunto",
|
||||
"Attach file" : "Adjuntar archivo"
|
||||
},
|
||||
"nplurals=2; plural=(n != 1);");
|
||||
|
||||
13
l10n/es.json
13
l10n/es.json
@@ -11,11 +11,14 @@
|
||||
"Nothing here. Take your first quick notes" : "Nada aquí. Toma tus primeras notas rápidas",
|
||||
"Are you sure you want to delete the note?" : "¿Seguro que quieres eliminar la nota?",
|
||||
"Delete note" : "Eliminar nota",
|
||||
"Unpin note" : "Desanclar la nota",
|
||||
"Pin note" : "Anclar la nota",
|
||||
"Do you want to discard the changes?" : "¿Quieres descartar los cambios?",
|
||||
"Unsaved changes" : "Cambios no guardados",
|
||||
"New note" : "Nueva nota",
|
||||
"All notes" : "Todas las notas",
|
||||
"Colors" : "Colores",
|
||||
"Notes" : "Notas",
|
||||
"Quick notes with a basic rich text" : "Notas rápidas con un texto enriquecido básico",
|
||||
"Bold" : "Negrita",
|
||||
"Italic" : "Itálica",
|
||||
"Underline" : "Subrayado",
|
||||
@@ -24,9 +27,9 @@
|
||||
"Numbered list" : "Lista numerada",
|
||||
"Blockquote" : "Cita",
|
||||
"Clean format" : "Limpiar formato",
|
||||
"Unpin note" : "Desanclar la nota",
|
||||
"Pin note" : "Anclar la nota",
|
||||
"Do you want to discard the changes?" : "¿Quieres descartar los cambios?",
|
||||
"Unsaved changes" : "Cambios no guardados"
|
||||
"Quick notes with a basic rich text" : "Notas rápidas con un texto enriquecido básico",
|
||||
"Select file to attach" : "Seleccione archivo para adjuntar",
|
||||
"Delete attachment" : "Eliminar adjunto",
|
||||
"Attach file" : "Adjuntar archivo"
|
||||
},"pluralForm" :"nplurals=2; plural=(n != 1);"
|
||||
}
|
||||
6
templates/fake.php
Normal file
6
templates/fake.php
Normal file
@@ -0,0 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* This is a fake script just to translate the strings inside handlebars.
|
||||
*/
|
||||
p($l->t('Delete attachment'));
|
||||
p($l->t('Attach file'));
|
||||
Reference in New Issue
Block a user