コード例 #1
0
        /// <summary>
        /// Gets the string.
        /// </summary>
        /// <param name="comment">The comment.</param>
        /// <param name="message">The message.</param>
        /// <returns></returns>
        public static string GetString(string comment, string message = null)
        {
            var translated = Localise.GetString(comment);

            if (translated == null)
            {
                return(message);
            }
            return(translated);
        }