mirror of
https://github.com/JanGross/quicknotes.git
synced 2025-11-30 23:37:16 +01:00
Use transifex to translations
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -2,3 +2,5 @@ build
|
|||||||
js/templates.js
|
js/templates.js
|
||||||
node_modules
|
node_modules
|
||||||
vendor
|
vendor
|
||||||
|
translationfiles/
|
||||||
|
translationtool.phar
|
||||||
10
.tx/config
Normal file
10
.tx/config
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
[main]
|
||||||
|
host = https://www.transifex.com
|
||||||
|
|
||||||
|
[quicknotes.quicknotes-pot]
|
||||||
|
file_filter = translationfiles/<lang>/quicknotes.po
|
||||||
|
minimum_perc = 0
|
||||||
|
source_file = translationfiles/templates/quicknotes.pot
|
||||||
|
source_lang = en
|
||||||
|
type = PO
|
||||||
|
|
||||||
25
Makefile
25
Makefile
@@ -29,6 +29,31 @@ cert_dir=$(HOME)/.nextcloud/certificates
|
|||||||
all: build
|
all: build
|
||||||
build: deps
|
build: deps
|
||||||
|
|
||||||
|
# L10N Rules
|
||||||
|
|
||||||
|
l10n-update-pot:
|
||||||
|
php translationtool.phar create-pot-files
|
||||||
|
|
||||||
|
l10n-transifex-pull:
|
||||||
|
tx pull -s -a
|
||||||
|
|
||||||
|
l10n-transifex-push:
|
||||||
|
tx push -s -t
|
||||||
|
|
||||||
|
l10n-transifex-apply:
|
||||||
|
php translationtool.phar convert-po-files
|
||||||
|
|
||||||
|
l10n-clean:
|
||||||
|
rm -rf translationfiles
|
||||||
|
rm -f translationtool.phar
|
||||||
|
|
||||||
|
l10n-deps:
|
||||||
|
@echo "Checking transifex client."
|
||||||
|
tx --version
|
||||||
|
@echo "Downloading translationtool.phar"
|
||||||
|
wget https://github.com/nextcloud/docker-ci/raw/master/translations/translationtool/translationtool.phar -O translationtool.phar
|
||||||
|
|
||||||
|
|
||||||
# general
|
# general
|
||||||
deps:
|
deps:
|
||||||
mkdir -p vendor
|
mkdir -p vendor
|
||||||
|
|||||||
19
l10n/es.js
19
l10n/es.js
@@ -1,16 +1,17 @@
|
|||||||
OC.L10N.register(
|
OC.L10N.register(
|
||||||
"quicknotes",
|
"quicknotes",
|
||||||
{
|
{
|
||||||
"Quick notes" : "Notas rapidas",
|
"Quick notes" : "Notas rápidas",
|
||||||
"Nothing here. Take your quick notes." : "Nada aquí. Toma tus notas rapidas.",
|
"Cancel" : "Cancelar",
|
||||||
|
"Save" : "Guardar",
|
||||||
|
"Looking for your notes" : "Buscando tus notas",
|
||||||
|
"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",
|
||||||
"New note" : "Nueva nota",
|
"New note" : "Nueva nota",
|
||||||
"All notes" : "Todas las notas",
|
"All notes" : "Todas las notas",
|
||||||
"Shared with you" : "Compartido contigo",
|
|
||||||
"Shared with others" : "Compartido con otros",
|
|
||||||
"Colors" : "Colores",
|
"Colors" : "Colores",
|
||||||
"Notes" : "Notas",
|
"Notes" : "Notas",
|
||||||
"Share" : "Compartir",
|
"Quick notes with a basic rich text" : "Notas rápidas con un texto enriquecido básico"
|
||||||
"Cancel" : "Cancelar",
|
},
|
||||||
"Save" : "Guardar"
|
"nplurals=2; plural=(n != 1);");
|
||||||
}
|
|
||||||
);
|
|
||||||
|
|||||||
17
l10n/es.json
17
l10n/es.json
@@ -1,14 +1,15 @@
|
|||||||
{ "translations": {
|
{ "translations": {
|
||||||
"Quick notes" : "Notas rapidas",
|
"Quick notes" : "Notas rápidas",
|
||||||
"Nothing here. Take your quick notes." : "Nada aquí. Toma tus notas rapidas.",
|
"Cancel" : "Cancelar",
|
||||||
|
"Save" : "Guardar",
|
||||||
|
"Looking for your notes" : "Buscando tus notas",
|
||||||
|
"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",
|
||||||
"New note" : "Nueva nota",
|
"New note" : "Nueva nota",
|
||||||
"All notes" : "Todas las notas",
|
"All notes" : "Todas las notas",
|
||||||
"Shared with you" : "Compartido contigo",
|
|
||||||
"Shared with others" : "Compartido con otros",
|
|
||||||
"Colors" : "Colores",
|
"Colors" : "Colores",
|
||||||
"Notes" : "Notas",
|
"Notes" : "Notas",
|
||||||
"Share" : "Compartir",
|
"Quick notes with a basic rich text" : "Notas rápidas con un texto enriquecido básico"
|
||||||
"Cancel" : "Cancelar",
|
},"pluralForm" :"nplurals=2; plural=(n != 1);"
|
||||||
"Save" : "Guardar"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user