mirror of
https://github.com/cyanfish/naps2.git
synced 2024-09-21 12:49:43 +03:00
b62100fb07
No longer keeping System, System.Collections.Generic, System.Linq
15 lines
442 B
C#
15 lines
442 B
C#
using System.IO;
|
|
|
|
namespace NAPS2.Localization
|
|
{
|
|
public class Templates
|
|
{
|
|
public static void Update()
|
|
{
|
|
var ctx = new TemplatesContext();
|
|
ctx.Load(Path.Combine(Paths.Root, @"NAPS2.Core\Lang\Resources"), false);
|
|
ctx.Load(Path.Combine(Paths.Root, @"NAPS2.Core\WinForms"), true);
|
|
ctx.Save(Path.Combine(Paths.Root, @"NAPS2.Core\Lang\po\templates.pot"));
|
|
}
|
|
}
|
|
} |