diff options
| author | Laurent Montel <[email protected]> | 2006-11-23 13:10:00 +0000 |
|---|---|---|
| committer | Laurent Montel <[email protected]> | 2006-11-23 13:10:00 +0000 |
| commit | 7fbae445277374fb2bacfcd7c04e8d7fbb2c3f05 (patch) | |
| tree | 61345a66d7ce53305102454387617a20e6578d13 /src/undomanager.cpp | |
| parent | 9d26e139f8098fdbf44c5ff183738a15e4388dfa (diff) | |
Fix i18n
svn path=/trunk/playground/utils/dolphin/; revision=607156
Diffstat (limited to 'src/undomanager.cpp')
| -rw-r--r-- | src/undomanager.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/undomanager.cpp b/src/undomanager.cpp index 62a7ff0b9..d4a4574a0 100644 --- a/src/undomanager.cpp +++ b/src/undomanager.cpp @@ -84,7 +84,7 @@ void UndoManager::addCommand(const DolphinCommand& command) } emit undoAvailable(true); - emit undoTextChanged(i18n("Undo: %1").arg(commandText(command))); + emit undoTextChanged(i18n("Undo: %1",commandText(command))); // prevent an endless growing of the Undo history if (m_historyIndex > 10000) { @@ -132,12 +132,12 @@ void UndoManager::undo() emit undoTextChanged(i18n("Undo")); } else { - emit undoTextChanged(i18n("Undo: %1").arg(commandText(m_history[m_historyIndex]))); + emit undoTextChanged(i18n("Undo: %1",commandText(m_history[m_historyIndex]))); } if (m_historyIndex < static_cast<int>(m_history.count()) - 1) { emit redoAvailable(true); - emit redoTextChanged(i18n("Redo: %1").arg(commandText(command))); + emit redoTextChanged(i18n("Redo: %1",commandText(command))); } else { emit redoAvailable(false); @@ -244,11 +244,11 @@ void UndoManager::redo() emit redoTextChanged(i18n("Redo")); } else { - emit redoTextChanged(i18n("Redo: %1").arg(commandText(m_history[m_historyIndex + 1]))); + emit redoTextChanged(i18n("Redo: %1",commandText(m_history[m_historyIndex + 1]))); } emit undoAvailable(true); - emit undoTextChanged(i18n("Undo: %1").arg(commandText(command))); + emit undoTextChanged(i18n("Undo: %1",commandText(command))); Dolphin& dolphin = Dolphin::mainWin(); |
