File size: 795 Bytes
4331f83 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | // Copyright Epic Games, Inc. All Rights Reserved.
using System;
using System.Collections.Generic;
using AutomationTool;
using UnrealBuildTool;
using EpicGames.SmartlingLocalization;
public class SmartlingLocalizationProvider_Sample : SmartlingLocalizationProvider
{
public SmartlingLocalizationProvider_Sample (LocalizationProviderArgs InArgs)
: base(InArgs)
{
Config.UserId = Command.ParseParamValue("SmartlingUserId");
Config.ProjectId = Command.ParseParamValue("SmartlingProjectId");
Config.UserSecret = Command.ParseParamValue("SmartlingAPISecret");
}
public static string StaticGetLocalizationProviderId()
{
return "Smartling_Sample";
}
public override string GetLocalizationProviderId()
{
return StaticGetLocalizationProviderId();
}
}
|