@codeexpander/plugin-currency 0.1.2 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,12 +1,23 @@
1
- # Currency / 汇率与货币
1
+ # Currency
2
2
 
3
- **EN** — Exchange rate lookup and currency converter. View live rates (1 base = X) and convert between currencies. Data from Frankfurter API.
3
+ Exchange rate lookup and currency converter. View live rates (1 base = X) and convert between currencies. Data from Frankfurter API.
4
4
 
5
- **中文** — 汇率查询与货币转换。查看实时汇率(1 基准 = X)并在货币间转换。数据来自 Frankfurter API。
5
+ ## Tools
6
6
 
7
- ## Tools / 工具列表
7
+ | id | EN |
8
+ |----|----|
9
+ | rate-lookup | Rate Lookup |
10
+ | currency-converter | Currency Converter |
8
11
 
9
- | id | EN | 中文 |
10
- |----|-----|------|
11
- | rate-lookup | Rate Lookup | 汇率查询 |
12
- | currency-converter | Currency Converter | 货币转换 |
12
+ ----------
13
+
14
+ # 汇率与货币
15
+
16
+ 汇率查询与货币转换。查看实时汇率(1 基准 = X)并在货币间转换。数据来自 Frankfurter API。
17
+
18
+ ## 工具列表
19
+
20
+ | id | 中文 |
21
+ |----|------|
22
+ | rate-lookup | 汇率查询 |
23
+ | currency-converter | 货币转换 |
package/dist/plugin.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "main": "index.html",
3
- "title": "Currency",
3
+ "title": "Currency & Exchange Rates",
4
4
  "description": "Exchange rate lookup and currency converter.",
5
5
  "category": "convertors",
6
6
  "order": 6,
7
7
  "features": [
8
8
  {
9
9
  "code": "currency",
10
- "explain": "Exchange rate lookup",
10
+ "explain": "{{feature.currency.explain}}",
11
11
  "cmds": [
12
12
  "currency",
13
13
  "exchange",
@@ -16,7 +16,7 @@
16
16
  },
17
17
  {
18
18
  "code": "convert",
19
- "explain": "Currency converter",
19
+ "explain": "{{feature.convert.explain}}",
20
20
  "cmds": [
21
21
  "convert",
22
22
  "转换"
@@ -28,10 +28,16 @@
28
28
  "width": 1200
29
29
  },
30
30
  "i18n": {
31
+ "en": {
32
+ "feature.currency.explain": "Look up live exchange rates for currencies.",
33
+ "feature.convert.explain": "Convert amounts between different currencies."
34
+ },
31
35
  "zh_CN": {
32
- "title": "货币",
36
+ "title": "汇率与货币转换",
33
37
  "description": "汇率查询与货币转换。",
34
- "category": "转换器"
38
+ "category": "转换器",
39
+ "feature.currency.explain": "查询各类货币的实时汇率。",
40
+ "feature.convert.explain": "在不同货币之间转换金额。"
35
41
  }
36
42
  }
37
43
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codeexpander/plugin-currency",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "dist/index.html",
@@ -12,7 +12,7 @@
12
12
  "publishConfig": {
13
13
  "access": "public"
14
14
  },
15
- "description": "Currency - Exchange rate lookup and currency converter. | 货币 - 汇率查询与货币转换。",
15
+ "description": "Currency & Exchange Rates - Exchange rate lookup and currency converter. | 汇率与货币转换 - 汇率查询与货币转换。",
16
16
  "keywords": [
17
17
  "codeexpander",
18
18
  "plugin",
@@ -39,8 +39,8 @@
39
39
  "typescript": "^5.5.3",
40
40
  "vite": "^5.4.1",
41
41
  "@codeexpander/dev-tools-i18n": "0.0.0",
42
- "@codeexpander/plugin-types": "0.0.9",
43
- "@codeexpander/dev-tools-ui": "0.0.0"
42
+ "@codeexpander/dev-tools-ui": "0.0.0",
43
+ "@codeexpander/plugin-types": "0.0.11"
44
44
  },
45
45
  "scripts": {
46
46
  "dev": "vite",
package/plugin.json CHANGED
@@ -1,19 +1,25 @@
1
1
  {
2
2
  "main": "dist/index.html",
3
- "title": "Currency",
3
+ "title": "Currency & Exchange Rates",
4
4
  "description": "Exchange rate lookup and currency converter.",
5
5
  "category": "convertors",
6
6
  "order": 6,
7
7
  "features": [
8
- { "code": "currency", "explain": "Exchange rate lookup", "cmds": ["currency", "exchange", "汇率"] },
9
- { "code": "convert", "explain": "Currency converter", "cmds": ["convert", "转换"] }
8
+ { "code": "currency", "explain": "{{feature.currency.explain}}", "cmds": ["currency", "exchange", "汇率"] },
9
+ { "code": "convert", "explain": "{{feature.convert.explain}}", "cmds": ["convert", "转换"] }
10
10
  ],
11
11
  "pluginSetting": { "height": 800, "width": 1200 },
12
12
  "i18n": {
13
+ "en": {
14
+ "feature.currency.explain": "Look up live exchange rates for currencies.",
15
+ "feature.convert.explain": "Convert amounts between different currencies."
16
+ },
13
17
  "zh_CN": {
14
- "title": "货币",
18
+ "title": "汇率与货币转换",
15
19
  "description": "汇率查询与货币转换。",
16
- "category": "转换器"
20
+ "category": "转换器",
21
+ "feature.currency.explain": "查询各类货币的实时汇率。",
22
+ "feature.convert.explain": "在不同货币之间转换金额。"
17
23
  }
18
24
  }
19
25
  }