Skip to content

Commit

Permalink
Merge pull request #61 from kmvan/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
kmvan authored Jan 11, 2020
2 parents ac5523d + 5388b0e commit 972e133
Show file tree
Hide file tree
Showing 16 changed files with 275 additions and 232 deletions.
2 changes: 1 addition & 1 deletion AppConfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"APP_VERSION": "3.10",
"APP_VERSION": "3.11",
"APP_NAME": "X Prober",
"APP_URL": "https://github.com/kmvan/x-prober",
"AUTHOR_URL": "https://inn-studio.com/prober",
Expand Down
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@

All Notable changes to `X-Prober` will be documented in this file

## 3.11.0 - 2020-01-12

### Add

- Add `extensions` dir for future extensions

### Optimize

- Optimize temperature sensor display

## 3.10.0 - 2020-01-10

### Fix
Expand Down
4 changes: 2 additions & 2 deletions dist/prober.php

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,15 @@ const server = http.createServer((request, response) => {
//defining document type then charset "utf-8"
'Content-Type': 'application/json;charset="utf-8"',
//CORS
'Access-Control-Allow-Origin': "*"
'Access-Control-Allow-Origin': '*',
})
const items = [{
id: 'cpu',
name: 'CPU Temperature',
celsius: temp / 1000,
}]
const items = [
{
id: 'cpu',
name: 'CPU',
celsius: temp / 1000,
},
]
//transform object into string, and output with .end() method
response.end(JSON.stringify(items))
})
Expand Down
5 changes: 4 additions & 1 deletion languages/ja.po
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: X-Prober\n"
"POT-Creation-Date: \n"
"PO-Revision-Date: 2020-01-09 23:27+0800\n"
"PO-Revision-Date: 2020-01-11 23:55+0800\n"
"Last-Translator: Km.Van <[email protected]>\n"
"Language-Team: Km.Van <inn-studio.com>\n"
"Language: ja\n"
Expand Down Expand Up @@ -263,6 +263,9 @@ msgstr "サーバーの状態"
msgid "Status"
msgstr "状態"

msgid "<%= sensor %> temperature"
msgstr "<%= sensor %> 温度"

msgid "Temperature sensor"
msgstr "温度センサー"

Expand Down
3 changes: 3 additions & 0 deletions languages/lang.pot
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,9 @@ msgstr ""
msgid "Status"
msgstr ""

msgid "<%= sensor %> temperature"
msgstr ""

msgid "Temperature sensor"
msgstr ""

Expand Down
5 changes: 4 additions & 1 deletion languages/zh_CN.po
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ msgstr ""
"Project-Id-Version: X-Prober\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: \n"
"PO-Revision-Date: 2020-01-09 23:26+0800\n"
"PO-Revision-Date: 2020-01-11 23:54+0800\n"
"Last-Translator: Km.Van <[email protected]>\n"
"Language-Team: kmvan <[email protected]>\n"
"Language: zh_CN\n"
Expand Down Expand Up @@ -263,6 +263,9 @@ msgstr "服务器状态"
msgid "Status"
msgstr "状态"

msgid "<%= sensor %> temperature"
msgstr "<%= sensor %> 温度"

msgid "Temperature sensor"
msgstr "温度传感器"

Expand Down
5 changes: 4 additions & 1 deletion languages/zh_HK.po
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ msgstr ""
"Project-Id-Version: X-Prober\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: \n"
"PO-Revision-Date: 2020-01-09 23:28+0800\n"
"PO-Revision-Date: 2020-01-11 23:55+0800\n"
"Last-Translator: Km.Van <[email protected]>\n"
"Language-Team: Km.Van <inn-studio.com>\n"
"Language: zh_HK\n"
Expand Down Expand Up @@ -263,6 +263,9 @@ msgstr "伺服器狀態"
msgid "Status"
msgstr "狀態"

msgid "<%= sensor %> temperature"
msgstr "<%= sensor %> 溫度"

msgid "Temperature sensor"
msgstr "溫度傳感器"

Expand Down
5 changes: 4 additions & 1 deletion languages/zh_TW.po
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ msgstr ""
"Project-Id-Version: X-Prober\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: \n"
"PO-Revision-Date: 2020-01-09 23:28+0800\n"
"PO-Revision-Date: 2020-01-11 23:56+0800\n"
"Last-Translator: Km.Van <[email protected]>\n"
"Language-Team: Km.Van <inn-studio.com>\n"
"Language: zh_TW\n"
Expand Down Expand Up @@ -265,6 +265,9 @@ msgstr "伺服器狀態"
msgid "Status"
msgstr "狀態"

msgid "<%= sensor %> temperature"
msgstr ""

msgid "Temperature sensor"
msgstr "溫度傳感器"

Expand Down
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
"@babel/preset-typescript": "^7.7.7",
"@types/core-js": "^2.5.2",
"@types/lodash-es": "^4.17.3",
"@types/node": "^13.1.5",
"@types/node": "^13.1.6",
"@types/query-string": "^6.3.0",
"@types/react": "^16.9.17",
"@types/react-dom": "^16.9.4",
Expand Down
2 changes: 1 addition & 1 deletion src/Components/Config/ConfigApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

class ConfigApi
{
public static $APP_VERSION = '3.10';
public static $APP_VERSION = '3.11';
public static $APP_NAME = 'X Prober';
public static $APP_URL = 'https://github.com/kmvan/x-prober';
public static $APP_CONFIG_URLS = array('https://raw.githubusercontent.com/kmvan/x-prober/master/AppConfig.json', 'https://api.inn-studio.com/download/?id=xprober-config');
Expand Down
Loading

0 comments on commit 972e133

Please sign in to comment.