@gjsify/native-platform 0.64.17-next.292 → 0.64.17
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.
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./_virtual/_rolldown/runtime.js";function bindtextdomain(e,t){return null}let e=null;function textdomain(t){return t!==null&&(e=t),e}function dgettext(e,t){return t}function dngettext(e,t,n,r){return r===1?t:n}function dpgettext(e,t,n){return n}var t={bindtextdomain,textdomain,dgettext,dngettext,dpgettext};export{bindtextdomain,t as default,dgettext,dngettext,dpgettext,textdomain};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/** No catalog to bind on a platform with no gettext backend; always reports success. */
|
|
2
|
+
export declare function bindtextdomain(_domainName: string, _dirName: string | null): string | null;
|
|
3
|
+
export declare function textdomain(domainName: string | null): string | null;
|
|
4
|
+
/** No catalog is loaded, so every msgid is its own translation. */
|
|
5
|
+
export declare function dgettext(_domain: string | null, msgid: string): string;
|
|
6
|
+
/** `n === 1` picks the singular, as every real gettext plural rule does for English. */
|
|
7
|
+
export declare function dngettext(_domain: string | null, msgid: string, msgidPlural: string, n: number): string;
|
|
8
|
+
/** No catalog is loaded, so a context lookup is just its own msgid. */
|
|
9
|
+
export declare function dpgettext(_domain: string | null, _context: string, msgid: string): string;
|
|
10
|
+
declare const _default: {
|
|
11
|
+
bindtextdomain: typeof bindtextdomain;
|
|
12
|
+
textdomain: typeof textdomain;
|
|
13
|
+
dgettext: typeof dgettext;
|
|
14
|
+
dngettext: typeof dngettext;
|
|
15
|
+
dpgettext: typeof dpgettext;
|
|
16
|
+
};
|
|
17
|
+
export default _default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gjsify/native-platform",
|
|
3
|
-
"version": "0.64.17
|
|
3
|
+
"version": "0.64.17",
|
|
4
4
|
"description": "NativeScript platform detection — Android/iOS runtime, OS version, SDK level and device model",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "lib/esm/index.js",
|
|
@@ -9,6 +9,10 @@
|
|
|
9
9
|
".": {
|
|
10
10
|
"types": "./lib/types/index.d.ts",
|
|
11
11
|
"default": "./lib/esm/index.js"
|
|
12
|
+
},
|
|
13
|
+
"./gettext-fallback": {
|
|
14
|
+
"types": "./lib/types/gettext-fallback.d.ts",
|
|
15
|
+
"default": "./lib/esm/gettext-fallback.js"
|
|
12
16
|
}
|
|
13
17
|
},
|
|
14
18
|
"files": [
|
|
@@ -35,8 +39,8 @@
|
|
|
35
39
|
"ios"
|
|
36
40
|
],
|
|
37
41
|
"devDependencies": {
|
|
38
|
-
"@gjsify/cli": "0.64.17
|
|
39
|
-
"@gjsify/unit": "0.64.17
|
|
42
|
+
"@gjsify/cli": "^0.64.17",
|
|
43
|
+
"@gjsify/unit": "^0.64.17",
|
|
40
44
|
"@types/node": "^25.9.2",
|
|
41
45
|
"typescript": "^6.0.3"
|
|
42
46
|
},
|
|
@@ -58,6 +62,5 @@
|
|
|
58
62
|
"bugs": {
|
|
59
63
|
"url": "https://github.com/gjsify/gjsify/issues"
|
|
60
64
|
},
|
|
61
|
-
"homepage": "https://github.com/gjsify/gjsify/tree/main/packages/nativescript-bridge/platform#readme"
|
|
62
|
-
"gitHead": "1cd14727f5a53991fbdee0f38eedea4dd8fdecdd"
|
|
65
|
+
"homepage": "https://github.com/gjsify/gjsify/tree/main/packages/nativescript-bridge/platform#readme"
|
|
63
66
|
}
|