[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: playground/pim/kblogger/src
From: Andrew Coles <andrew_coles () yahoo ! co ! uk>
Date: 2009-03-29 16:44:26
Message-ID: 1238345066.930194.9243.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 946560 by coles:
Proof-reading.
M +3 -3 backend/backend.cpp
M +3 -3 backend/blogjobqueue.cpp
M +2 -2 backend/bloglist.cpp
M +2 -2 composer/composer.cpp
M +4 -4 composer/composereditor.cpp
M +1 -1 composer/linkdialogbase.ui
M +1 -1 composer/weblogstylegetter.cpp
M +1 -1 media/imagemanager.cpp
M +1 -1 media/imagemanagerbase.ui
M +4 -4 media/importmediawidget.cpp
M +3 -3 media/importmediawidgetbase.ui
M +1 -1 media/uploadmediadialogbase.ui
M +4 -4 profiles/profileconfigdialog.cpp
--- trunk/playground/pim/kblogger/src/backend/backend.cpp #946559:946560
@@ -214,7 +214,7 @@
if ( kbPost->hasPendingMedia() ) {
KMessageBox::sorry( caller ,
- i18n("This post cannot be uploaded. Upload its media first"));
+ i18n("This post cannot be uploaded. Upload its media first."));
return;
}
@@ -271,7 +271,7 @@
if ( kbPost->hasPendingMedia() ) {
KMessageBox::sorry( caller ,
- i18n("This post cannot be uploaded. Upload its media first"));
+ i18n("This post cannot be uploaded. Upload its media first."));
return;
}
@@ -317,7 +317,7 @@
if ( mJobsQueue->addJob(job) )
emit statusBarMessage( i18n("New Media upload enqueued in the job list.") );
else
- emit statusBarMessage( i18n("It is impossible to enqueue this new media.") \
); + emit statusBarMessage( i18n("It is impossible to enqueue these new \
media.") ); }
void Backend::sync()
--- trunk/playground/pim/kblogger/src/backend/blogjobqueue.cpp #946559:946560
@@ -60,7 +60,7 @@
if (mIsRunning) {
kError() << "The job queue runs already." << endl;
- emit error( i18n("The job queue runs already.") );
+ emit error( i18n("The job queue is already running.") );
return;
}
@@ -112,10 +112,10 @@
QString msg;
switch( currentJob->action() ){
case BlogJob::LIST_RECENT_POSTS:
- msg = i18n("Listing recents posts.");
+ msg = i18n("Listing recent posts.");
break;
case BlogJob::LIST_CATEGORIES:
- msg = i18n("Listing Categories.");
+ msg = i18n("Listing categories.");
break;
case BlogJob::CREATE_POST:
msg = i18n("Creating post.");
--- trunk/playground/pim/kblogger/src/backend/bloglist.cpp #946559:946560
@@ -168,7 +168,7 @@
blogHash["api"] = "Blogger1";
blogHash["sitename"] = "General XML-RPC Gateway";
-blogHash["configInfo"] = i18n( "For autoconfigure to work correctly you need to \
insert the URL to your blog's homepage and not the XML-RPC gateway.\n Otherwise this \
is your personal undetectable XML-RPC installation.\n We assume Blogger API 1.0 for \
now. If you are confident that your server supports more than that, chose Wordpress \
as type." ); +blogHash["configInfo"] = i18n( "For autoconfigure to work correctly \
you need to insert the URL to your blog's homepage and not the XML-RPC \
gateway.\nOtherwise, this is your personal undetectable XML-RPC installation.\nWe \
assume Blogger API 1.0 for now. If you are confident that your server supports more \
than that, choose Wordpress as type." ); blogHash["hasUserProfiles"] = false;
blogHash["hasTitleSupport"] = true;
blogHash["hasCategorySupport"] = true;
@@ -193,4 +193,4 @@
blogHash.clear();
return blogList;
-}
\ No newline at end of file
+}
--- trunk/playground/pim/kblogger/src/composer/composer.cpp #946559:946560
@@ -233,7 +233,7 @@
CategoryComboBox->insertItem (0, name );
}
- mBackend->slotStatusBarMessage(i18n("Loaded %1 categories...", \
categoriesNumber)); + mBackend->slotStatusBarMessage(i18np("Loaded 1 \
category...","Loaded %1 categories...", categoriesNumber)); file.close();
}
return true;
@@ -422,7 +422,7 @@
fillCategoriesWidgets(&categories);
- mBackend->slotStatusBarMessage(i18n("Retrieved %1 categories from your blog...", \
categories.count())); + mBackend->slotStatusBarMessage(i18np("Retrieved 1 category \
from your blog...","Retrieved %1 categories from your blog...", categories.count())); \
//Saving categories;
saveCategories(mBlogname, &categories);
--- trunk/playground/pim/kblogger/src/composer/composereditor.cpp #946559:946560
@@ -142,13 +142,13 @@
//FontWeight Menu & Actions
fontSizeMoreAction = new KAction (KIcon("format-font-size-more"),
- i18n("font size more"), this);
+ i18n("larger font size"), this);
mActionCollection->addAction("format-font-size-more", fontSizeMoreAction);
connect(fontSizeMoreAction, SIGNAL( triggered()), this, SLOT( fontSizeMore() ));
mToolBar->addAction(fontSizeMoreAction);
fontSizeLessAction = new KAction (KIcon("format-font-size-less"),
- i18n("font size less"), this);
+ i18n("smaller font size"), this);
mActionCollection->addAction("format-font-size-less", fontSizeLessAction);
connect(fontSizeLessAction, SIGNAL(triggered()), this, SLOT( fontSizeLess() ));
mToolBar->addAction(fontSizeLessAction);
@@ -187,7 +187,7 @@
mToolBar->addAction(addHtmlAction);
//Visual Editor Spell Checker Action
- spellCheckAction = new KAction (KIcon("tools-check-spelling"), i18n("check \
spell"), this); + spellCheckAction = new KAction (KIcon("tools-check-spelling"), \
i18n("check spelling"), this); mActionCollection->addAction("checkSpell", \
addLinkAction);
connect(spellCheckAction, SIGNAL(triggered()), this, SLOT(spellchecking()));
mToolBar->addAction(spellCheckAction);
@@ -390,7 +390,7 @@
QString code;
QRegExp testRegExp("(<[^<]*>)([^<]*)(</[^<]*>)");
QValidator* validator = new QRegExpValidator(testRegExp, this);
- code = KInputDialog::getText(i18n("KBlogger - Visual Editor"), i18n("Insert here \
your HTML code:"), "<tag>"+i18n("text")+"</tag>", 0, this, validator); + code = \
KInputDialog::getText(i18n("KBlogger - Visual Editor"), i18n("Insert your HTML code \
here:"), "<tag>"+i18n("text")+"</tag>", 0, this, validator); \
mVisualTextEditor->insertHtml(code); }
--- trunk/playground/pim/kblogger/src/composer/linkdialogbase.ui #946559:946560
@@ -13,7 +13,7 @@
<item row="0" column="0" >
<widget class="QLabel" name="label" >
<property name="text" >
- <string>Enter the Link Target and the Name that will be displayed and press Ok \
to Add the new Link in your post.</string> + <string>Enter the Link Target and \
the Name that will be displayed, then press OK to add the new link to your \
post.</string> </property>
</widget>
</item>
--- trunk/playground/pim/kblogger/src/composer/weblogstylegetter.cpp #946559:946560
@@ -133,7 +133,7 @@
kDebug();
if ( job->error() ) {
KMessageBox::error( mParent,
- i18n("Impossible to get html file,%1", \
job->errorString())); + i18n("Impossible to get html file, \
%1", job->errorString())); return;
}
QByteArray httpData( qobject_cast<KIO::StoredTransferJob*>(job)->data() );
--- trunk/playground/pim/kblogger/src/media/imagemanager.cpp #946559:946560
@@ -62,7 +62,7 @@
infoWidthLabel->setText(i18n("Width: %1", mImage->width()));
infoDepthLabel->setText(i18n("Depth: %1", mImage->depth()));
- infoGraysLabel->setText(i18n("GreyScale: %1", mImage->isGrayscale() ));
+ infoGraysLabel->setText(i18n("Grayscale: %1", mImage->isGrayscale() ));
infoTransLabel->setText(i18n("Transparency: %1", mImage->hasAlphaChannel() ));
}
--- trunk/playground/pim/kblogger/src/media/imagemanagerbase.ui #946559:946560
@@ -111,7 +111,7 @@
<item row="4" column="0" >
<widget class="QLabel" name="infoGraysLabel" >
<property name="text" >
- <string>GrayScale:</string>
+ <string>Grayscale:</string>
</property>
<property name="wordWrap" >
<bool>false</bool>
--- trunk/playground/pim/kblogger/src/media/importmediawidget.cpp #946559:946560
@@ -84,7 +84,7 @@
if ( ignoredUrls.contains(imageUrl, Qt::CaseInsensitive) ) {
blackListedUrls++;
- blacklistLabel->setText(i18n("There are %1 imageUrls blacklisted not showed \
here.", blackListedUrls)); + blacklistLabel->setText(i18np("A black-listed \
image URL is not showed here.", "There are %1 black-listed image URLs not showed \
here.", blackListedUrls)); return false;
}
@@ -168,7 +168,7 @@
// TODO check the cases for this event
if ( mediaData.isEmpty() ) {
item->setIcon(fileName_coloumn, KIcon("dialog-cancel") );
- item->setText(status_coloumn, i18n("Read-Error. The media is empty.") );
+ item->setText(status_coloumn, i18n("Read-Error. The media are empty.") );
kError() << "Read-Error: The media is empty.";
jobsMap.remove( job );
delete job;
@@ -196,7 +196,7 @@
//Test: media Size < 1Mb TODO make this depending on blog implementation \
(feature map) if ( (mediaData.count() / 1024) > 1024 ) { //Max 1 Mb
item->setIcon(fileName_coloumn, KIcon("dialog-cancel") );
- item->setText(status_coloumn, i18n("Size > 1Mb: Url Blacklisted"));
+ item->setText(status_coloumn, i18n("Size > 1Mb: URL black-listed"));
ItemsManager::self()->addToIgnoredMediaUrls( mediaUrl, blogname );
jobsFinished();
return;
@@ -204,7 +204,7 @@
if ( mediaMimetype == "text/html" ) {
item->setIcon(fileName_coloumn, KIcon("dialog-cancel") );
- item->setText(status_coloumn, i18n("Error 404: Url blacklisted"));
+ item->setText(status_coloumn, i18n("Error 404: URL black-listed"));
ItemsManager::self()->addToIgnoredMediaUrls( mediaUrl, blogname );
jobsFinished();
return;
--- trunk/playground/pim/kblogger/src/media/importmediawidgetbase.ui #946559:946560
@@ -16,7 +16,7 @@
<item row="0" column="0" >
<widget class="QLabel" name="label" >
<property name="text" >
- <string>Click OK to import this media in KBlogger</string>
+ <string>Click OK to import these media in KBlogger</string>
</property>
<property name="scaledContents" >
<bool>true</bool>
@@ -35,7 +35,7 @@
</column>
<column>
<property name="text" >
- <string>Url</string>
+ <string>URL</string>
</property>
</column>
<column>
@@ -58,7 +58,7 @@
<item row="2" column="0" >
<widget class="QLabel" name="blacklistLabel" >
<property name="text" >
- <string>No blacklisted media urls here.</string>
+ <string>No black-listed media URLs here.</string>
</property>
</widget>
</item>
--- trunk/playground/pim/kblogger/src/media/uploadmediadialogbase.ui #946559:946560
@@ -20,7 +20,7 @@
<widget class="QLabel" name="label" >
<property name="text" >
<string>Select a file to upload, and press OK to add it to the KBlogger queue. \
-A local media will be created.
+Local media will be created.
It will be uploaded when you synchronize KBlogger with your blog.
</string>
</property>
--- trunk/playground/pim/kblogger/src/profiles/profileconfigdialog.cpp #946559:946560
@@ -133,7 +133,7 @@
kDebug()<< "fill in the username first";
kcfg_User->setFocus();
KMessageBox::sorry( this,
- i18n("You need to set the username, password and url of your blog."));
+ i18n("You need to set the username, password and URL of your blog."));
return;
}
@@ -141,7 +141,7 @@
kDebug()<< "fill in the password first";
passwordLineEdit->setFocus();
KMessageBox::sorry( this,
- i18n("You need to set the username, password and url of your blog."));
+ i18n("You need to set the username, password and URL of your blog."));
return;
}
@@ -149,7 +149,7 @@
kDebug()<< "fill in the url first";
kcfg_Url->setFocus();
KMessageBox::sorry( this,
- i18n("You need to set the username, password and url of your blog."));
+ i18n("You need to set the username, password and URL of your blog."));
return;
}
@@ -387,7 +387,7 @@
else {
mAutoconfigureButton->setEnabled( true );
KMessageBox::error( this,
- i18n("Impossible to get the API. Check your settings, \
especially the url.")); + i18n("Impossible to get the API. \
Check your settings, especially the URL.")); }
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic