- tag your list with some strings and filter it right away - adding Test to test project - adding a new localization PS: it is an improved copy of the normal ButtonGrid
36 lines
1.4 KiB
C#
36 lines
1.4 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace TelegramBotBase.Localizations
|
|
{
|
|
public class English : Localization
|
|
{
|
|
public English() : base()
|
|
{
|
|
Values["Language"] = "English";
|
|
Values["ButtonGrid_Title"] = "Menu";
|
|
Values["ButtonGrid_NoItems"] = "There are no items.";
|
|
Values["ButtonGrid_PreviousPage"] = "◀️";
|
|
Values["ButtonGrid_NextPage"] = "▶️";
|
|
Values["ButtonGrid_CurrentPage"] = "Page {0} of {1}";
|
|
Values["ButtonGrid_SearchFeature"] = "💡 Send a message to filter the list. Click the 🔍 to reset the filter.";
|
|
Values["ButtonGrid_Back"] = "Back";
|
|
Values["CalendarPicker_Title"] = "Pick date";
|
|
Values["CalendarPicker_PreviousPage"] = "◀️";
|
|
Values["CalendarPicker_NextPage"] = "▶️";
|
|
Values["TreeView_Title"] = "Select node";
|
|
Values["TreeView_LevelUp"] = "🔼 level up";
|
|
Values["ToggleButton_On"] = "On";
|
|
Values["ToggleButton_Off"] = "Off";
|
|
Values["ToggleButton_OnIcon"] = "⚫";
|
|
Values["ToggleButton_OffIcon"] = "⚪";
|
|
Values["ToggleButton_Title"] = "Toggle";
|
|
Values["PromptDialog_Back"] = "Back";
|
|
Values["ToggleButton_Changed"] = "Setting changed";
|
|
}
|
|
|
|
|
|
}
|
|
}
|