public class ERXNonPluralFormLocalizer extends ERXLocalizer
ERXLocalizer
.
Overrides plurifiedString
from its super class
and cancels all plural form translations including the one provided by
plurifiedStringWithTemplateForKey
.
Good for languages that don't have plural forms (such as Japanese).
ERXLocalizer
のサブクラスである
スーパークラスのplurifiedString
をオーバーライドします。
全ての複数形を翻訳対象から取り除きます。
plurifiedStringWithTemplateForKey
を含む
複数形を持っていない言語のためです。 (例、日本語)
ERXLocalizer.Observer
NSKeyValueCodingAdditions.DefaultImplementation, NSKeyValueCodingAdditions.Utility
NSKeyValueCoding._BooleanFieldBinding, NSKeyValueCoding._BooleanMethodBinding, NSKeyValueCoding._FieldBinding, NSKeyValueCoding._ForwardingBinding, NSKeyValueCoding._KeyBinding, NSKeyValueCoding._KeyBindingCreation, NSKeyValueCoding._MethodBinding, NSKeyValueCoding._NumberFieldBinding, NSKeyValueCoding._NumberMethodBinding, NSKeyValueCoding._ReflectionKeyBindingCreation, NSKeyValueCoding.ErrorHandling, NSKeyValueCoding.MapImplementation, NSKeyValueCoding.Null<T>, NSKeyValueCoding.UnknownKeyException, NSKeyValueCoding.ValueAccessor
_dateFormatters, _numberFormatters, cache, KEY_LOCALIZER_EXCEPTIONS, language, locale, LocalizationDidResetNotification
_CLASS, _KeyPathSeparatorChar, KeyPathSeparator
NullValue
Constructor and Description |
---|
ERXNonPluralFormLocalizer(String aLanguage) |
Modifier and Type | Method and Description |
---|---|
String |
plurifiedString(String name,
int count)
複数形の文字列を戻します (スーパークラス参照)
|
String |
toString()
このクラスの文字列表現
|
addEntriesToCache, addToCreatedKeys, applyRules, availableLanguages, cache, createdKeys, createLocalizerForLanguage, currentLocalizer, defaultLanguage, defaultLocalizer, defaultPlurifyRules, defaultSingularifyRules, dumpCreatedKeys, englishLocalizer, fallbackToDefaultLanguage, fileNamesToWatch, frameworkSearchPath, initialize, isLocalizationEnabled, language, languageCode, load, locale, localizedDateFormatForKey, localizedDisplayNameForKey, localizedDisplayNameForKey, localizedNumberFormatForKey, localizedStringForKey, localizedStringForKeyWithDefault, localizedTemplateStringForKeyWithObject, localizedTemplateStringForKeyWithObjectOtherObject, localizedValueForKey, localizedValueForKeyWithDefault, localizerForLanguage, localizerForLanguages, localizerForRequest, plurifiedStringWithTemplateForKey, plurify, plurifyRules, readPropertyListFromFileInFramework, resetCache, setAvailableLanguages, setCacheValueForKey, setCurrentLocalizer, setDefaultLanguage, setFileNamesToWatch, setFrameworkSearchPath, setIsLocalizationEnabled, setLocale, setLocalizedDateFormatForKey, setLocalizedNumberFormatForKey, setLocalizerForLanguage, singularifiedString, singularify, singularifyRules, takeValueForKey, takeValueForKeyPath, useLocalizedFormatters, valueForKey, valueForKeyPath
public ERXNonPluralFormLocalizer(String aLanguage)
public String plurifiedString(String name, int count)
plurifiedString
in class ERXLocalizer
name
- - 翻訳対象キーcount
- - 数public String toString()
ERXLocalizer
toString
in class ERXLocalizer
Copyright © 2002 – 2024 Project Wonder.