Summary
Defines common properties that can be used for all commands touching a remote location.
- Namespace
- Cake
.Transifex - Base Types
-
- ToolSettings
- Transifex
Runner Settings - Transifex
Runner Settings <TSettingsType>
- Derived Types
graph BT
Type-->Base0["TransifexRunnerSettings<TSettingsType>"]
Base0-->Base1["TransifexRunnerSettings"]
click Base1 "/Cake.Transifex/api/Cake.Transifex/TransifexRunnerSettings"
Base1-->Base2["ToolSettings"]
Type["TransifexRunnerRemoteSettings<TSettingsType>"]
class Type type-node
Derived0["TransifexPullSettings"]-->Type
click Derived0 "/Cake.Transifex/api/Cake.Transifex/TransifexPullSettings"
Derived1["TransifexPushSettings"]-->Type
click Derived1 "/Cake.Transifex/api/Cake.Transifex/TransifexPushSettings"
Syntax
public class TransifexRunnerRemoteSettings<TSettingsType> : TransifexRunnerSettings<TSettingsType>
where TSettingsType : TransifexRunnerRemoteSettings<TSettingsType>
Type Parameters
Name | Description |
---|---|
TSettingsType | The type of settings that inherits from this class. |
Constructors
Name | Summary |
---|---|
Transifex |
Initializes a new instance of the TransifexRunnerRemoteSettings<TSettingsType> class.
|
Properties
Name | Value | Summary |
---|---|---|
Branch | string |
Gets or sets the branch to use when pulling/pushing translations.
Source files and translations pushed/updated on other branches will
not be pulled.
|
Force | bool |
Gets or sets a value indicating whether to force the command event if the resource exists.
|
Languages | string |
Gets or sets the languages you want to push/pull. (defaults to all).
|
NoInteractive | bool |
Gets or sets a value indicating whether to require user input when forcing a push/pull.
|
Parallel | bool |
Gets or sets a value indicating whether translations/sources should be pushed/pulled in parallel.
|
SkipErrors | bool |
Gets or sets a value indicating whether to continue with the command even if an error ocurs.
|
UseGitTimestamps | bool |
Gets or sets a value indicating whether to use git timestamps when comparing commited files timestamp with corresponding
file on transifex.
|
UseXliff | bool |
Gets or sets a value indicating whether use the xliff format.
|
Methods
Name | Value | Summary |
---|---|---|
GetValue |
TValue |
Gets the stored value with the specified key.
Inherited from Transifex
|
GetValue |
TValue |
Gets the stored value with the specified key.
Inherited from Transifex
|
SetValue |
void |
Stores the specified value with the specified key.
Inherited from Transifex
|