feature: refresh list & save to gallery

This commit is contained in:
2020-05-06 02:21:24 +08:00
parent 190615ab03
commit 8746d311d2
14 changed files with 335 additions and 45 deletions

View File

@ -1,4 +1,8 @@
<?xml version="1.0" encoding="UTF-8" ?>
<root>
<Title>Pixiview</Title>
<Ok>OK</Ok>
<Follow>已关注</Follow>
<Preview>预览</Preview>
<SaveSuccess>成功保存图片到照片库。</SaveSuccess>
</root>

View File

@ -10,6 +10,10 @@ namespace Pixiview.Resources
{
public class ResourceHelper
{
public static string Title => GetResource(nameof(Title));
public static string Ok => GetResource(nameof(Ok));
public static string SaveSuccess => GetResource(nameof(SaveSuccess));
static readonly Dictionary<string, LanguageResource> dict = new Dictionary<string, LanguageResource>();
public static string GetResource(string name, params object[] args)