Skip to content

Commit

Permalink
Remove some no-longer-necessary translations
Browse files Browse the repository at this point in the history
Don't translate strings that can't appear in released builds after
4f5e3dc .
  • Loading branch information
sphery committed Feb 4, 2011
1 parent d098941 commit 67463f9
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions mythtv/libs/libmyth/schemawizard.cpp
Expand Up @@ -200,7 +200,8 @@ MythSchemaUpgrade SchemaUpgradeWizard::GuiPrompt(const QString &message,
if (upgradable)
dlg->AddButton(tr("Upgrade"));
if (expert)
dlg->AddButton(tr("Use current schema"));
// Not translated. This string can't appear in released builds.
dlg->AddButton("Use current schema");

DialogCode selected = dlg->exec();
dlg->deleteLater();
Expand Down Expand Up @@ -364,9 +365,9 @@ SchemaUpgradeWizard::PromptForUpgrade(const char *name,
message = tr("Warning: MythTV wants to upgrade your database,")
+ "\n" + tr("for the %1 schema, from %2 to %3.");
if (m_expertMode)
message += "\n\n" +
tr("You can try using the old schema,"
" but that may cause problems.");
// Not translated. This string can't appear in released builds.
message += "\n\nYou can try using the old schema,"
" but that may cause problems.";
}
}
else if (!validDBMS)
Expand All @@ -385,8 +386,9 @@ SchemaUpgradeWizard::PromptForUpgrade(const char *name,
else // This client is too old
{
if (m_expertMode)
message = tr("Warning: MythTV database has newer"
" %1 schema (%2) than expected (%3).");
// Not translated. This string can't appear in released builds.
message = "Warning: MythTV database has newer"
" %1 schema (%2) than expected (%3).";
else
{
message = tr("Error: MythTV database has newer"
Expand Down

0 comments on commit 67463f9

Please sign in to comment.