Skip to content

Commit 382e03d

Browse files
committed
updated readme
1 parent 2f4ae93 commit 382e03d

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

‎README.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
![build status](https://github.com/yafnet/yaf.languagemanager/actions/workflows/build.yml/badge.svg)
44
[![NuGet](https://img.shields.io/nuget/v/YAFNET.LanguageManager.svg)](https://nuget.org/packages/YAFNET.LanguageManager)
5+
[![Ko-fi](https://img.shields.io/badge/Ko--fi-Support%20Me-ff5e5b?logo=ko-fi&logoColor=white)](https://ko-fi.com/w8tcha)
56

67
A .NET global tool for synchronizing, minifying, and automatically translating [YetAnotherForum.NET](https://www.yetanotherforum.net/) JSON language files.
78

‎YAFNET.LanguageManager/Program.cs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ internal static async Task SyncLanguagesAsync(string languageFolder, List<string
134134
// Resolves the text to use for a new resource: template content is copied verbatim
135135
// (it may contain HTML/placeholders that machine translation would corrupt), everything
136136
// else is auto-translated, falling back to the source text if translation fails.
137-
async Task<string> ResolveTextAsync(string pageName, string sourceText, string targetLanguageCode)
137+
static async Task<string> ResolveTextAsync(string pageName, string sourceText, string targetLanguageCode)
138138
{
139139
if (pageName.Equals("TEMPLATES"))
140140
{

0 commit comments

Comments
 (0)