From 5d037b5f0efbfb690869d657828ec53b1a8a3310 Mon Sep 17 00:00:00 2001 From: huangyuhui Date: Thu, 25 Feb 2016 12:46:29 +0800 Subject: [PATCH] Test travis ci --- .travis.yml | 1 + .../java/org/jackhuang/hellominecraft/util/tasks/TaskWindow.java | 1 + .../main/resources/org/jackhuang/hellominecraft/lang/I18N.lang | 1 + .../resources/org/jackhuang/hellominecraft/lang/I18N.properties | 1 + .../resources/org/jackhuang/hellominecraft/lang/I18N_en.lang | 1 + .../org/jackhuang/hellominecraft/lang/I18N_en.properties | 1 + .../resources/org/jackhuang/hellominecraft/lang/I18N_zh_TW.lang | 1 + .../org/jackhuang/hellominecraft/lang/I18N_zh_TW.properties | 1 + 8 files changed, 8 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 000000000..dff5f3a5d --- /dev/null +++ b/.travis.yml @@ -0,0 +1 @@ +language: java diff --git a/HMCLAPI/src/main/java/org/jackhuang/hellominecraft/util/tasks/TaskWindow.java b/HMCLAPI/src/main/java/org/jackhuang/hellominecraft/util/tasks/TaskWindow.java index 27c22b1a8..74cdbbab4 100755 --- a/HMCLAPI/src/main/java/org/jackhuang/hellominecraft/util/tasks/TaskWindow.java +++ b/HMCLAPI/src/main/java/org/jackhuang/hellominecraft/util/tasks/TaskWindow.java @@ -101,6 +101,7 @@ public class TaskWindow extends javax.swing.JDialog MessageBox.Show(C.i18n("taskwindow.no_more_instance")); return false; } + setTitle(C.i18n("taskwindow.title") + ": " + C.i18n("download.source")); this.setVisible(true); return this.areTasksFinished(); } diff --git a/HMCLAPI/src/main/resources/org/jackhuang/hellominecraft/lang/I18N.lang b/HMCLAPI/src/main/resources/org/jackhuang/hellominecraft/lang/I18N.lang index e3b4d57f4..93365f2fe 100755 --- a/HMCLAPI/src/main/resources/org/jackhuang/hellominecraft/lang/I18N.lang +++ b/HMCLAPI/src/main/resources/org/jackhuang/hellominecraft/lang/I18N.lang @@ -180,6 +180,7 @@ download.rapid_data=RapidData (锐网云计算, https://www.rapiddata.org/) download.not_200=下载失败,回复码 download.failed=下载失败 download.successfully=下载完成 +download.source=下载源 message.error=错误 message.cannot_open_explorer=无法打开文件管理器: diff --git a/HMCLAPI/src/main/resources/org/jackhuang/hellominecraft/lang/I18N.properties b/HMCLAPI/src/main/resources/org/jackhuang/hellominecraft/lang/I18N.properties index f3e082ce3..71d811820 100755 --- a/HMCLAPI/src/main/resources/org/jackhuang/hellominecraft/lang/I18N.properties +++ b/HMCLAPI/src/main/resources/org/jackhuang/hellominecraft/lang/I18N.properties @@ -180,6 +180,7 @@ download.rapid_data=RapidData (\u9510\u7f51\u4e91\u8ba1\u7b97, https://www.rapid download.not_200=\u4e0b\u8f7d\u5931\u8d25\uff0c\u56de\u590d\u7801 download.failed=\u4e0b\u8f7d\u5931\u8d25 download.successfully=\u4e0b\u8f7d\u5b8c\u6210 +download.source=\u4e0b\u8f7d\u6e90 message.error=\u9519\u8bef message.cannot_open_explorer=\u65e0\u6cd5\u6253\u5f00\u6587\u4ef6\u7ba1\u7406\u5668: diff --git a/HMCLAPI/src/main/resources/org/jackhuang/hellominecraft/lang/I18N_en.lang b/HMCLAPI/src/main/resources/org/jackhuang/hellominecraft/lang/I18N_en.lang index 3f4d3b151..43f7d4a79 100755 --- a/HMCLAPI/src/main/resources/org/jackhuang/hellominecraft/lang/I18N_en.lang +++ b/HMCLAPI/src/main/resources/org/jackhuang/hellominecraft/lang/I18N_en.lang @@ -180,6 +180,7 @@ download.rapid_data=RapidData (https://www.rapiddata.org/) download.not_200=Failed to download, the response code download.failed=Failed to download download.successfully=Download Successfully +download.source=Download Source message.error=Error message.cannot_open_explorer=Cannot open explorer: diff --git a/HMCLAPI/src/main/resources/org/jackhuang/hellominecraft/lang/I18N_en.properties b/HMCLAPI/src/main/resources/org/jackhuang/hellominecraft/lang/I18N_en.properties index 11b1ce34a..45407b586 100755 --- a/HMCLAPI/src/main/resources/org/jackhuang/hellominecraft/lang/I18N_en.properties +++ b/HMCLAPI/src/main/resources/org/jackhuang/hellominecraft/lang/I18N_en.properties @@ -180,6 +180,7 @@ download.rapid_data=RapidData (https://www.rapiddata.org/) download.not_200=Failed to download, the response code download.failed=Failed to download download.successfully=Download Successfully +download.source=Download Source message.error=Error message.cannot_open_explorer=Cannot open explorer: diff --git a/HMCLAPI/src/main/resources/org/jackhuang/hellominecraft/lang/I18N_zh_TW.lang b/HMCLAPI/src/main/resources/org/jackhuang/hellominecraft/lang/I18N_zh_TW.lang index 4426b8a8d..0c3789de8 100755 --- a/HMCLAPI/src/main/resources/org/jackhuang/hellominecraft/lang/I18N_zh_TW.lang +++ b/HMCLAPI/src/main/resources/org/jackhuang/hellominecraft/lang/I18N_zh_TW.lang @@ -180,6 +180,7 @@ download.rapid_data=RapidData (銳網雲計算, https://www.rapiddata.org/) download.not_200=下載失敗,回复码 download.failed=下載失敗 download.successfully=下載完成 +download.source=下載源 message.error=錯誤 message.cannot_open_explorer=無法打開資料管理器: diff --git a/HMCLAPI/src/main/resources/org/jackhuang/hellominecraft/lang/I18N_zh_TW.properties b/HMCLAPI/src/main/resources/org/jackhuang/hellominecraft/lang/I18N_zh_TW.properties index 996601cd9..df22e12fc 100755 --- a/HMCLAPI/src/main/resources/org/jackhuang/hellominecraft/lang/I18N_zh_TW.properties +++ b/HMCLAPI/src/main/resources/org/jackhuang/hellominecraft/lang/I18N_zh_TW.properties @@ -180,6 +180,7 @@ download.rapid_data=RapidData (\u92b3\u7db2\u96f2\u8a08\u7b97, https://www.rapid download.not_200=\u4e0b\u8f09\u5931\u6557\uff0c\u56de\u590d\u7801 download.failed=\u4e0b\u8f09\u5931\u6557 download.successfully=\u4e0b\u8f09\u5b8c\u6210 +download.source=\u4e0b\u8f09\u6e90 message.error=\u932f\u8aa4 message.cannot_open_explorer=\u7121\u6cd5\u6253\u958b\u8cc7\u6599\u7ba1\u7406\u5668: