* last change: $Author: mav $ $Date: 2007-11-28 11:15:09 $
* last change: $Author: mav $ $Date: 2007-12-13 10:34:07 $
*
*
* The Contents of this file are made available subject to
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
* the terms of GNU Lesser General Public License Version 2.1.
...
@@ -135,7 +135,7 @@ public class WikiEditSettingDialog extends WikiDialog
...
@@ -135,7 +135,7 @@ public class WikiEditSettingDialog extends WikiDialog
if(sRedirectURL.equals(""))
if(sRedirectURL.equals(""))
{
{
// show error
// show error
ErrorDialoged=newErrorDialog(m_xContext,"vnd.sun.star.script:WikiEditor.Error?location=application","This is not a Wiki Page!");
ErrorDialoged=newErrorDialog(m_xContext,"vnd.sun.star.script:WikiEditor.Error?location=application","A connection to the MediaWiki system at '"+sRedirectURL+"' could not be created.");
ed.show();
ed.show();
}
}
}
}
...
@@ -146,7 +146,7 @@ public class WikiEditSettingDialog extends WikiDialog
...
@@ -146,7 +146,7 @@ public class WikiEditSettingDialog extends WikiDialog
{
{
// a wrong login information is provided
// a wrong login information is provided
// show error
// show error
ErrorDialoged=newErrorDialog(m_xContext,"vnd.sun.star.script:WikiEditor.Error?location=application","The login information is wrong! It should either be empty or correct.");
ErrorDialoged=newErrorDialog(m_xContext,"vnd.sun.star.script:WikiEditor.Error?location=application","User name or password is incorrect. Please try again, or leave the fields blank for an anonymous connection.");
ed.show();
ed.show();
}
}
else
else
...
@@ -166,7 +166,7 @@ public class WikiEditSettingDialog extends WikiDialog
...
@@ -166,7 +166,7 @@ public class WikiEditSettingDialog extends WikiDialog
{
{
// URL invalid
// URL invalid
// show error
// show error
ErrorDialoged=newErrorDialog(m_xContext,"vnd.sun.star.script:WikiEditor.Error?location=application","The URl is invalid!");
ErrorDialoged=newErrorDialog(m_xContext,"vnd.sun.star.script:WikiEditor.Error?location=application","A connection could not be created, because the URL is invalid.");
ed.show();
ed.show();
}
}
}
}
...
@@ -174,7 +174,7 @@ public class WikiEditSettingDialog extends WikiDialog
...
@@ -174,7 +174,7 @@ public class WikiEditSettingDialog extends WikiDialog
{
{
// URL field empty
// URL field empty
// show error
// show error
ErrorDialoged=newErrorDialog(m_xContext,"vnd.sun.star.script:WikiEditor.Error?location=application","The URL field is empty!");
ErrorDialoged=newErrorDialog(m_xContext,"vnd.sun.star.script:WikiEditor.Error?location=application","Specify a MediaWiki server by providing a URL.");
ed.show();
ed.show();
}
}
...
@@ -182,7 +182,7 @@ public class WikiEditSettingDialog extends WikiDialog
...
@@ -182,7 +182,7 @@ public class WikiEditSettingDialog extends WikiDialog
}
}
catch(Exceptionex)
catch(Exceptionex)
{
{
ErrorDialoged=newErrorDialog(m_xContext,"vnd.sun.star.script:WikiEditor.Error?location=application","Can not access the provided URL for any reason!");
ErrorDialoged=newErrorDialog(m_xContext,"vnd.sun.star.script:WikiEditor.Error?location=application","A connection to the MediaWiki system at '"+sRedirectURL+"' could not be created.");
ErrorDialoged=newErrorDialog(m_xContext,"vnd.sun.star.script:WikiEditor.Error?location=application","MediaWiki filter is requered to be able to export!");
ErrorDialoged=newErrorDialog(m_xContext,"vnd.sun.star.script:WikiEditor.Error?location=application","The MediaWiki export filter cannot be found. Choose 'Tools-XML Filter Settings' to install the filter, or use the setup to install the component.");
ed.show();
ed.show();
thrownewcom.sun.star.uno.RuntimeException();
thrownewcom.sun.star.uno.RuntimeException();
}
}
...
@@ -441,6 +442,8 @@ public final class WikiEditorImpl extends WeakBase
...
@@ -441,6 +442,8 @@ public final class WikiEditorImpl extends WeakBase
Helper.SetControlPropInDialog(xDialog,"Label1","Label","A wiki article with the title "+aSendDialog.m_sWikiTitle+" does not exist yet. Do you want to create a new article with that name?");
* last change: $Author: mav $ $Date: 2007-11-28 11:15:31 $
* last change: $Author: mav $ $Date: 2007-12-13 10:34:07 $
*
*
* The Contents of this file are made available subject to
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
* the terms of GNU Lesser General Public License Version 2.1.
...
@@ -305,7 +305,7 @@ public class WikiPropDialog extends WikiDialog{
...
@@ -305,7 +305,7 @@ public class WikiPropDialog extends WikiDialog{
}
}
else
else
{
{
ErrorDialogaED=newErrorDialog(m_xContext,"vnd.sun.star.script:WikiEditor.Error?location=application","The sending process has been stopped. But the wiki-page might be already changed!");
ErrorDialogaED=newErrorDialog(m_xContext,"vnd.sun.star.script:WikiEditor.Error?location=application","The transfer has been interrupted. Please check the integrity of the wiki article.");