diff --git a/i18n/en_US.json b/i18n/en_US.json index 80538f6..c46572b 100644 --- a/i18n/en_US.json +++ b/i18n/en_US.json @@ -168,5 +168,8 @@ "vet-succ": "[go vet] SUCCESS", "vet-error": "[go vet] ERROR", "restore_outline": "Restore Outline", - "share": "Share" + "share": "Share", + "url": "URL", + "short_url": "Short URL", + "embeded": "Embeded" } \ No newline at end of file diff --git a/i18n/ja_JP.json b/i18n/ja_JP.json index a9320b3..e70f6fd 100644 --- a/i18n/ja_JP.json +++ b/i18n/ja_JP.json @@ -168,5 +168,8 @@ "vet-succ": "[go vet] SUCCESS", "vet-error": "[go vet] ERROR", "restore_outline": "アウトラインを復元", - "share": "シェア" + "share": "シェア", + "url": "リンク", + "short_url": "ショートリンク", + "embeded": "埋め込む" } diff --git a/i18n/zh_CN.json b/i18n/zh_CN.json index cade7cf..f2cd287 100644 --- a/i18n/zh_CN.json +++ b/i18n/zh_CN.json @@ -168,5 +168,8 @@ "vet-succ": "[go vet] SUCCESS", "vet-error": "[go vet] ERROR", "restore_outline": "恢复大纲", - "share": "分享" + "share": "分享", + "url": "链接", + "short_url": "短链接", + "embeded": "嵌入" } \ No newline at end of file diff --git a/i18n/zh_TW.json b/i18n/zh_TW.json index f5a11c6..684cc5a 100644 --- a/i18n/zh_TW.json +++ b/i18n/zh_TW.json @@ -168,5 +168,8 @@ "vet-succ": "[go vet] SUCCESS", "vet-error": "[go vet] ERROR", "restore_outline": "恢復大綱", - "share": "分享" + "share": "分享", + "url": "鏈接", + "short_url": "短鏈接", + "embeded": "嵌入" } \ No newline at end of file diff --git a/static/css/playground.css b/static/css/playground.css index 73871a0..d3d1a35 100644 --- a/static/css/playground.css +++ b/static/css/playground.css @@ -66,4 +66,9 @@ float: right; border-width: 0; border-left: 1px solid #919191; +} + +#dialogShare { + margin: 35px 100px 0 100px; + line-height: 28px; } \ No newline at end of file diff --git a/static/js/playground.js b/static/js/playground.js index aa44a00..179b7cf 100644 --- a/static/js/playground.js +++ b/static/js/playground.js @@ -305,9 +305,10 @@ var playground = { return; } - var html = 'URL: ' + url + "
"; - html += 'Short URL: ' + data.shortURL + '
'; - html += 'Embeded:
'; + var html = '
' + url + "
"; + html += '' + data.shortURL + '
'; + html += '
'; + html += '
'; $("#dialogShare").html(html); $("#dialogShare").dialog("open");