From 7ac2b58e3d6af3aff405cf41ec229cf5742d7525 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eduardo=20Go=CC=81mez?= Date: Sat, 13 Jan 2018 16:33:42 +0100 Subject: [PATCH] Version 0.1.1 --- README.md | 2 +- .../Contents/Sketch/manifest.json | 2 +- .../Contents/Sketch/translator.js | 4 ++-- appcast.xml | 11 +++++++++++ 4 files changed, 15 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 047b09a..5120a9f 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Translate.me 0.1.0 - Sketch App Plugin +# Translate.me 0.1.1 - Sketch App Plugin Translations. Simplified. diff --git a/Translateme.sketchplugin/Contents/Sketch/manifest.json b/Translateme.sketchplugin/Contents/Sketch/manifest.json index c837bc7..f8a7aaa 100644 --- a/Translateme.sketchplugin/Contents/Sketch/manifest.json +++ b/Translateme.sketchplugin/Contents/Sketch/manifest.json @@ -44,7 +44,7 @@ "homepage" : "https://github.com/eddiesigner/sketch-translate-me", "identifier" : "io.craftbot.sketch.translate-me", "appcast": "https://raw.githubusercontent.com/eddiesigner/sketch-translate-me/master/appcast.xml", - "version" : "0.1.0", + "version" : "0.1.1", "description" : "Plugin to translate Sketch files in any language", "authorEmail" : "", "name" : "Translate.me" diff --git a/Translateme.sketchplugin/Contents/Sketch/translator.js b/Translateme.sketchplugin/Contents/Sketch/translator.js index 486ff15..7fcc71a 100644 --- a/Translateme.sketchplugin/Contents/Sketch/translator.js +++ b/Translateme.sketchplugin/Contents/Sketch/translator.js @@ -339,7 +339,7 @@ Translator.prototype.buildDialog = function (context) { var dialogWindow = COSAlertWindow.new(); var informativeText = ''; - if (apiKey.length() == 0) { + if (apiKey.length == 0) { informativeText = 'You have to set your Google API Key into the plugin settings (Plugins > Translate.me > Set Google API Key...)'; } else { informativeText = 'Please select the language in which you want to translate the text:'; @@ -349,7 +349,7 @@ Translator.prototype.buildDialog = function (context) { dialogWindow.setInformativeText(informativeText); - if (apiKey.length() == 0) { + if (apiKey.length == 0) { var link = NSButton.alloc().initWithFrame(NSMakeRect(0, 0, 200, 20))); link.setTitle('How to get a Google API Key'); link.setBezelStyle(NSInlineBezelStyle); diff --git a/appcast.xml b/appcast.xml index 9edb1fd..c0c8a7d 100644 --- a/appcast.xml +++ b/appcast.xml @@ -41,5 +41,16 @@ + + Version 0.1.1 + + +
  • Fixes the problem that made the plugin not work after installation
  • + + ]]> +
    + +
    \ No newline at end of file