summaryrefslogtreecommitdiff
path: root/setup.c
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2015-01-27 17:46:59 +0100
committerlouis <louis.braun@gmx.de>2015-01-27 17:46:59 +0100
commit4204e455324c854d5df2099aa3e6de38d6f1a89f (patch)
tree0f2b001efb05360c8149d3bbedac813ea6474563 /setup.c
parentc650dcacd89ed4ffd6cdc2aded92de70b40f181d (diff)
parent8dea5a4778d904e7616da0028b4fa79711e717a0 (diff)
downloadvdr-plugin-skindesigner-4204e455324c854d5df2099aa3e6de38d6f1a89f.tar.gz
vdr-plugin-skindesigner-4204e455324c854d5df2099aa3e6de38d6f1a89f.tar.bz2
Merge branch 'master' into plugininterface
Diffstat (limited to 'setup.c')
-rw-r--r--setup.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/setup.c b/setup.c
index a7290b1..4523adf 100644
--- a/setup.c
+++ b/setup.c
@@ -97,16 +97,16 @@ cOsdItem *cSkinDesignerSetup::InfoItem(const char *label) {
}
void cSkinDesignerSetup::PluginSetup(void) {
- Add(InfoItem("Plugin Setup"));
+ Add(InfoItem(tr("Plugin Setup")));
Add(new cMenuEditStraItem(tr("Menu Item display method"), &blockFlush, 2, menuDisplayStyle));
- Add(InfoItem("Reruns"));
+ Add(InfoItem(tr("Reruns")));
Add(new cMenuEditIntItem(tr("Maximum number of reruns to display"), &rerunAmount, 1, 100));
Add(new cMenuEditIntItem(tr("Minimum timely distance of rerun (in hours)"), &rerunDistance, 0, 1000));
- Add(new cMenuEditIntItem(tr("Limit Channel Numbers (0 = no limit)"), &rerunMaxChannel, 0, 1000));
+ Add(new cMenuEditIntItem(tr("Limit Channel Numbers"), &rerunMaxChannel, 0, 1000, tr("no limit")));
- Add(InfoItem("Image Loading"));
+ Add(InfoItem(tr("Image Loading")));
Add(new cMenuEditBoolItem(tr("Debug Image Loading"), &debugImageLoading));
Add(new cMenuEditBoolItem(tr("Limit Channel Logo Cache"), &limitLogoCache));
Add(new cMenuEditIntItem(tr("Number to cache initially (per size)"), &numLogosPerSizeInitial, 0, 1000));
@@ -114,14 +114,14 @@ void cSkinDesignerSetup::PluginSetup(void) {
}
void cSkinDesignerSetup::SkinSetup(void) {
- Add(InfoItem("Skin Setup"));
+ Add(InfoItem(tr("Skin Setup")));
config.InitSkinIterator();
string skin = "";
while (config.GetSkin(skin)) {
cSkinSetup *skinSetup = config.GetSkinSetup(skin);
if (!skinSetup) {
- Add(new cOsdItem(cString::sprintf("%s %s %s", tr("Skin"), skin.c_str(), tr("has no setup"))));
+ Add(new cOsdItem(cString::sprintf("%s %s\t%s", tr("Skin"), skin.c_str(), tr("has no setup"))));
cList<cOsdItem>::Last()->SetSelectable(false);
} else {
Add(new cOsdItem(cString::sprintf("%s %s", tr("Skin"), skin.c_str())));
@@ -134,7 +134,7 @@ void cSkinDesignerSetup::ImageCacheStatistics(void) {
return;
}
- Add(InfoItem("Cache Statistics"));
+ Add(InfoItem(tr("Cache Statistics")));
int sizeIconCache = 0;
int numIcons = 0;
imgCache->GetIconCacheSize(numIcons, sizeIconCache);
@@ -195,4 +195,4 @@ void cSkindesignerSkinSetup::Set(void) {
}
}
-} \ No newline at end of file
+}