PslTransString.State
Returns the status bits of the string.
Syntax
Expression.State (State as Variant) as Boolean
Expression Object of type PslTransString
State Name of the status value. The following values are possible:
- pslStateAutoTranslated (Value = 21):The string has been translated automatically (read-only)
- pslStateBookmark (Value = 8): The string is marked with a bookmark.
- pslStateChanged (Value = 2): The string was changed during one of the previous updates. (read-only)
- pslStateCoordChanged (Value = 5):The string belongs to a dialog control, whose coordinates were changed during one of the previous updates (read-only)
- pslStateCorrection (Value = 4): The string is a correction, so it needs not be translated once more. (read-only)
- pslStateDeleted (Value = 9): The string has been deleted and is stored in the recycle bin.
- pslStateHidden (Value = 3): The string is not visible for the translator. (read-only)
- pslStateInvisible (Value = 31):The string is never shown, not in the source list and not in the translation list (read-only)
- pslState Locked (Value = 27): The string locked, i.e. text, properties or coordinates cannot be changed by the user or from macros.
- pslStateMirror (Value = 102): If the string belongs to a dialog control: the mirror style of of the control is set.
- pslStateMirrorThis (Value = 103): If the string belongs to a dialog control: the mirror (no inheritance) style of of the control is set.
- pslStateMultiline (Value = 100): If the string belongs to a dialog control, the multi line attribute of the control will be set when the target file is generated
- pslStateNew (Value = 0): The string is new, it was added by one of the previous updates. (read-only)
- pslStateOtherSplitPart (Value = 202): For splitted translation bundles: The string may not be modified because it belongs to another part (read-only)
- pslStateReadOnly (Value = 1): The string may not be modified by the translator. (read-only)
- pslStateReview (Value = 6): The string is marked with the review flag. All "for review" strings are also "translated". So if you want to validate a string, you need to set this state to False.
- pslStateSuppressError (Value = 26): There are suppressed checking errors for this string (read-only)
- pslStateToggleRL (Value = 101): If the string belongs to a dialog control: the toggle alignment style of of the control is set.
- pslStateTagged (Value = 29):The string contains tags (read-only)
- pslStateTranslated (Value = 7): The string is marked with the translated flag.
- pslStateNoReplicate (Value = 18):The string is not used when translating replicates (read-only)
- pslStateUnifyReplicates (Value = 200):The string has been marked as "unified replicate" (read-only)
- pslStateVariableID (Value = 20):The ID of the string may change when updating the source list (read-only)