mirror of
https://github.com/MatMoul/quickdial-webext.git
synced 2025-12-15 16:33:13 +00:00
Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 8abd79bc5f | |||
| 723724f50b | |||
| ddd081672f | |||
| e03e684fb7 | |||
| 14ed1f4dd6 | |||
| 7ccd9be787 | |||
|
|
67d950bfea |
1
makebeta
1
makebeta
@@ -31,6 +31,7 @@ git checkout beta
|
||||
version=$1
|
||||
|
||||
sed -i "/\"version\":/c\ \ \"version\": \"$version\"," src/manifest.json
|
||||
sed -i 's/quickdial@matmoul.com/quickdialtest@matmoul.com/' src/manifest.json
|
||||
|
||||
git commit -a -m "Beta Version $version"
|
||||
|
||||
|
||||
67
src/_locales/es/messages.json
Normal file
67
src/_locales/es/messages.json
Normal file
@@ -0,0 +1,67 @@
|
||||
{
|
||||
"menuAddToQuickDial": {
|
||||
"message": "Agregar a Quick Dial",
|
||||
"description": "Text of add bookmark menu item."
|
||||
},
|
||||
|
||||
"menuNew": {
|
||||
"message": "Nuevo",
|
||||
"description": "Text of new menu item."
|
||||
},
|
||||
|
||||
"menuNewBookmark": {
|
||||
"message": "Marcador",
|
||||
"description": "Text of add bookmark menu item."
|
||||
},
|
||||
|
||||
"AddBookmarkPrompt": {
|
||||
"message": "Dirección del nuevo marcador:",
|
||||
"description": "Text of the add bookmark prompt."
|
||||
},
|
||||
|
||||
"menuNewFolder": {
|
||||
"message": "Carpeta",
|
||||
"description": "Text of add folder menu item."
|
||||
},
|
||||
|
||||
"AddFolderPrompt": {
|
||||
"message": "Nombre de la nueva carpeta:",
|
||||
"description": "Text of the add folder prompt."
|
||||
},
|
||||
|
||||
"menuProperties": {
|
||||
"message": "Propiedades",
|
||||
"description": "Text of properties menu item."
|
||||
},
|
||||
|
||||
"menuRefreshItem": {
|
||||
"message": "Actualizar",
|
||||
"description": "Text of refresh menu item."
|
||||
},
|
||||
|
||||
"menuCaptureHere": {
|
||||
"message": "Capturar aquí",
|
||||
"description": "Text of capture here menu item."
|
||||
},
|
||||
|
||||
"menuCapturePage": {
|
||||
"message": "Capturar en una nueva pestaña",
|
||||
"description": "Text of capture menu item."
|
||||
},
|
||||
|
||||
"menuDeleteItem": {
|
||||
"message": "Eliminar",
|
||||
"description": "Text of delete menu item."
|
||||
},
|
||||
|
||||
"deleteItemConfimation": {
|
||||
"message": "¿Eliminar $1 ?",
|
||||
"description": "Text of delete confirmation."
|
||||
},
|
||||
|
||||
"menuSettings": {
|
||||
"message": "Propiedades de Quick Dial",
|
||||
"description": "Text of settings menu item."
|
||||
}
|
||||
|
||||
}
|
||||
@@ -102,7 +102,7 @@ app.Messages.init = function(){ // Init Messages Listeners
|
||||
app.Settings = {}; // Settings helper object
|
||||
app.Settings.init = function(callback){ // Load settings and nodes
|
||||
browser.storage.local.get().then(function(data){
|
||||
if(Object.keys(data).length == 0) {
|
||||
if(Object.keys(data).length == 0 || ! data.settings) {
|
||||
data = {
|
||||
version: 3,
|
||||
settings: {
|
||||
@@ -239,6 +239,7 @@ app.Settings.update = function(settings, callback){ // Save new settings
|
||||
app.Settings.save(callback);
|
||||
};
|
||||
app.Settings.save = function(callback){ // Save settings
|
||||
if(! app.settings) return;
|
||||
var data = { version: 4 };
|
||||
data.settings = app.settings;
|
||||
data.node = app.node;
|
||||
|
||||
@@ -7,9 +7,12 @@ var dial = {
|
||||
};
|
||||
|
||||
document.addEventListener("DOMContentLoaded", function(event) {
|
||||
document.body.style.backgroundColor = utils.getBackgroundColor();
|
||||
document.body.style.backgroundColor = utils.getBackgroundColor();
|
||||
app.init();
|
||||
dial.init();
|
||||
window.setTimeout(function(){
|
||||
if(! app.settings) app.init();
|
||||
}, 500);
|
||||
});
|
||||
|
||||
window.addEventListener('resize', function(){
|
||||
@@ -102,7 +105,7 @@ app.Messages.getSettings = function(callback){
|
||||
} else {
|
||||
browser.runtime.sendMessage({ cmd: app.Messages.Commands.getSettings }).then(callback, callback);
|
||||
}
|
||||
});
|
||||
}, callback);
|
||||
};
|
||||
app.Messages.getNode = function(path, callback){
|
||||
browser.runtime.getBackgroundPage().then(function(page){
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
"manifest_version": 2,
|
||||
"name": "Quick Dial",
|
||||
"version": "0.1.13",
|
||||
"version": "0.1.15",
|
||||
"author": "MatMoul",
|
||||
"homepage_url": "https://github.com/MatMoul/quickdial-webext",
|
||||
"developer": {
|
||||
|
||||
Reference in New Issue
Block a user