Skip to content

Commit

Permalink
Version 0.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
eddiesigner committed Jan 13, 2018
1 parent d367ad9 commit 7ac2b58
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Translate.me 0.1.0 - Sketch App Plugin
# Translate.me 0.1.1 - Sketch App Plugin

Translations. Simplified.

Expand Down
2 changes: 1 addition & 1 deletion Translateme.sketchplugin/Contents/Sketch/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions Translateme.sketchplugin/Contents/Sketch/translator.js
Original file line number Diff line number Diff line change
Expand Up @@ -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:';
Expand All @@ -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);
Expand Down
11 changes: 11 additions & 0 deletions appcast.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,16 @@
</description>
<enclosure url="https://github.com/eddiesigner/sketch-translate-me/archive/v0.1.0.zip" sparkle:version="0.1.0" />
</item>
<item>
<title>Version 0.1.1</title>
<description>
<![CDATA[
<ul>
<li>Fixes the problem that made the plugin not work after installation</li>
</ul>
]]>
</description>
<enclosure url="https://github.com/eddiesigner/sketch-translate-me/archive/v0.1.1.zip" sparkle:version="0.1.1" />
</item>
</channel>
</rss>

0 comments on commit 7ac2b58

Please sign in to comment.