asma-doc-viewer 1.3.0 → 1.4.0
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.
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export declare const useTranslation: () => {
|
|
2
|
-
t: (key: "documentNavInfo" | "noRendererMessage" | "downloadButtonLabel" | "brokenFile" | "msgPluginRecipients" | "msgPluginSender" | "pdfPluginLoading" | "pdfPluginPageNumber", variables?: Record<string, string | number>) => string;
|
|
2
|
+
t: (key: "documentNavInfo" | "documentNavPreviousLabel" | "documentNavNextLabel" | "noRendererMessage" | "downloadButtonLabel" | "brokenFile" | "msgPluginRecipients" | "msgPluginSender" | "pdfPluginLoading" | "pdfPluginPageNumber" | "pdfPluginPrintLabel" | "pdfPluginZoomInLabel" | "pdfPluginZoomOutLabel" | "pdfPluginResetZoomLabel" | "pdfPluginTogglePaginationLabel" | "pdfPluginPreviousPageLabel" | "pdfPluginNextPageLabel", variables?: Record<string, string | number>) => string;
|
|
3
3
|
};
|
package/dist/src/i18n.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export declare const locales: {
|
|
2
2
|
en: {
|
|
3
3
|
documentNavInfo: string;
|
|
4
|
+
documentNavPreviousLabel: string;
|
|
5
|
+
documentNavNextLabel: string;
|
|
4
6
|
noRendererMessage: string;
|
|
5
7
|
downloadButtonLabel: string;
|
|
6
8
|
brokenFile: string;
|
|
@@ -8,9 +10,18 @@ export declare const locales: {
|
|
|
8
10
|
msgPluginSender: string;
|
|
9
11
|
pdfPluginLoading: string;
|
|
10
12
|
pdfPluginPageNumber: string;
|
|
13
|
+
pdfPluginPrintLabel: string;
|
|
14
|
+
pdfPluginZoomInLabel: string;
|
|
15
|
+
pdfPluginZoomOutLabel: string;
|
|
16
|
+
pdfPluginResetZoomLabel: string;
|
|
17
|
+
pdfPluginTogglePaginationLabel: string;
|
|
18
|
+
pdfPluginPreviousPageLabel: string;
|
|
19
|
+
pdfPluginNextPageLabel: string;
|
|
11
20
|
};
|
|
12
21
|
no: {
|
|
13
22
|
documentNavInfo: string;
|
|
23
|
+
documentNavPreviousLabel: string;
|
|
24
|
+
documentNavNextLabel: string;
|
|
14
25
|
noRendererMessage: string;
|
|
15
26
|
downloadButtonLabel: string;
|
|
16
27
|
brokenFile: string;
|
|
@@ -18,6 +29,13 @@ export declare const locales: {
|
|
|
18
29
|
msgPluginSender: string;
|
|
19
30
|
pdfPluginLoading: string;
|
|
20
31
|
pdfPluginPageNumber: string;
|
|
32
|
+
pdfPluginPrintLabel: string;
|
|
33
|
+
pdfPluginZoomInLabel: string;
|
|
34
|
+
pdfPluginZoomOutLabel: string;
|
|
35
|
+
pdfPluginResetZoomLabel: string;
|
|
36
|
+
pdfPluginTogglePaginationLabel: string;
|
|
37
|
+
pdfPluginPreviousPageLabel: string;
|
|
38
|
+
pdfPluginNextPageLabel: string;
|
|
21
39
|
};
|
|
22
40
|
pl: {
|
|
23
41
|
documentNavInfo: string;
|
|
@@ -142,4 +160,9 @@ export declare const locales: {
|
|
|
142
160
|
};
|
|
143
161
|
export declare const supportedLanguages: string[];
|
|
144
162
|
export type AvailableLanguages = keyof typeof locales;
|
|
145
|
-
|
|
163
|
+
/**
|
|
164
|
+
* Annotated with the literal `'en'`, not `AvailableLanguages`: `en` is the source of truth that
|
|
165
|
+
* every other bundle is a partial translation of, and widening it here collapses the key type in
|
|
166
|
+
* `useTranslation` to the keys *every* bundle happens to share.
|
|
167
|
+
*/
|
|
168
|
+
export declare const defaultLanguage: "en";
|