This repository has been archived by the owner on Oct 13, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(i18n): add localization support (#256)
- Loading branch information
1 parent
d43d128
commit 9965542
Showing
20 changed files
with
666 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
Jellyfin.Plugin.Themerr.Tests/TestableServerConfiguration.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
using MediaBrowser.Model.Configuration; | ||
|
||
namespace Jellyfin.Plugin.Themerr.Tests; | ||
|
||
/// <summary> | ||
/// Represents a testable server configuration for unit testing. | ||
/// </summary> | ||
public class TestableServerConfiguration : ServerConfiguration | ||
{ | ||
/// <summary> | ||
/// Initializes a new instance of the <see cref="TestableServerConfiguration"/> class. | ||
/// </summary> | ||
/// <param name="uiCulture">Mocked UI culture.</param> | ||
public TestableServerConfiguration(string uiCulture) | ||
{ | ||
UICulture = uiCulture; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.