}
QTranslator translator;
QString dir = "translations";
- //dir = ":/translations";
+ dir = ":/translations";
#if defined(MEEGO_EDITION_HARMATTAN)
dir = ":/translations";
#endif
#if defined(Q_WS_MAEMO_5)
qputenv("N900_PORTRAIT_SENSORS", "1");
//viewer.setMainQmlFile(QLatin1String("qml/ubi/meego_main.qml"));
- viewer.setSource(QUrl("qrc:///qml/ubi/meego_main.qml"));
- viewer.setOrientation(QmlApplicationViewer::ScreenOrientationLockLandscape);
+ viewer.setSource(QUrl("qrc:///qml/ubi/main.qml"));
+ //viewer.setOrientation(QmlApplicationViewer::ScreenOrientationLockLandscape);
+ viewer.setOrientation(QmlApplicationViewer::ScreenOrientationAuto);
viewer.setGeometry(QRect(0,0,800,480));
#endif
}
function onErr(status) {
- hide()
if(status==401) {
+ hide()
tip.show(qsTr("Ubuntu One authorization has failed. Try once again or check login settings."));
} else if(status==0) {
- tip.show(qsTr("Unable to connect. Check internet connection."));
+ hide()
+ tip.show(qsTr("Unable to connect. Check internet connection and restart application."));
} else {
+ hide()
tip.show(qsTr("Unknown error: ")+status);
}
}
}
BusyIndicator {
+ id: busy
anchors.horizontalCenter: parent.horizontalCenter
running: true
}
}
+ Button {
+ id: close
+ iconSource: "images/close.png"
+ anchors { right: parent.right; top: parent.top; margins: Const.DEFAULT_MARGIN }
+ onButtonClicked: Qt.quit()
+ }
+
Text {
anchors.bottom: ver.top
anchors.horizontalCenter: parent.horizontalCenter
Button {
label: qsTr("Save")
- onButtonClicked: root.getToken()
+ onButtonClicked: {
+ root.getToken();
+ user.closeSoftwareInputPanel();
+ pass.closeSoftwareInputPanel();
+ }
anchors.left: parent.left
}
}
input.text = "";
}
+ onClosed: input.closeSoftwareInputPanel()
+ onCanceled: input.closeSoftwareInputPanel()
+
Rectangle {
id: box
anchors.left: root.left; anchors.right: root.right
border.width: 3
border.color: input.activeFocus ? "black" : "grey"
+ function closeSoftwareInputPanel() {
+ input.focus = false;
+ input.closeSoftwareInputPanel();
+ }
+
TextInput {
id: input
selectByMouse: true
selectionColor: "gray"
onTextChanged: root.textChanged()
+ //focus: true
+
+ Keys.onPressed: {
+ if (event.key == Qt.Key_Enter || event.key == Qt.Key_Return) {
+ closeSoftwareInputPanel();
+ focus = false;
+ dummy.focus = true;
+ }
+ }
- Keys.onReturnPressed: {
- closeSoftwareInputPanel()
- dummy.focus = true
+ onFocusChanged: {
+ if(focus == false) {
+ closeSoftwareInputPanel();
+ }
}
}
parameters.push(toAdd[a]);
}
}
+
+
+
return OAuth.percentEncode(message.method.toUpperCase())
+'&'+ OAuth.percentEncode(OAuth.SignatureMethod.normalizeUrl(URL))
+'&'+ OAuth.percentEncode(OAuth.SignatureMethod.normalizeParameters(parameters));
function registerToken(secrets,user,root)
{
- var url = "https://one.ubuntu.com/oauth/sso-finished-so-get-tokens/" + user;
+ var url = "https://one.ubuntu.com/oauth/sso-finished-so-get-tokens/"+user;
var xhr = oAuthRequest(url,secrets);
xhr.onreadystatechange = function() {
if(xhr.readyState===4) {
function getFiles(secrets,rootNode,root)
{
- var url = "https://one.ubuntu.com/api/file_storage/v1"
- +encodeURI(rootNode)+"/?include_children=true";
+ var url = encodeURI2("https://one.ubuntu.com/api/file_storage/v1"
+ +rootNode+"/?include_children=true");
//console.log("url: "+url);
var xhr = oAuthRequest(url,secrets);
xhr.onreadystatechange = function() {
function renameFile(secrets,resourcePath,targetPath,root)
{
- var url = "https://one.ubuntu.com/api/file_storage/v1"+encodeURI(resourcePath);
- //console.log("url: "+url);
+ var url = encodeURI2("https://one.ubuntu.com/api/file_storage/v1"+resourcePath);
+ console.log("url: "+url);
//console.log("target: "+encodeURI(targetPath));
//console.log("target: "+targetPath);
var xhr = oAuthRequest(url,secrets,"PUT");
function stopPublishing(secrets,resourcePath,root)
{
- var url = "https://one.ubuntu.com/api/file_storage/v1"+encodeURI(resourcePath);
+ var url = encodeURI2("https://one.ubuntu.com/api/file_storage/v1"+resourcePath);
var xhr = oAuthRequest(url,secrets,"PUT");
xhr.setRequestHeader("Content-Type","application/json");
var body = '{"is_public":false}';
function startPublishing(secrets,resourcePath,root)
{
- var url = "https://one.ubuntu.com/api/file_storage/v1"+encodeURI(resourcePath);
+ var url = encodeURI2("https://one.ubuntu.com/api/file_storage/v1"+resourcePath);
var xhr = oAuthRequest(url,secrets,"PUT");
xhr.setRequestHeader("Content-Type","application/json");
var body = '{"is_public":true}';
function newFolder(secrets,resourcePath,root)
{
- var url = "https://one.ubuntu.com/api/file_storage/v1"+encodeURI(resourcePath);
+ var url = encodeURI2("https://one.ubuntu.com/api/file_storage/v1"+resourcePath);
//console.log("url: "+url);
var xhr = oAuthRequest(url,secrets,"PUT");
xhr.setRequestHeader("Content-Type","application/json");
function deleteFile(secrets,resourcePath,root,utils)
{
- var urlA = "https://one.ubuntu.com/api/file_storage/v1"+encodeURI(resourcePath);
+ //var urlA = "https://one.ubuntu.com/api/file_storage/v1"+encodeURI(resourcePath);
var url = "https://one.ubuntu.com/api/file_storage/v1"+resourcePath;
+ var urlA = encodeURI2(url);
+
//console.log("u1.js:delete url="+url);
var auth = oAuthHeader(urlA,secrets,"DELETE");
utils.deleteFile(url,auth);
function getFileContentType(secrets,root,path)
{
//var url = "https://one.ubuntu.com/api/file_storage/v1"+encodeURI(path);
- var url = "https://files.one.ubuntu.com"+encodeURI(path);
+ var url = encodeURI2("https://files.one.ubuntu.com"+path);
//console.log("url: "+url);
var xhr = oAuthRequest(url,secrets,"GET","bytes=0-10");
xhr.onreadystatechange = function() {
function getFileContent(secrets,root,path,folder,size,utils)
{
//var url = "https://one.ubuntu.com/api/file_storage/v1"+encodeURI(path);
-
var url = "https://files.one.ubuntu.com"+path;
- var urlA = "https://files.one.ubuntu.com"+encodeURI(path);
+ var urlA = encodeURI2(url);
var filename = fixFilename(path);
var ffolder = fixFolder(folder);
function uploadFile(secrets,root,path,filename,folder,utils)
{
- //var url = "https://one.ubuntu.com/api/file_storage/v1"+encodeURI(path);
- //var url = "https://files.one.ubuntu.com"+path;
-
var url = "https://files.one.ubuntu.com"+path;
- var urlA = "https://files.one.ubuntu.com"+encodeURI(path);
+ var urlA = encodeURI2(url);
- //console.log("u1.js:uploadFile path=" + path);
//console.log("u1.js:uploadFile url=" + url);
+ //console.log("u1.js:uploadFile urAl=" + urlA);
var ffolder = fixFolder(folder);
var auth = oAuthHeader(urlA,secrets,"PUT");
utils.uploadFile(ffolder,filename,url,auth);
}
-
+function encodeURI2(uri)
+{
+ var uri2 = encodeURI(uri);
+ uri2 = uri2.replace(/\%5B/g, "[");
+ uri2 = uri2.replace(/\%5D/g, "]");
+ return uri2;
+}
ubi (0.9.4-1) unstable; urgency=low
- * Italian translation
- * Support for Meego/Harmattan devices
+ * Italian translation (thanks to Alessandro Pra' contribution)
+ * Initial support for Meego/Harmattan devices
+ * Fix: vkb hiding on 'Enter' key
+ * Fix: support '[' and ']' in files names
- -- Michal Kosciesza <mkiol@o2.pl> Sun, 03 Jun 2012 19:19:01 +0200
+ -- Michal Kosciesza <mkiol@o2.pl> Sun, 10 Jun 2012 19:00:36 +0200
ubi (0.9.3-3) unstable; urgency=low
* Portrait mode for Meego/Harmattan
- * SW keyboard hiding fix for Meego/Harmattan
+ * Vkb hiding fix for Meego/Harmattan
-- Michal Kosciesza <mkiol@o2.pl> Fri, 01 Jun 2012 22:59:59 +0200
rm -f build-stamp configure-stamp
# Add here commands to clean up after the build process.
- $(MAKE) clean
+ # $(MAKE) clean
dh_clean
# dh_perl
# dh_makeshlibs
dh_installdeb
- # dh_shlibdeps # Uncomment this line for use without Qt Creator
+ dh_shlibdeps # Uncomment this line for use without Qt Creator
dh_gencontrol
dh_md5sums
dh_builddeb
--- /dev/null
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+
+
+
+
+configure: configure-stamp
+configure-stamp:
+ dh_testdir
+ qmake PREFIX=/usr # Uncomment this line for use without Qt Creator
+
+ touch configure-stamp
+
+
+build: build-stamp
+
+build-stamp: configure-stamp
+ dh_testdir
+
+ # Add here commands to compile the package.
+ $(MAKE) # Uncomment this line for use without Qt Creator
+ #docbook-to-man debian/ubi.sgml > ubi.1
+
+ touch $@
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp configure-stamp
+
+ # Add here commands to clean up after the build process.
+ $(MAKE) clean
+
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+
+ # Add here commands to install the package into debian/ubi.
+ $(MAKE) INSTALL_ROOT="$(CURDIR)"/debian/ubi install
+
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs
+ dh_installdocs
+ dh_installexamples
+# dh_install
+# dh_installmenu
+# dh_installdebconf
+# dh_installlogrotate
+# dh_installemacsen
+# dh_installpam
+# dh_installmime
+# dh_python
+# dh_installinit
+# dh_installcron
+# dh_installinfo
+ dh_installman
+ dh_link
+ dh_strip
+ dh_compress
+ dh_fixperms
+# dh_perl
+# dh_makeshlibs
+ dh_installdeb
+ # dh_shlibdeps # Uncomment this line for use without Qt Creator
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure
ubi (0.9.4-1) unstable; urgency=low
- * Italian translation
- * Support for Meego/Harmattan devices
+ * Italian translation (thanks to Alessandro Pra' contribution)
+ * Initial support for Meego/Harmattan devices
+ * Fix: vkb hiding on 'Enter' key
+ * Fix: support '[' and ']' in files names
-- Michal Kosciesza <mkiol@o2.pl> Sun, 03 Jun 2012 19:19:01 +0200
ubi (0.9.3-3) unstable; urgency=low
* Portrait mode for Meego/Harmattan
- * SW keyboard hiding fix for Meego/Harmattan
+ * Vkb hiding fix for Meego/Harmattan
-- Michal Kosciesza <mkiol@o2.pl> Fri, 01 Jun 2012 22:59:59 +0200
</message>
<message>
<source>Unable to connect. Check internet connection.</source>
- <translation>Impossibile collegarsi. Controlla la connessione a internet.</translation>
+ <translation type="obsolete">Impossibile collegarsi. Controlla la connessione a internet.</translation>
</message>
<message>
<source>Unknown error: </source>
<source>Connecting...</source>
<translation>Connessione...</translation>
</message>
+ <message>
+ <source>Unable to connect. Check internet connection and restart application.</source>
+ <translation>Impossibile collegarsi. Controlla la connessione a internet.</translation>
+ </message>
</context>
<context>
<name>LoginPage</name>
</message>
<message>
<source><p>An unofficial Ubuntu One app for Maemo 5 and other Qt-enabled platforms.</p><p><small>http://ubi.garage.maemo.org</small></p><p><small>© 2012 Michal Kosciesza</small></p></source>
- <translation><p>Applicazione non ufficiale di Ubuntu One per Maemo 5 e altre piattaforme compatibili con Qt.</p><p><small>http://ubi.garage.maemo.org</small></p><p><small>© 2012 Michal Kosciesza</small></p></translation>
+ <translation type="obsolete"><p>Applicazione non ufficiale di Ubuntu One per Maemo 5 e altre piattaforme compatibili con Qt.</p><p><small>http://ubi.garage.maemo.org</small></p><p><small>© 2012 Michal Kosciesza</small></p></translation>
+ </message>
+ <message>
+ <source><p>An unofficial Ubuntu One app for Maemo/Meego and other Qt-enabled platforms.</p><p><small>http://ubi.garage.maemo.org</small></p><p><small>© 2012 Michal Kosciesza</small></p></source>
+ <translation></translation>
</message>
</context>
<context>
</message>
<message>
<source><p>An unofficial Ubuntu One app for Maemo 5 and other Qt-enabled platforms.</p><p><small>http://ubi.garage.maemo.org</small></p><p><small>© 2012 Michal Kosciesza</small></p></source>
- <translation><p>Applicazione non ufficiale di Ubuntu One per Maemo 5 e altre piattaforme compatibili con Qt.</p><p><small>http://ubi.garage.maemo.org</small></p><p><small>© 2012 Michal Kosciesza</small></p></translation>
+ <translation type="obsolete"><p>Applicazione non ufficiale di Ubuntu One per Maemo 5 e altre piattaforme compatibili con Qt.</p><p><small>http://ubi.garage.maemo.org</small></p><p><small>© 2012 Michal Kosciesza</small></p></translation>
+ </message>
+ <message>
+ <source><p>An unofficial Ubuntu One app for Maemo/Meego and other Qt-enabled platforms.</p><p><small>http://ubi.garage.maemo.org</small></p><p><small>© 2012 Michal Kosciesza</small></p></source>
+ <translation></translation>
</message>
</context>
</TS>
</message>
<message>
<source>User name:</source>
- <translation type="unfinished">Nazwa użytkownika:</translation>
+ <translation>Nazwa użytkownika:</translation>
</message>
<message>
<source>Email:</source>
- <translation type="unfinished">Email:</translation>
+ <translation>Email:</translation>
</message>
<message>
<source>Total storage:</source>
- <translation type="unfinished">Całkowita pojemność:</translation>
+ <translation>Całkowita pojemność:</translation>
</message>
<message>
<source>Account</source>
- <translation type="unfinished">Konto</translation>
+ <translation>Konto</translation>
</message>
<message>
<source>Unable to connect!</source>
</message>
<message>
<source>Used:</source>
- <translation type="unfinished">Wykorzystano:</translation>
+ <translation>Wykorzystano:</translation>
</message>
<message>
<source>Ubuntu One authorization has failed. Try once again or check login settings.</source>
- <translation type="unfinished">Autoryzacja w Ubuntu One nie powiodła się. Spróbuj jeszcze raz lub sprawdź ustawienia logowania.</translation>
+ <translation>Autoryzacja w Ubuntu One nie powiodła się. Spróbuj jeszcze raz lub sprawdź ustawienia logowania.</translation>
</message>
<message>
<source>Unable to connect. Check internet connection.</source>
- <translation type="unfinished">Nie można połączyć z siecią. Sprawadź połączenie z Internetem.</translation>
+ <translation>Nie można połączyć z siecią. Sprawadź połączenie z Internetem.</translation>
</message>
<message>
<source>Unknown error: </source>
- <translation type="unfinished">Nieznany błąd:</translation>
+ <translation>Nieznany błąd:</translation>
</message>
</context>
<context>
<name>DialogYesNo</name>
<message>
<source>Yes</source>
- <translation type="unfinished">Tak</translation>
+ <translation>Tak</translation>
</message>
<message>
<source>No</source>
- <translation type="unfinished">Nie</translation>
+ <translation>Nie</translation>
</message>
</context>
<context>
</message>
<message>
<source>No active downloads or uploads</source>
- <translation type="unfinished">Brak aktywnych pobrań</translation>
+ <translation>Brak aktywnych pobrań</translation>
</message>
<message>
<source>Active downloads and uploads</source>
- <translation type="unfinished">Aktywne pobrania</translation>
+ <translation>Aktywne pobrania</translation>
</message>
</context>
<context>
<name>FilesPage</name>
<message>
<source>Upload file</source>
- <translation type="unfinished">Wyślij nowy plik</translation>
+ <translation>Wyślij nowy plik</translation>
</message>
<message>
<source>Rename</source>
- <translation type="unfinished">Zmień nazwę</translation>
+ <translation>Zmień nazwę</translation>
</message>
<message>
<source>Delete</source>
- <translation type="unfinished">Usuń</translation>
+ <translation>Usuń</translation>
</message>
<message>
<source>New folder</source>
- <translation type="unfinished">Nowy folder</translation>
+ <translation>Nowy folder</translation>
</message>
<message>
<source>Refresh</source>
- <translation type="unfinished">Odśwież</translation>
+ <translation>Odśwież</translation>
</message>
<message>
<source>Root folder can't be renamed!</source>
</message>
<message>
<source>Authorization failed!</source>
- <translation type="unfinished">Autoryzacja nie powiodła się!</translation>
+ <translation>Autoryzacja nie powiodła się!</translation>
</message>
<message>
<source>Error: </source>
- <translation type="unfinished">Błąd:</translation>
+ <translation>Błąd:</translation>
</message>
<message>
<source>Folder renamed!</source>
- <translation type="unfinished">Zmieniono nazwę!</translation>
+ <translation>Zmieniono nazwę!</translation>
</message>
<message>
<source>New folder created!</source>
- <translation type="unfinished">Utworzono folder!</translation>
+ <translation>Utworzono folder!</translation>
</message>
<message>
<source>Folder was deleted!</source>
- <translation type="unfinished">Usunięto folder!</translation>
+ <translation>Usunięto folder!</translation>
</message>
<message>
<source>Delete folder?</source>
- <translation type="unfinished">Czy usunąć folder?</translation>
+ <translation>Czy usunąć folder?</translation>
</message>
<message>
<source>Enter new folder name...</source>
</message>
<message>
<source>Invalid folder name!</source>
- <translation type="unfinished">Nieprawidłowa nazwa folderu!</translation>
+ <translation>Nieprawidłowa nazwa folderu!</translation>
</message>
<message>
<source>Files</source>
- <translation type="unfinished">Pliki</translation>
+ <translation>Pliki</translation>
</message>
<message>
<source>Unable to connect!</source>
</message>
<message>
<source>Enter new folder name:</source>
- <translation type="unfinished">Podaj nową nazwę folderu:</translation>
+ <translation>Podaj nową nazwę folderu:</translation>
</message>
<message>
<source>Folder is empty.</source>
</message>
<message>
<source>Empty</source>
- <translation type="unfinished">Pusty</translation>
+ <translation>Pusty</translation>
</message>
<message>
<source>Root folder cannot be renamed.</source>
- <translation type="unfinished">Nie można zmienić nazwy głównego foldera.</translation>
+ <translation>Nie można zmienić nazwy głównego foldera.</translation>
</message>
<message>
<source>Root folder cannot be deleted.</source>
- <translation type="unfinished">Nie można usunąć głównego foldera.</translation>
+ <translation>Nie można usunąć głównego foldera.</translation>
</message>
<message>
<source>Ubuntu One authorization has failed. Try once again or check login settings.</source>
- <translation type="unfinished">Autoryzacja w Ubuntu One nie powiodła się. Spróbuj jeszcze raz lub sprawdź ustawienia logowania.</translation>
+ <translation>Autoryzacja w Ubuntu One nie powiodła się. Spróbuj jeszcze raz lub sprawdź ustawienia logowania.</translation>
</message>
<message>
<source>Unable to connect. Check internet connection.</source>
- <translation type="unfinished">Nie można połączyć z siecią. Sprawadź połączenie z Internetem.</translation>
+ <translation>Nie można połączyć z siecią. Sprawadź połączenie z Internetem.</translation>
</message>
<message>
<source>Unknown error: </source>
- <translation type="unfinished">Nieznany błąd:</translation>
+ <translation>Nieznany błąd:</translation>
</message>
</context>
<context>
<name>InitPage</name>
<message>
<source>Ubuntu One authorization has failed. Try once again or check login settings.</source>
- <translation type="unfinished">Autoryzacja w Ubuntu One nie powiodła się. Spróbuj jeszcze raz lub sprawdź ustawienia logowania.</translation>
+ <translation>Autoryzacja w Ubuntu One nie powiodła się. Spróbuj jeszcze raz lub sprawdź ustawienia logowania.</translation>
</message>
<message>
<source>Unable to connect. Check internet connection.</source>
- <translation type="unfinished">Nie można połączyć z siecią. Sprawadź połączenie z Internetem.</translation>
+ <translation type="obsolete">Nie można połączyć z siecią. Sprawadź połączenie z Internetem.</translation>
</message>
<message>
<source>Unknown error: </source>
- <translation type="unfinished">Nieznany błąd:</translation>
+ <translation>Nieznany błąd:</translation>
</message>
<message>
<source>Connecting...</source>
- <translation type="unfinished">Łączenie...</translation>
+ <translation>Łączenie...</translation>
+ </message>
+ <message>
+ <source>Unable to connect. Check internet connection and restart application.</source>
+ <translation>Nie można połączyć z siecią. Sprawadź połączenie z Internetem i zrestartuj aplikacje.</translation>
</message>
</context>
<context>
<name>LoginPage</name>
<message>
<source>User ID</source>
- <translation type="unfinished">ID użytkownika</translation>
+ <translation>ID użytkownika</translation>
</message>
<message>
<source>Password</source>
- <translation type="unfinished">Hasło</translation>
+ <translation>Hasło</translation>
</message>
<message>
<source>Save</source>
- <translation type="unfinished">Zapisz</translation>
+ <translation>Zapisz</translation>
</message>
<message>
<source>Logged in!</source>
- <translation type="unfinished">Zalogowany!</translation>
+ <translation>Zalogowany!</translation>
</message>
<message>
<source>Authorization failed!</source>
</message>
<message>
<source>Login</source>
- <translation type="unfinished">Logowanie</translation>
+ <translation>Logowanie</translation>
</message>
<message>
<source>Ubuntu One sign in:</source>
- <translation type="unfinished">Zaloguj się do Ubuntu One:</translation>
+ <translation>Zaloguj się do Ubuntu One:</translation>
</message>
<message>
<source>Unable to connect!</source>
</message>
<message>
<source>Ubuntu One authorization has failed. Try once again or check login settings.</source>
- <translation type="unfinished">Autoryzacja w Ubuntu One nie powiodła się. Spróbuj jeszcze raz lub sprawdź ustawienia logowania.</translation>
+ <translation>Autoryzacja w Ubuntu One nie powiodła się. Spróbuj jeszcze raz lub sprawdź ustawienia logowania.</translation>
</message>
<message>
<source>Unable to connect. Check internet connection.</source>
- <translation type="unfinished">Nie można połączyć z siecią. Sprawadź połączenie z Internetem.</translation>
+ <translation>Nie można połączyć z siecią. Sprawadź połączenie z Internetem.</translation>
</message>
<message>
<source>Unknown error: </source>
- <translation type="unfinished">Nieznany błąd:</translation>
+ <translation>Nieznany błąd:</translation>
</message>
</context>
<context>
<name>PropertiesPage</name>
<message>
<source>Download</source>
- <translation type="unfinished">Pobierz</translation>
+ <translation>Pobierz</translation>
</message>
<message>
<source>Rename</source>
- <translation type="unfinished">Zmień nazwę</translation>
+ <translation>Zmień nazwę</translation>
</message>
<message>
<source>Delete</source>
- <translation type="unfinished">Usuń</translation>
+ <translation>Usuń</translation>
</message>
<message>
<source>Authorization failed!</source>
</message>
<message>
<source>Internal error!</source>
- <translation type="unfinished">Błąd wewnętrzny!</translation>
+ <translation>Błąd wewnętrzny!</translation>
</message>
<message>
<source>File renamed!</source>
- <translation type="unfinished">Zmieniono nazwę!</translation>
+ <translation>Zmieniono nazwę!</translation>
</message>
<message>
<source>File name:</source>
- <translation type="unfinished">Nazwa pliku:</translation>
+ <translation>Nazwa pliku:</translation>
</message>
<message>
<source>Size:</source>
- <translation type="unfinished">Rozmiar:</translation>
+ <translation>Rozmiar:</translation>
</message>
<message>
<source>Created:</source>
- <translation type="unfinished">Utworzono:</translation>
+ <translation>Utworzono:</translation>
</message>
<message>
<source>Changed:</source>
- <translation type="unfinished">Zmieniono:</translation>
+ <translation>Zmieniono:</translation>
</message>
<message>
<source>Delete file?</source>
- <translation type="unfinished">Czy usunąć plik?</translation>
+ <translation>Czy usunąć plik?</translation>
</message>
<message>
<source>Enter new file name...</source>
</message>
<message>
<source>Invalid file name!</source>
- <translation type="unfinished">Nieprawidłowa nazwa pliku!</translation>
+ <translation>Nieprawidłowa nazwa pliku!</translation>
</message>
<message>
<source>File deleted!</source>
- <translation type="unfinished">Usunięto plik!</translation>
+ <translation>Usunięto plik!</translation>
</message>
<message>
<source>File</source>
- <translation type="unfinished">Plik</translation>
+ <translation>Plik</translation>
</message>
<message>
<source>Unable to connect!</source>
</message>
<message>
<source>Enter new file name:</source>
- <translation type="unfinished">Podaj nową nazwę pliku:</translation>
+ <translation>Podaj nową nazwę pliku:</translation>
</message>
<message>
<source>Publish</source>
- <translation type="unfinished">Upublicznij</translation>
+ <translation>Upublicznij</translation>
</message>
<message>
<source>Publishing stopped!</source>
- <translation type="unfinished">Upublicznianie wyłączone!</translation>
+ <translation>Upublicznianie wyłączone!</translation>
</message>
<message>
<source>Publishing started!</source>
- <translation type="unfinished">Upublicznianie włączone!</translation>
+ <translation>Upublicznianie włączone!</translation>
</message>
<message>
<source>Public URL:</source>
- <translation type="unfinished">Publiczny URL:</translation>
+ <translation>Publiczny URL:</translation>
</message>
<message>
<source>Public URL copied to clipboard!</source>
- <translation type="unfinished">Publiczny URL skopiowany!</translation>
+ <translation>Publiczny URL skopiowany!</translation>
</message>
<message>
<source>Stop publishing?</source>
- <translation type="unfinished">Wyłączyć upublicznianie?</translation>
+ <translation>Wyłączyć upublicznianie?</translation>
</message>
<message>
<source>Start publishing?</source>
- <translation type="unfinished">Włączyć upublicznianie?</translation>
+ <translation>Włączyć upublicznianie?</translation>
</message>
<message>
<source>Copy</source>
- <translation type="unfinished">Skopiuj</translation>
+ <translation>Skopiuj</translation>
</message>
<message>
<source>Ubuntu One authorization has failed. Try once again or check login settings.</source>
- <translation type="unfinished">Autoryzacja w Ubuntu One nie powiodła się. Spróbuj jeszcze raz lub sprawdź ustawienia logowania.</translation>
+ <translation>Autoryzacja w Ubuntu One nie powiodła się. Spróbuj jeszcze raz lub sprawdź ustawienia logowania.</translation>
</message>
<message>
<source>Unknown error: </source>
- <translation type="unfinished">Nieznany błąd:</translation>
+ <translation>Nieznany błąd:</translation>
</message>
<message>
<source>Unable to connect. Check internet connection.</source>
- <translation type="unfinished">Nie można połączyć z siecią. Sprawadź połączenie z Internetem.</translation>
+ <translation>Nie można połączyć z siecią. Sprawadź połączenie z Internetem.</translation>
</message>
</context>
<context>
<name>SettingsPage</name>
<message>
<source>Settings</source>
- <translation type="unfinished">Ustawienia</translation>
+ <translation>Ustawienia</translation>
</message>
<message>
<source>Polish</source>
</message>
<message>
<source>Language:</source>
- <translation type="unfinished">Język:</translation>
+ <translation>Język:</translation>
</message>
<message>
<source>Change</source>
- <translation type="unfinished">Zmień</translation>
+ <translation>Zmień</translation>
</message>
<message>
<source>Log out</source>
- <translation type="unfinished">Wyloguj</translation>
+ <translation>Wyloguj</translation>
</message>
<message>
<source>Logged as:</source>
- <translation type="unfinished">Zalogowany jako:</translation>
+ <translation>Zalogowany jako:</translation>
</message>
<message>
<source>Restart application!</source>
- <translation type="unfinished">Zrestartuj aplikacje!</translation>
+ <translation>Zrestartuj aplikacje!</translation>
</message>
<message>
<source>Choose language:</source>
- <translation type="unfinished">Wybierz język:</translation>
+ <translation>Wybierz język:</translation>
</message>
</context>
<context>
<name>TaskMenu</name>
<message>
<source>Account</source>
- <translation type="unfinished">Konto</translation>
+ <translation>Konto</translation>
</message>
<message>
<source>Settings</source>
- <translation type="unfinished">Ustawienia</translation>
+ <translation>Ustawienia</translation>
</message>
<message>
<source>About Ubi</source>
- <translation type="unfinished">O Ubi</translation>
+ <translation>O Ubi</translation>
</message>
</context>
<context>
</message>
<message>
<source><b>Ubi</b></source>
- <translation type="unfinished"><b>Ubi</b></translation>
+ <translation><b>Ubi</b></translation>
</message>
<message>
<source><p>An unofficial Ubuntu One app for Maemo 5 and other Qt-enabled platforms.</p><p><small>http://ubi.garage.maemo.org</small></p><p><small>© 2012 Michal Kosciesza</small></p></source>
- <translation type="unfinished"><p>Nieoficjalna aplikacja Ubuntu One dla Maemo 5 i innych platform obsługujących Qt.</p><p><small>http://ubi.garage.maemo.org</small></p><p><small>© 2012 Michal Kosciesza</small></p></translation>
+ <translation type="obsolete"><p>Nieoficjalna aplikacja Ubuntu One dla Maemo 5 i innych platform obsługujących Qt.</p><p><small>http://ubi.garage.maemo.org</small></p><p><small>© 2012 Michal Kosciesza</small></p></translation>
</message>
<message>
<source>File downloaded.</source>
- <translation type="unfinished">Plik został pobrany.</translation>
+ <translation>Plik został pobrany.</translation>
</message>
<message>
<source>File uploaded.</source>
- <translation type="unfinished">Plik został wysłany.</translation>
+ <translation>Plik został wysłany.</translation>
</message>
<message>
<source>Error while downloading.</source>
- <translation type="unfinished">Błąd podczas pobierania.</translation>
+ <translation>Błąd podczas pobierania.</translation>
</message>
<message>
<source>Error while uploading.</source>
- <translation type="unfinished">Błąd podczas wysyłania.</translation>
+ <translation>Błąd podczas wysyłania.</translation>
</message>
<message>
<source>File added to the queue.</source>
- <translation type="unfinished">Plik dodany do kolejki.</translation>
+ <translation>Plik dodany do kolejki.</translation>
</message>
<message>
<source>File operation canceled.</source>
- <translation type="unfinished">Operacja anulowana.</translation>
+ <translation>Operacja anulowana.</translation>
+ </message>
+ <message>
+ <source><p>An unofficial Ubuntu One app for Maemo/Meego and other Qt-enabled platforms.</p><p><small>http://ubi.garage.maemo.org</small></p><p><small>© 2012 Michal Kosciesza</small></p></source>
+ <translation><p>Nieoficjalna aplikacja Ubuntu One dla Maemo/Meego i innych platform obsługujących Qt.</p><p><small>http://ubi.garage.maemo.org</small></p><p><small>© 2012 Michal Kosciesza</small></p></translation>
</message>
</context>
<context>
<name>meego_main</name>
<message>
<source>File downloaded.</source>
- <translation type="unfinished">Plik został pobrany.</translation>
+ <translation>Plik został pobrany.</translation>
</message>
<message>
<source>File uploaded.</source>
- <translation type="unfinished">Plik został wysłany.</translation>
+ <translation>Plik został wysłany.</translation>
</message>
<message>
<source>Error while downloading.</source>
- <translation type="unfinished">Błąd podczas pobierania.</translation>
+ <translation>Błąd podczas pobierania.</translation>
</message>
<message>
<source>Error while uploading.</source>
- <translation type="unfinished">Błąd podczas wysyłania.</translation>
+ <translation>Błąd podczas wysyłania.</translation>
</message>
<message>
<source>File added to the queue.</source>
- <translation type="unfinished">Plik dodany do kolejki.</translation>
+ <translation>Plik dodany do kolejki.</translation>
</message>
<message>
<source>File operation canceled.</source>
- <translation type="unfinished">Operacja anulowana.</translation>
+ <translation>Operacja anulowana.</translation>
</message>
<message>
<source><b>Ubi</b></source>
- <translation type="unfinished"><b>Ubi</b></translation>
+ <translation><b>Ubi</b></translation>
</message>
<message>
<source><p>An unofficial Ubuntu One app for Maemo 5 and other Qt-enabled platforms.</p><p><small>http://ubi.garage.maemo.org</small></p><p><small>© 2012 Michal Kosciesza</small></p></source>
- <translation type="unfinished"><p>Nieoficjalna aplikacja Ubuntu One dla Maemo 5 i innych platform obsługujących Qt.</p><p><small>http://ubi.garage.maemo.org</small></p><p><small>© 2012 Michal Kosciesza</small></p></translation>
+ <translation type="obsolete"><p>Nieoficjalna aplikacja Ubuntu One dla Maemo 5 i innych platform obsługujących Qt.</p><p><small>http://ubi.garage.maemo.org</small></p><p><small>© 2012 Michal Kosciesza</small></p></translation>
+ </message>
+ <message>
+ <source><p>An unofficial Ubuntu One app for Maemo/Meego and other Qt-enabled platforms.</p><p><small>http://ubi.garage.maemo.org</small></p><p><small>© 2012 Michal Kosciesza</small></p></source>
+ <translation><p>Nieoficjalna aplikacja Ubuntu One dla Maemo/Meego i innych platform obsługujących Qt.</p><p><small>http://ubi.garage.maemo.org</small></p><p><small>© 2012 Michal Kosciesza</small></p></translation>
</message>
</context>
</TS>
# Add more folders to ship with the application, here
-folder_01.source = qml/ubi
-folder_01.target = qml
-DEPLOYMENTFOLDERS = folder_01
+#folder_01.source = qml/ubi
+#folder_01.target = qml
+#DEPLOYMENTFOLDERS = folder_01
-folder_02.source = translations/ubi.pl.qm
-folder_02.target = translations
-DEPLOYMENTFOLDERS += folder_02
+#folder_02.source = translations/ubi.pl.qm
+#folder_02.target = translations
+#DEPLOYMENTFOLDERS += folder_02
-folder_03.source = translations/ubi.it.qm
-folder_03.target = translations
-DEPLOYMENTFOLDERS += folder_03
+#folder_03.source = translations/ubi.it.qm
+#folder_03.target = translations
+#DEPLOYMENTFOLDERS += folder_03
# Additional import path used to resolve QML modules in Creator's code model
QML_IMPORT_PATH =
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE QtCreatorProject>
-<!-- Written by Qt Creator 2.4.1, 2012-06-08T14:51:24. -->
+<!-- Written by Qt Creator 2.4.1, 2012-06-10T21:36:59. -->
<qtcreator>
<data>
<variable>ProjectExplorer.Project.ActiveTarget</variable>
- <value type="int">0</value>
+ <value type="int">4</value>
</data>
<data>
<variable>ProjectExplorer.Project.EditorSettings</variable>
<value type="QDateTime">2012-04-28T10:41:48</value>
<value type="QDateTime">2012-05-03T18:56:53</value>
<value type="QDateTime">2012-06-02T12:03:04</value>
- <value type="QDateTime">2012-06-03T20:34:05</value>
+ <value type="QDateTime">2012-06-10T21:25:35</value>
<value type="QDateTime">2012-05-05T14:55:15</value>
<value type="QDateTime">2012-05-18T21:37:42</value>
</valuelist>
<value type="QString">/home/mkiol/dev/Qt/ubi-build-harmattan-Harmattan_Target_-_QEmu_PR1_0__Qt_SDK__Release/ubi_0.9.1-2_armel.deb</value>
<value type="QString">/home/mkiol/dev/Qt/ubi-build-harmattan-Harmattan_Target_-_QEmu_PR1_2__Qt_SDK__Release/ubi_0.9.3-3_armel.deb</value>
<value type="QString">/home/mkiol/dev/Qt/ubi-build-harmattan-Harmattan_Target_-_QEmu_PR1_0__Qt_SDK__Release/ubi_0.9.3-3_armel.deb</value>
+ <value type="QString">/home/mkiol/dev/Qt/ubi-build-harmattan-Harmattan_Target_-_QEmu_PR1_0__Qt_SDK__Release/ubi_0.9.4-1_armel.deb</value>
</valuelist>
<valuelist type="QVariantList" key="Qt4ProjectManager.MaemoRunConfiguration.LastDeployedHosts">
<value type="QString">localhost</value>
<value type="QString">localhost</value>
<value type="QString">localhost</value>
<value type="QString">localhost</value>
+ <value type="QString">localhost</value>
</valuelist>
<valuelist type="QVariantList" key="Qt4ProjectManager.MaemoRunConfiguration.LastDeployedRemotePaths">
<value type="QString"></value>
<value type="QString"></value>
<value type="QString"></value>
<value type="QString"></value>
+ <value type="QString"></value>
</valuelist>
<valuelist type="QVariantList" key="Qt4ProjectManager.MaemoRunConfiguration.LastDeployedTimes">
<value type="QDateTime">2012-06-01T22:31:33</value>
<value type="QDateTime">2012-05-04T14:25:52</value>
<value type="QDateTime">2012-06-01T23:55:18</value>
<value type="QDateTime">2012-06-02T12:58:48</value>
+ <value type="QDateTime">2012-06-10T20:18:05</value>
</valuelist>
</valuemap>
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">3</value>
<file>qml/ubi/components/DialogBox.qml</file>
<file>qml/ubi/components/DialogCombo.qml</file>
<file>qml/ubi/components/DialogInfo.qml</file>
- <file>qml/ubi/components/DialogInput.qml</file>
<file>qml/ubi/components/DialogYesNo.qml</file>
<file>qml/ubi/components/File.qml</file>
<file>qml/ubi/components/FileSmall.qml</file>
<file>qml/ubi/TopBar.qml</file>
<file>qml/ubi/u1.js</file>
<file>qml/ubi/UIConstants.js</file>
+ <file>qml/ubi/components/DialogInput.qml</file>
<file>translations/ubi.it.qm</file>
<file>translations/ubi.it.ts</file>
<file>translations/ubi.pl.qm</file>
QUrl url(data.url);
QNetworkRequest req(url);
+ //qDebug() << "Authorization: " << data.auth;
+ //qDebug() << "Url: " << url.toEncoded();
req.setRawHeader("Authorization", data.auth.toAscii());
if(data.isDownload)
</p>
<h1>Devices</h1>
-<p>At the moment Ubi is available only for <strong>Nokia N900</strong>.</p>
+<p>At the moment Ubi is available for <strong>Nokia N900</strong> and <strong>Nokia N9</strong>.</p>
-<p>In <a href="https://garage.maemo.org/frs/?group_id=2327">Download</a> section also an experimental releases for <strong>Symbian</strong> and <strong>Nokia N9</strong> were published. Please note that these apps have not been tested on real devices.</p>
+<p>In <a href="https://garage.maemo.org/frs/?group_id=2327">Download</a> section also an experimental releases for <strong>Symbian</strong> were published. Please note that these apps have not been tested on real devices.</p>
<h1>Download</h1>
<p>The latest release is version <strong>0.9.4-1</strong></p>
margin: 20px;
}
</style>
+<script type="text/javascript">
+
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-32503867-1']);
+ _gaq.push(['_trackPageview']);
+
+ (function() {
+ var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+ })();
+
+</script>
</head>
<body>
<html>
<head>
+<meta name="google-site-verification" content="4BCkc18HpbaqGMPerUI_EwkOttI0NzkeH2yhpRySHfA" />
<title>Ubi: an unofficial Ubuntu One app for Maemo/Meego (Nokia N900 & N9) and other Qt-enabled
platforms</title>
<style type="text/css">
body {
background-color: #dd4814;
color: white;
- margin: 0;
+ margin: 0; padding: 0; border: 0;
font-family: "Ubuntu", Arial, sans-serif;
font-size:14px;
max-width: 800px;
}
div#head {
font-size:40px;
- margin: 20px;
+ margin-left: 20px;
+ position: absolute;
+ margin: 0; padding: 0; border: 0;
+ top: 0; left: 0;
/*border-bottom: 2px solid black;
background-color: #77216f;*/
}
#head img {
- border: 0;
- margin: 10px;
+ border: 0; padding: 0; margin: 0;
+ /*margin: 10px;*/
vertical-align:middle;
}
+div#top {
+ background-color: #77216F;
+ height: 10px;
+}
div#content {
margin: 20px;
+ padding-top: 150px;
}
</style>
</head>
<body>
<div id="head">
+<div id="top"></div>
<img src="ubi100.png" alt="Ubi logo" height="70" width="104"/> Ubi
+<h1>An unofficial Ubuntu One app for Maemo/Meego and other Qt-enabled
+platforms</h1>
</div>
<div id="content">
-<h1>An unofficial Ubuntu One app for Maemo/Meego and other Qt-enabled
-platforms</h1>
<br/>
<h1>Features</h1>
<br/>
<h1>Screenshots</h1>
<div id="screenshots">
-<a href="big/screenshot001.png"><img src="screenshot001.png"/></a>
-<a href="big/screenshot002.png"><img src="screenshot002.png"/></a>
<a href="big/screenshot003.png"><img src="screenshot003.png"/></a>
-<a href="big/screenshot004.png"><img src="screenshot004.png"/></a>
-<a href="big/screenshot005.png"><img src="screenshot005.png"/></a>
<a href="big/screenshot006.png"><img src="screenshot006.png"/></a>
</div>
© 2012 Michal Kosciesza
--- /dev/null
+<html>
+<head>
+<meta name="google-site-verification" content="4BCkc18HpbaqGMPerUI_EwkOttI0NzkeH2yhpRySHfA" />
+<title>Ubi: an unofficial Ubuntu One app for Maemo/Meego (Nokia N900 & N9) and other Qt-enabled
+platforms</title>
+<style type="text/css">
+body {
+ background-color: #dd4814;
+ color: white;
+ margin: 0; padding: 0; border: 0;
+ font-family: "Ubuntu", Arial, sans-serif;
+ font-size:14px;
+ max-width: 800px;
+}
+h1 {
+ font-size:18px;
+ font-weight:bold;
+}
+h2 {
+ font-size:14px;
+ font-weight:bold;
+}
+h3 {
+ font-size:14px;
+ font-weight:bold;
+}
+a {
+ color: white;
+ text-decoration: none;
+ border-bottom: 1px dotted white;
+}
+#screenshots a {
+ text-decoration: none;
+ border: 0
+}
+ul {
+ list-style: square;
+}
+p {
+ margin: 10px;
+ margin-bottom: 20px;
+ font-size:14px;
+}
+img {
+ border-right: 1px solid black;
+ border-bottom: 1px solid black;
+ border: 1px solid black;
+ margin: 10px
+}
+div#head {
+ font-size:40px;
+ margin-left: 20px;
+ position: absolute;
+ margin: 0; padding: 0; border: 0;
+ x: 0; y: 0;
+ /*border-bottom: 2px solid black;
+ background-color: #77216f;*/
+}
+#head img {
+ border: 0; padding: 0; margin: 0;
+ /*margin: 10px;*/
+ vertical-align:middle;
+}
+div#top {
+ background-color: #77216F;
+ height: 10px;
+}
+div#content {
+ margin: 20px;
+ padding-top: 150px;
+}
+</style>
+</head>
+<body>
+
+<div id="head">
+<div id="top"></div>
+<img src="ubi100.png" alt="Ubi logo" height="70" width="104"/> Ubi
+<h1>An unofficial Ubuntu One app for Maemo/Meego and other Qt-enabled
+platforms</h1>
+</div>
+
+<div id="content">
+
+<br/>
+
+<h1>Features</h1>
+<p>
+Ubi provides access to Ubuntu One cloud service. Initial
+version supports:</p>
+<ul>
+<li>file downloading</li>
+<li>file uploading</li>
+<li>file/folder deletion</li>
+<li>file/folder renaming</li>
+<li>folder creation</li>
+<li>file publishing</li>
+<li>account data view (e.g. free space)</li>
+</ul>
+<p>
+The plan is to provide other cloud features in future such as Notes and
+Contacts synchronization.
+</p>
+
+<h1>Devices</h1>
+<p>At the moment Ubi is available for <strong>Nokia N900</strong> and <strong>Nokia N9</strong>.</p>
+
+<p>In <a href="https://garage.maemo.org/frs/?group_id=2327">Download</a> section also an experimental releases for <strong>Symbian</strong> were published. Please note that these apps have not been tested on real devices.</p>
+
+<h1>Download</h1>
+<p>The latest release is version <strong>0.9.4-1</strong></p>
+<h2>Nokia N900</h2>
+<p>The application can be downloaded via the Application Manager under the
+Network section if you have the <i>extras-devel</i> repository enabled.</p>
+<p><a href="http://wiki.maemo.org/Extras-devel">Here</a> you can find instructions on how to enable <i>extras-devel</i> on Nokia N900.
+</p>
+<h2>Other devices</h2>
+<p>Find the right package in <a href="https://garage.maemo.org/frs/?group_id=2327">Download</a> section.</p>
+
+<h1>Links</h1>
+<ul>
+<li><a href="https://garage.maemo.org/projects/ubi">Project Info page @garage</a></li>
+<li><a href="http://maemo.org/packages/view/ubi/">Ubi package @maemo.org</a></li>
+<li><a href="https://garage.maemo.org/tracker/?group_id=2327">Feedback, Bug reports, feature requests</a></li>
+<li><a href="https://garage.maemo.org/frs/?group_id=2327">Downloads</a></li>
+</ul>
+<br/>
+<h1>Screenshots</h1>
+<div id="screenshots">
+<a href="big/screenshot003.png"><img src="screenshot003.png"/></a>
+<a href="big/screenshot006.png"><img src="screenshot006.png"/></a>
+</div>
+© 2012 Michal Kosciesza
+</div>
+
+<div id="foot">
+<div>
+
+</body>
+</html>