mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-02 05:48:47 +01:00
Add latest translations
This commit is contained in:
@@ -1,20 +0,0 @@
|
||||
|
||||
namespace MediaBrowser.Model.Extensions
|
||||
{
|
||||
/// <summary>
|
||||
/// Class ModelExtensions
|
||||
/// </summary>
|
||||
static class ModelExtensions
|
||||
{
|
||||
/// <summary>
|
||||
/// Values the or default.
|
||||
/// </summary>
|
||||
/// <param name="str">The STR.</param>
|
||||
/// <param name="def">The def.</param>
|
||||
/// <returns>System.String.</returns>
|
||||
internal static string ValueOrDefault(this string str, string def = "")
|
||||
{
|
||||
return string.IsNullOrEmpty(str) ? def : str;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user