Package com.e1c.langtool.v8.dt
Class TranslationProperties
java.lang.Object
com.e1c.langtool.v8.dt.TranslationProperties
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTranslationProperties(ITranslatingProjectManager projectManager, org.eclipse.core.resources.IProject project) -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanbooleanbooleanbooleanbooleangetLanguageToFillEmptyInterfaceTranslation(TranslateLanguage emptyLanguage) getLanguageToFillEmptyInterfaceTranslation(String emptyLanguageCode) booleanbooleanChecks if is enable persistent key mapping cache.voidread(org.osgi.service.prefs.Preferences preferences) voidsetContextDefStorageCheckBackTranslation(boolean contextDefStorageCheckBackTranslation) voidsetEnablePersistentKeyMappingCache(boolean enablePersistentKeyMappingCache) Sets the enable persistent key mapping cache.voidsetFillEmptyHelpTranslationFromSource(boolean fillEmptyHelpTranslationFromSource) voidsetFillEmptyHtmlTranslationFromSource(boolean fillEmptyHtmlTranslationFromSource) voidsetFillEmptyInterfaceTranslationFromSource(boolean fillEmptyInterfaceTranslationFromSource) voidsetLanguageToFillEmptyInterfaceTranslation(Map<String, String> fillupLanguages)
-
Field Details
-
FILL_EMPTY_INTERFACE_TRANSLATION_FORM_SOURCE
- See Also:
-
FILL_EMPTY_HTML_TRANSLATION_FORM_SOURCE
- See Also:
-
FILL_EMPTY_HELP_TRANSLATION_FORM_SOURCE
- See Also:
-
FILL_EMPTY_INTERFACE_NODE
- See Also:
-
CONTEXT_DEF_STORAGE_CHECK_BACK_TRANSLATION
- See Also:
-
ENABLE_PERSISTENT_KEY_MAPPING_CACHE
Constant representing the key for enabling the persistent key mapping cache. The cache is used to store and retrieve key mappings persistently.Usage: Set this constant to "true" to enable the persistent key mapping cache or "false" to disable it. The cache helps improve performance by storing key mappings persistently.
- See Also:
-
-
Constructor Details
-
TranslationProperties
public TranslationProperties(ITranslatingProjectManager projectManager, org.eclipse.core.resources.IProject project)
-
-
Method Details
-
fillEmptyInterfaceTranslation
public boolean fillEmptyInterfaceTranslation() -
fillEmptyInterfaceTranslationFromSource
public boolean fillEmptyInterfaceTranslationFromSource() -
fillEmptyHtmlTranslationFromSource
public boolean fillEmptyHtmlTranslationFromSource() -
fillEmptyHelpTranslationFromSource
public boolean fillEmptyHelpTranslationFromSource() -
isEnablePersistentKeyMappingCache
public boolean isEnablePersistentKeyMappingCache()Checks if is enable persistent key mapping cache.- Returns:
- true, if is enable persistent key mapping cache
-
isContextDefStorageCheckBackTranslation
public boolean isContextDefStorageCheckBackTranslation() -
setFillEmptyInterfaceTranslationFromSource
public void setFillEmptyInterfaceTranslationFromSource(boolean fillEmptyInterfaceTranslationFromSource) -
setFillEmptyHtmlTranslationFromSource
public void setFillEmptyHtmlTranslationFromSource(boolean fillEmptyHtmlTranslationFromSource) -
setFillEmptyHelpTranslationFromSource
public void setFillEmptyHelpTranslationFromSource(boolean fillEmptyHelpTranslationFromSource) -
setContextDefStorageCheckBackTranslation
public void setContextDefStorageCheckBackTranslation(boolean contextDefStorageCheckBackTranslation) -
setEnablePersistentKeyMappingCache
public void setEnablePersistentKeyMappingCache(boolean enablePersistentKeyMappingCache) Sets the enable persistent key mapping cache.- Parameters:
enablePersistentKeyMappingCache- the new enable persistent key mapping cache
-
getLanguageToFillEmptyInterfaceTranslation
public TranslateLanguage getLanguageToFillEmptyInterfaceTranslation(TranslateLanguage emptyLanguage) -
getLanguageToFillEmptyInterfaceTranslation
-
setLanguageToFillEmptyInterfaceTranslation
-
read
public void read(org.osgi.service.prefs.Preferences preferences) -
checkCycleRefs
-