| This is an automatically generated e-mail. To reply, visit: http://git.reviewboard.kde.org/r/104179/ |
|
Review request for kdelibs and David Faure.
By Dawit Alemayehu.
Description
Diffs
|
| This is an automatically generated e-mail. To reply, visit: http://git.reviewboard.kde.org/r/104179/ |
Ship it!
Looks good, just one question.
| kparts/htmlextension.cpp (Diff revision 1) | |||
|---|---|---|---|
const char* HtmlSettingsInterface::javascriptAdviceToText(HtmlSettingsInterface::JavaScriptAdvice advice) |
|||
| 114 | return I18N_NOOP("Accept"); |
||
Any idea why this uses I18N_NOOP? Is this so that the untranslated string gets used in config files, but the GUI code can call i18n() on it for display purposes? If this is indeed used like that, please document it, otherwise remove I18N_NOOP.
- David
On March 10th, 2012, 3:39 p.m., Dawit Alemayehu wrote:
|
Review request for kdelibs and David Faure.
By Dawit Alemayehu.
|
Updated March 10, 2012, 3:39 p.m. |
| This is an automatically generated e-mail. To reply, visit: http://git.reviewboard.kde.org/r/104179/ |
On March 11th, 2012, 8:52 a.m., David Faure wrote:
kparts/htmlextension.cpp (Diff revision 1) const char* HtmlSettingsInterface::javascriptAdviceToText(HtmlSettingsInterface::JavaScriptAdvice advice)114 return I18N_NOOP("Accept");Any idea why this uses I18N_NOOP? Is this so that the untranslated string gets used in config files, but the GUI code can call i18n() on it for display purposes? If this is indeed used like that, please document it, otherwise remove I18N_NOOP.
Yes. That seems to be the purpose of it. It was literally copied from khtml just as it appears, but checking the code reveals that whatever is returned by that function is indeed being password to i18n. I will document it as such.
- Dawit
| This is an automatically generated e-mail. To reply, visit: http://git.reviewboard.kde.org/r/104179/ |
This review has been submitted with commit 212441d20f21abe2d751ad4283e7035f330d4f23 by Dawit Alemayehu to branch KDE/4.8.
- Commit
On March 10th, 2012, 3:39 p.m., Dawit Alemayehu wrote:
|
Review request for kdelibs and David Faure.
By Dawit Alemayehu.
|
Updated March 10, 2012, 3:39 p.m. Description |