mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-15 03:30:53 +01:00
18 lines
392 B
C#
18 lines
392 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace Robust.Shared.Localization.Macros
|
|
{
|
|
public interface ITextMacro
|
|
{
|
|
public string Format(object? argument);
|
|
|
|
public string CapitalizedFormat(object? arg)
|
|
{
|
|
string result = Format(arg);
|
|
return char.ToUpper(result[0]) + result.Substring(1);
|
|
}
|
|
}
|
|
}
|