Package com._1c.g5.v8.dt.form.naming
Class FormLocalizerUtil
- java.lang.Object
-
- com._1c.g5.v8.dt.form.naming.FormLocalizerUtil
-
public class FormLocalizerUtil extends Object
Utils for translating symbolic links from English to Russian.
-
-
Constructor Summary
Constructors Constructor Description FormLocalizerUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
extendedTranslateSymbolicLinkIntoRussian(String symbolicLink, org.eclipse.emf.ecore.EObject contextObject, org.eclipse.emf.ecore.EStructuralFeature feature)
Translates the symbolic link from English to Russian.static String
translateSymbolicLinkIntoRussian(String symbolicLink, org.eclipse.emf.ecore.EObject contextObject, org.eclipse.emf.ecore.EStructuralFeature feature)
Translates the symbolic link from English to Russian.
-
-
-
Method Detail
-
translateSymbolicLinkIntoRussian
public static String translateSymbolicLinkIntoRussian(String symbolicLink, org.eclipse.emf.ecore.EObject contextObject, org.eclipse.emf.ecore.EStructuralFeature feature)
Translates the symbolic link from English to Russian. Translates only type names.- Parameters:
symbolicLink
- the symbolic link, can not benull
contextObject
- the referencing object, can not benull
feature
- the referencing feature, can not benull
- Returns:
- the Russian translation of the symbolic link or
null
if the translation is not found
-
extendedTranslateSymbolicLinkIntoRussian
public static String extendedTranslateSymbolicLinkIntoRussian(String symbolicLink, org.eclipse.emf.ecore.EObject contextObject, org.eclipse.emf.ecore.EStructuralFeature feature)
Translates the symbolic link from English to Russian.Supported:
- Type names
- Standard command names
- Parameters:
symbolicLink
- the symbolic link, can not benull
contextObject
- the referencing object, can not benull
feature
- the referencing feature, can not benull
- Returns:
- the Russian translation of the symbolic link or
null
if the translation is not found
-
-