diff options
author | Aurimas Fišeras <aurimas@gmail.com> | 2011-01-23 15:42:57 +0200 |
---|---|---|
committer | Cédric Bosdonnat <cedricbosdo@openoffice.org> | 2011-01-27 10:17:20 +0100 |
commit | 85f4d5e755b0768a3ed8e5bfed5702a28a31d8d9 (patch) | |
tree | ffb236d95f33f1287898b735bfda3095647108a4 /offapi/com/sun/star/resource | |
parent | Some fixes to documentation (part 2) (diff) | |
download | core-85f4d5e755b0768a3ed8e5bfed5702a28a31d8d9.tar.gz core-85f4d5e755b0768a3ed8e5bfed5702a28a31d8d9.zip |
Some fixes to documentation (part 3)
Fixes many spelling errors (checked with en_US spell checker).
Unifies spelling of some common words.
Replaces single quotes ('') with double quotes ("").
Fixes several other errors.
Diffstat (limited to 'offapi/com/sun/star/resource')
7 files changed, 23 insertions, 23 deletions
diff --git a/offapi/com/sun/star/resource/OfficeResourceLoader.idl b/offapi/com/sun/star/resource/OfficeResourceLoader.idl index 7930a34e5571..3c3ec7e148d5 100644 --- a/offapi/com/sun/star/resource/OfficeResourceLoader.idl +++ b/offapi/com/sun/star/resource/OfficeResourceLoader.idl @@ -40,12 +40,12 @@ module com { module sun { module star { module resource { resource files. <p>An OpenOffice.org installation comes with a number of resource files in an proprietary - format, located insisde the installation's program/resource directory. The <type>OfficeResoureLoader</type> + format, located inside the installation's program/resource directory. The <type>OfficeResoureLoader</type> singleton (available at a component context as value with the key <code>/singletons/com.sun.star.resource.OfficeResourceLoader</code>), provides access to some types of resources within those files.</p> - <p>Clients have to specifiy the resource file base name in the call to + <p>Clients have to specify the resource file base name in the call to <member>XResourceBundleLoader::loadBundle</member> resp. <member>XResourceBundleLoader::loadBundle_Default</member> method. The loader will extent this base name so that the resulting name conforms to the OpenOffice.org resource file naming conventions, and look up the respective resource file, for the requested locale, diff --git a/offapi/com/sun/star/resource/StringResourceWithLocation.idl b/offapi/com/sun/star/resource/StringResourceWithLocation.idl index 9115d9e22758..3cdf3d7c8b76 100644 --- a/offapi/com/sun/star/resource/StringResourceWithLocation.idl +++ b/offapi/com/sun/star/resource/StringResourceWithLocation.idl @@ -63,7 +63,7 @@ service StringResourceWithLocation : com::sun::star::resource::XStringResourceWi @param BaseName Base string for the file names used to store the locale data. The locale data is stored in Java properties files also following - the corresponding naming sceme. The files will be named like this: + the corresponding naming scheme. The files will be named like this: "[BaseName]_[Language]_[Country].properties", e.g. "MyBaseName_en_US.properties" If an empty string is passed for BaseName, "strings" will be used @@ -72,8 +72,8 @@ service StringResourceWithLocation : com::sun::star::resource::XStringResourceWi @param Comment Comment stored first in each properties file followed by a line feed character. The line feed character is added automatically - and hasn't to be part of the comment string. The caller is re- - sponsible that the passed string is a valid comment in a Java + and hasn't to be part of the comment string. The caller is + responsible that the passed string is a valid comment in a Java properties file, e.g. "# My strings". The string may be empty. @param Handler diff --git a/offapi/com/sun/star/resource/StringResourceWithStorage.idl b/offapi/com/sun/star/resource/StringResourceWithStorage.idl index 0d8c0678a97a..fae096a6f869 100644 --- a/offapi/com/sun/star/resource/StringResourceWithStorage.idl +++ b/offapi/com/sun/star/resource/StringResourceWithStorage.idl @@ -63,7 +63,7 @@ service StringResourceWithStorage : com::sun::star::resource::XStringResourceWit @param BaseName Base string for the file names used to store the locale data. The locale data is stored in Java properties files also following - the corresponding naming sceme. The files will be named like this: + the corresponding naming scheme. The files will be named like this: "[BaseName]_[Language]_[Country].properties", e.g. "MyBaseName_en_US.properties" If an empty string is passed for BaseName, "strings" will be used @@ -72,8 +72,8 @@ service StringResourceWithStorage : com::sun::star::resource::XStringResourceWit @param Comment Comment stored first in each properties file followed by a line feed character. The line feed character is added automatically - and hasn't to be part of the comment string. The caller is re- - sponsible that the passed string is a valid comment in a Java + and hasn't to be part of the comment string. The caller is + responsible that the passed string is a valid comment in a Java properties file, e.g. "# My strings". The string may be empty. @throws <type scope="com::sun::star::lang">IllegalArgumentException</type> diff --git a/offapi/com/sun/star/resource/XStringResourcePersistence.idl b/offapi/com/sun/star/resource/XStringResourcePersistence.idl index 880ff903e8b5..bb5c4a10b2a0 100644 --- a/offapi/com/sun/star/resource/XStringResourcePersistence.idl +++ b/offapi/com/sun/star/resource/XStringResourcePersistence.idl @@ -48,7 +48,7 @@ module com { module sun { module star { module resource { /** Interface derived from XStringResourceManager containing basic persistence functionality limited to operations that - are independend from a associated location or storage. + are independent from a associated location or storage. @see <type>XStringResourceManager</type>. */ @@ -64,12 +64,12 @@ interface XStringResourcePersistence: com::sun::star::resource::XStringResourceM <type>StringResourceWithLocation</type> and <type>StringResourceWithStorage</type> - The StringResourceWithLocation is initialised with an URL + The StringResourceWithLocation is initialized with an URL specifying a location used to load data from and store data to, see <type>StringResourceWithLocation</type>. - The StringResourceWithStorage is initialised with an in- - stance of <type scope="com::sun::star::embed">XStorage</type> + The StringResourceWithStorage is initialized with an instance + of <type scope="com::sun::star::embed">XStorage</type> used to load data from and store data to, see <type>StringResourceWithStorage</type>. @@ -83,7 +83,7 @@ interface XStringResourcePersistence: com::sun::star::resource::XStringResourceM not handled by a previously specified <type scope="com::sun::star::task">XInteractionHandler</type>. The handler to be used for the store operation can be specified - during initialisation of <type>StringResourceWithLocation</type>. + during initialization of <type>StringResourceWithLocation</type>. @throws <type scope="com::sun::star::lang">NoSupportException</type> if no URL or no valid storage are provided. @@ -109,15 +109,15 @@ interface XStringResourcePersistence: com::sun::star::resource::XStringResourceM Sets the comment stored first in each locale data file. This interface method can be used to overwrite the comment used - during initialisation of the services + during initialization of the services <type>StringResourceWithLocation</type> or <type>StringResourceWithStorage</type> @param Comment Comment stored first in each properties file followed by a line feed character. The line feed character is added automatically - and hasn't to be part of the comment string. The caller is re- - sponsible that the passed string is a valid comment in a Java + and hasn't to be part of the comment string. The caller is + responsible that the passed string is a valid comment in a Java properties file, e.g. "# My strings". The string may be empty. */ void setComment( [in] string Comment ); @@ -128,7 +128,7 @@ interface XStringResourcePersistence: com::sun::star::resource::XStringResourceM Calling this method does not affect the association with a location (in case of a <type>StringResourceWithLocation</type> instance) - repectively with a storage (in case of a + respectively with a storage (in case of a <type>StringResourceWithStorage</type> instance). The modified state isn't affected either. @@ -142,7 +142,7 @@ interface XStringResourcePersistence: com::sun::star::resource::XStringResourceM @param BaseName Base string for the file names used to store the locale data. The locale data is stored in Java properties files also following - the corresponding naming sceme. The files will be named like this: + the corresponding naming scheme. The files will be named like this: "[BaseName]_[Language]_[Country].properties", e.g. "MyBaseName_en_US.properties" If an empty string is passed for BaseName, "strings" will be used @@ -166,7 +166,7 @@ interface XStringResourcePersistence: com::sun::star::resource::XStringResourceM Calling this method does not affect the association with a location (in case of a <type>StringResourceWithLocation</type> instance) - repectively with a storage (in case of a + respectively with a storage (in case of a <type>StringResourceWithStorage</type> instance). The modified state isn't affected either. @@ -179,7 +179,7 @@ interface XStringResourcePersistence: com::sun::star::resource::XStringResourceM @param BaseName Base string for the file names used to store the locale data. The locale data is stored in Java properties files also following - the corresponding naming sceme. The files will be named like this: + the corresponding naming scheme. The files will be named like this: "[BaseName]_[Language]_[Country].properties", e.g. "MyBaseName_en_US.properties" If an empty string is passed for BaseName, "strings" will be used diff --git a/offapi/com/sun/star/resource/XStringResourceResolver.idl b/offapi/com/sun/star/resource/XStringResourceResolver.idl index f386c73abd08..5c6747e6ea3d 100644 --- a/offapi/com/sun/star/resource/XStringResourceResolver.idl +++ b/offapi/com/sun/star/resource/XStringResourceResolver.idl @@ -64,7 +64,7 @@ interface XStringResourceResolver: com::sun::star::util::XModifyBroadcaster { /** Resolves the passed ResoureID for the current locale. This - locale is set during initalisation of the object implementing + locale is set during initialization of the object implementing this interface or - in case that also the interface <type scope="com::sun::star::resource">XStringResourceManager</type> is supported - by using the <code>XStringResourceManager::setLocale</code> diff --git a/offapi/com/sun/star/resource/XStringResourceWithLocation.idl b/offapi/com/sun/star/resource/XStringResourceWithLocation.idl index 642187897ed3..a537c57234ac 100644 --- a/offapi/com/sun/star/resource/XStringResourceWithLocation.idl +++ b/offapi/com/sun/star/resource/XStringResourceWithLocation.idl @@ -71,7 +71,7 @@ interface XStringResourceWithLocation: com::sun::star::resource::XStringResource location before releasing it. The StringResourceManager will be modified after calling this method as the data isn't stored to the new location yet. <member>storeAsURL</member> should - be prefered as it directly stores the data to the new location + be preferred as it directly stores the data to the new location and afterwards this location is in sync with the resource data. </p> diff --git a/offapi/com/sun/star/resource/XStringResourceWithStorage.idl b/offapi/com/sun/star/resource/XStringResourceWithStorage.idl index b4e5dd803efa..c251172eb344 100644 --- a/offapi/com/sun/star/resource/XStringResourceWithStorage.idl +++ b/offapi/com/sun/star/resource/XStringResourceWithStorage.idl @@ -70,7 +70,7 @@ interface XStringResourceWithStorage: com::sun::star::resource::XStringResourceP force the implementation to reload data from the previous storage before releasing it. The StringResourceManager will be modified after calling this method as the data isn't stored to the new - storage yet. <member>storeAsStorage</member> should be prefered + storage yet. <member>storeAsStorage</member> should be preferred as it directly stores the data to the new storage and afterwards this storage is in sync with the resource data. </p> |