This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.Transifex.
Summary
Provides a wrapper around transifex client functionality within a Cake build script.
- Assembly
- Cake
.Transifex .dll - Namespace
- Cake
.Transifex - Base Types
-
- Object
graph BT
Type-->Base0["Object"]
Type["TransifexRunnerAliases"]
class Type type-node
Syntax
public static class TransifexRunnerAliases
Attributes
Type | Description |
---|---|
Cake |
|
Cake |
Methods
Name | Value | Summary |
---|---|---|
TransifexInit |
void |
This command initializes the current repository with a default configuration file, and
optionally the user configuration file with either a Username + Password combination or
an API token.
static
|
TransifexInit |
void |
This command initializes the current repository with a default configuration file, and
sets the host to
www.transifex.com .
static
|
TransifexPull |
void |
This command pulls all outstanding changes from the remote Transifex server to the local
repository. By default, only the files that are watched by Transifex will be updated but
if you want to fetch the translations for new languages as well, set the
All property to true in the settings.
static
|
TransifexPull |
void |
This command pulls all outstanding changes from the remote Transifex server to the local
repository. By default only the files that are watched by transifex will be updated.
static
|
TransifexPush |
void |
This command pushes all local files that have been added to Transifex to the remote
server. All new translations are merged with existing ones and if a language doesn't
exist then it gets created. If you want to push the source file as well (either because
this is your first time running the client or because you have updated with new entries),
set the
UploadSourceFiles to true . By default,
this command will push all files which are watched by Transifex but you can filter this
per resource or/and language.
static
|
TransifexPush |
void |
This command pushes all local files that have been added to Transifex to the remote
server. All new translations are merged with existing ones and if a language doesn't
exist then it is created.
static
|
TransifexStatus |
void |
Prints the status of the current project by reading the data in the configuration file,
but only for the specified resources.
static
|
TransifexStatus |
void |
Prints the status of the current project by reading the data in the configuration file.
static
|
Extension Methods
Name | Value | Summary |
---|---|---|
ToDictionary |
IDictionary |
From ObjectHelpers
Requires the Cake.DeployParams addin
|
To |
string |
Returns the string value or a
Not set > markup suitable for Spectre.Console.
From StringExtensions
Requires the Cake.Issues addin
|