TransifexRunnerAliases.

TransifexPull(ICakeContext, TransifexPullSettings) Method

Summary

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.
Assembly
Cake.Transifex.dll
Namespace
Cake.Transifex
Containing Type
TransifexRunnerAliases

Syntax

public static void TransifexPull(this ICakeContext context, TransifexPullSettings settings)

Examples

Run 'tx pull' with additional options.

Cake task:

Task("Transifex-Pull")
    .Does(() =>
{
    var settings = new TransifexPullSettings
    {
        All = true,
        MinimumPercentage = 75,
        Mode = TransifexMode.Reviewed
    };
    TransifexPull(settings);
};

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

Name Type Description
context ICakeContext The context.
settings TransifexPullSettings The settings.

Return Value

Type Description
void