@progress/kendo-react-intl
Advanced tools
Comparing version 0.6.0-dev.201805140918 to 0.6.0-dev.201805141755
@@ -7,3 +7,3 @@ /// <reference types="react" /> | ||
/** | ||
* A React component providing an internationalization service. | ||
* A React component which provides an internationalization service. | ||
* Expects a locale string as a property of the component. | ||
@@ -26,4 +26,4 @@ */ | ||
* Returns an internationalization service. | ||
* The method is suitable for overriding if you | ||
* need to implement custom internationalization behavior. | ||
* The method is suitable for overriding when you | ||
* implement custom internationalization behavior. | ||
*/ | ||
@@ -30,0 +30,0 @@ getIntlService(): IntlService; |
@@ -15,3 +15,3 @@ var __extends = (this && this.__extends) || (function () { | ||
/** | ||
* A React component providing an internationalization service. | ||
* A React component which provides an internationalization service. | ||
* Expects a locale string as a property of the component. | ||
@@ -26,4 +26,4 @@ */ | ||
* Returns an internationalization service. | ||
* The method is suitable for overriding if you | ||
* need to implement custom internationalization behavior. | ||
* The method is suitable for overriding when you | ||
* implement custom internationalization behavior. | ||
*/ | ||
@@ -30,0 +30,0 @@ IntlProvider.prototype.getIntlService = function () { |
@@ -28,3 +28,3 @@ /// <reference types="react" /> | ||
* child of `IntlProvider`, the locale of the provider is used. | ||
* Otherwise, `en` is used as a default locale. | ||
* Otherwise, uses `en` as a default locale. | ||
* | ||
@@ -35,3 +35,3 @@ * @param component - The React component class that will use the internationalization methods. | ||
/** | ||
* A method which registers a component class or a functional stateless component for localization. | ||
* A method which registers a component class or a stateless functional component for localization. | ||
* When a component of that type is a direct or indirect | ||
@@ -38,0 +38,0 @@ * child of `LocalizationProvider`, the language of the provider is used. |
@@ -39,3 +39,3 @@ import * as PropTypes from 'prop-types'; | ||
* child of `IntlProvider`, the locale of the provider is used. | ||
* Otherwise, `en` is used as a default locale. | ||
* Otherwise, uses `en` as a default locale. | ||
* | ||
@@ -56,3 +56,3 @@ * @param component - The React component class that will use the internationalization methods. | ||
/** | ||
* A method which registers a component class or a functional stateless component for localization. | ||
* A method which registers a component class or a stateless functional component for localization. | ||
* When a component of that type is a direct or indirect | ||
@@ -59,0 +59,0 @@ * child of `LocalizationProvider`, the language of the provider is used. |
/** | ||
* Provides mechanism to load language specific messages for the Kendo UI for React components | ||
* Provides mechanism to load language-specific messages for the Kendo UI for React components. | ||
* | ||
* @param messages - An iterable object containing key-value pairs. | ||
* @param languages - The language to which the messages are associate. | ||
* @param messages - An iterable object which contains key-value pairs. | ||
* @param languages - The language to which the messages are associated. | ||
*/ | ||
export declare function loadMessages(messages: any, language: string): void; |
@@ -18,6 +18,6 @@ import { messages as msg } from './messages'; | ||
/** | ||
* Provides mechanism to load language specific messages for the Kendo UI for React components | ||
* Provides mechanism to load language-specific messages for the Kendo UI for React components. | ||
* | ||
* @param messages - An iterable object containing key-value pairs. | ||
* @param languages - The language to which the messages are associate. | ||
* @param messages - An iterable object which contains key-value pairs. | ||
* @param languages - The language to which the messages are associated. | ||
*/ | ||
@@ -24,0 +24,0 @@ export function loadMessages(messages, language) { |
@@ -7,3 +7,3 @@ /// <reference types="react" /> | ||
/** | ||
* A React component providing a localization service. | ||
* A React component which provides a localization service. | ||
* Expects a language string as a property of the component. | ||
@@ -26,4 +26,4 @@ */ | ||
* Returns a localization service. | ||
* The method is suitable for overriding if you | ||
* need to implement custom localization behavior. | ||
* The method is suitable for overriding when you | ||
* implement custom localization behavior. | ||
*/ | ||
@@ -30,0 +30,0 @@ getLocalizationService(): LocalizationService; |
@@ -15,3 +15,3 @@ var __extends = (this && this.__extends) || (function () { | ||
/** | ||
* A React component providing a localization service. | ||
* A React component which provides a localization service. | ||
* Expects a language string as a property of the component. | ||
@@ -26,4 +26,4 @@ */ | ||
* Returns a localization service. | ||
* The method is suitable for overriding if you | ||
* need to implement custom localization behavior. | ||
* The method is suitable for overriding when you | ||
* implement custom localization behavior. | ||
*/ | ||
@@ -30,0 +30,0 @@ LocalizationProvider.prototype.getLocalizationService = function () { |
@@ -8,8 +8,9 @@ /** | ||
/** | ||
* Provides a string based on a key for the current language. When no string is under this key is available | ||
* for the current language, the defaultValue is returned. | ||
* Provides a string based on a key for the current language. | ||
* When no string for the current language is available under this key, | ||
* the `defaultValue` is returned. | ||
* | ||
* @param key - The key identifying the string for the current language. | ||
* @param defaultValue - The default value, which will be returned when no string | ||
* with the provided key is available for the current language. | ||
* @param key - The key which identifies the string for the current language. | ||
* @param defaultValue - The default value which will be returned when no string | ||
* for the current language is available under the key. | ||
* @return - The string for the current language. | ||
@@ -16,0 +17,0 @@ */ |
@@ -13,8 +13,9 @@ import { messages } from './messages'; | ||
/** | ||
* Provides a string based on a key for the current language. When no string is under this key is available | ||
* for the current language, the defaultValue is returned. | ||
* Provides a string based on a key for the current language. | ||
* When no string for the current language is available under this key, | ||
* the `defaultValue` is returned. | ||
* | ||
* @param key - The key identifying the string for the current language. | ||
* @param defaultValue - The default value, which will be returned when no string | ||
* with the provided key is available for the current language. | ||
* @param key - The key which identifies the string for the current language. | ||
* @param defaultValue - The default value which will be returned when no string | ||
* for the current language is available under the key. | ||
* @return - The string for the current language. | ||
@@ -21,0 +22,0 @@ */ |
@@ -7,3 +7,3 @@ /// <reference types="react" /> | ||
/** | ||
* A React component providing an internationalization service. | ||
* A React component which provides an internationalization service. | ||
* Expects a locale string as a property of the component. | ||
@@ -26,4 +26,4 @@ */ | ||
* Returns an internationalization service. | ||
* The method is suitable for overriding if you | ||
* need to implement custom internationalization behavior. | ||
* The method is suitable for overriding when you | ||
* implement custom internationalization behavior. | ||
*/ | ||
@@ -30,0 +30,0 @@ getIntlService(): IntlService; |
@@ -17,3 +17,3 @@ "use strict"; | ||
/** | ||
* A React component providing an internationalization service. | ||
* A React component which provides an internationalization service. | ||
* Expects a locale string as a property of the component. | ||
@@ -28,4 +28,4 @@ */ | ||
* Returns an internationalization service. | ||
* The method is suitable for overriding if you | ||
* need to implement custom internationalization behavior. | ||
* The method is suitable for overriding when you | ||
* implement custom internationalization behavior. | ||
*/ | ||
@@ -32,0 +32,0 @@ IntlProvider.prototype.getIntlService = function () { |
@@ -28,3 +28,3 @@ /// <reference types="react" /> | ||
* child of `IntlProvider`, the locale of the provider is used. | ||
* Otherwise, `en` is used as a default locale. | ||
* Otherwise, uses `en` as a default locale. | ||
* | ||
@@ -35,3 +35,3 @@ * @param component - The React component class that will use the internationalization methods. | ||
/** | ||
* A method which registers a component class or a functional stateless component for localization. | ||
* A method which registers a component class or a stateless functional component for localization. | ||
* When a component of that type is a direct or indirect | ||
@@ -38,0 +38,0 @@ * child of `LocalizationProvider`, the language of the provider is used. |
@@ -43,3 +43,3 @@ "use strict"; | ||
* child of `IntlProvider`, the locale of the provider is used. | ||
* Otherwise, `en` is used as a default locale. | ||
* Otherwise, uses `en` as a default locale. | ||
* | ||
@@ -61,3 +61,3 @@ * @param component - The React component class that will use the internationalization methods. | ||
/** | ||
* A method which registers a component class or a functional stateless component for localization. | ||
* A method which registers a component class or a stateless functional component for localization. | ||
* When a component of that type is a direct or indirect | ||
@@ -64,0 +64,0 @@ * child of `LocalizationProvider`, the language of the provider is used. |
/** | ||
* Provides mechanism to load language specific messages for the Kendo UI for React components | ||
* Provides mechanism to load language-specific messages for the Kendo UI for React components. | ||
* | ||
* @param messages - An iterable object containing key-value pairs. | ||
* @param languages - The language to which the messages are associate. | ||
* @param messages - An iterable object which contains key-value pairs. | ||
* @param languages - The language to which the messages are associated. | ||
*/ | ||
export declare function loadMessages(messages: any, language: string): void; |
@@ -20,6 +20,6 @@ "use strict"; | ||
/** | ||
* Provides mechanism to load language specific messages for the Kendo UI for React components | ||
* Provides mechanism to load language-specific messages for the Kendo UI for React components. | ||
* | ||
* @param messages - An iterable object containing key-value pairs. | ||
* @param languages - The language to which the messages are associate. | ||
* @param messages - An iterable object which contains key-value pairs. | ||
* @param languages - The language to which the messages are associated. | ||
*/ | ||
@@ -26,0 +26,0 @@ function loadMessages(messages, language) { |
@@ -7,3 +7,3 @@ /// <reference types="react" /> | ||
/** | ||
* A React component providing a localization service. | ||
* A React component which provides a localization service. | ||
* Expects a language string as a property of the component. | ||
@@ -26,4 +26,4 @@ */ | ||
* Returns a localization service. | ||
* The method is suitable for overriding if you | ||
* need to implement custom localization behavior. | ||
* The method is suitable for overriding when you | ||
* implement custom localization behavior. | ||
*/ | ||
@@ -30,0 +30,0 @@ getLocalizationService(): LocalizationService; |
@@ -17,3 +17,3 @@ "use strict"; | ||
/** | ||
* A React component providing a localization service. | ||
* A React component which provides a localization service. | ||
* Expects a language string as a property of the component. | ||
@@ -28,4 +28,4 @@ */ | ||
* Returns a localization service. | ||
* The method is suitable for overriding if you | ||
* need to implement custom localization behavior. | ||
* The method is suitable for overriding when you | ||
* implement custom localization behavior. | ||
*/ | ||
@@ -32,0 +32,0 @@ LocalizationProvider.prototype.getLocalizationService = function () { |
@@ -8,8 +8,9 @@ /** | ||
/** | ||
* Provides a string based on a key for the current language. When no string is under this key is available | ||
* for the current language, the defaultValue is returned. | ||
* Provides a string based on a key for the current language. | ||
* When no string for the current language is available under this key, | ||
* the `defaultValue` is returned. | ||
* | ||
* @param key - The key identifying the string for the current language. | ||
* @param defaultValue - The default value, which will be returned when no string | ||
* with the provided key is available for the current language. | ||
* @param key - The key which identifies the string for the current language. | ||
* @param defaultValue - The default value which will be returned when no string | ||
* for the current language is available under the key. | ||
* @return - The string for the current language. | ||
@@ -16,0 +17,0 @@ */ |
@@ -15,8 +15,9 @@ "use strict"; | ||
/** | ||
* Provides a string based on a key for the current language. When no string is under this key is available | ||
* for the current language, the defaultValue is returned. | ||
* Provides a string based on a key for the current language. | ||
* When no string for the current language is available under this key, | ||
* the `defaultValue` is returned. | ||
* | ||
* @param key - The key identifying the string for the current language. | ||
* @param defaultValue - The default value, which will be returned when no string | ||
* with the provided key is available for the current language. | ||
* @param key - The key which identifies the string for the current language. | ||
* @param defaultValue - The default value which will be returned when no string | ||
* for the current language is available under the key. | ||
* @return - The string for the current language. | ||
@@ -23,0 +24,0 @@ */ |
{ | ||
"name": "@progress/kendo-react-intl", | ||
"description": "Kendo UI for React Internationalization package", | ||
"version": "0.6.0-dev.201805140918", | ||
"version": "0.6.0-dev.201805141755", | ||
"repository": { | ||
@@ -6,0 +6,0 @@ "type": "git", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
116494
1390
0