Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix typos, clarify language #218

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ A simple GUI for [Linux OneDrive Client](https://github.com/abraunegg/onedrive)
python3 OneDriveGUI.py
```

Optionally, you can detach the GUI from terminal by using the bellow command:
Optionally, you can detach the GUI from terminal by using the below command:
```sh
cd src/
nohup python3 OneDriveGUI.py > /dev/null 2>&1&
Expand Down
6 changes: 3 additions & 3 deletions src/ui/external_login.ui
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<item>
<widget class="QLabel" name="label_1">
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p align=&quot;center&quot;&gt;&lt;span style=&quot; font-weight:700; text-decoration: underline;&quot;&gt;OneDrive login has been requested&lt;/span&gt;&lt;/p&gt;&lt;p&gt;You will be asked to open a specific URL by using your web browser where you will have to login into your Microsoft Account and give &lt;br/&gt;OneDrive client the permission to access your files. &lt;/p&gt;&lt;p&gt;After giving permission to OneDrive client, you will be redirected to a blank page. Copy the URI of the blank page into the bellow field.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p align=&quot;center&quot;&gt;&lt;span style=&quot; font-weight:700; text-decoration: underline;&quot;&gt;OneDrive login has been requested&lt;/span&gt;&lt;/p&gt;&lt;p&gt;You will be asked to open a specific URL by using your web browser where you will have to login into your Microsoft Account and give &lt;br/&gt;OneDrive client the permission to access your files. &lt;/p&gt;&lt;p&gt;After giving permission to OneDrive client, you will be redirected to a blank page. Copy the URI of the blank page into the below field.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
</widget>
</item>
Expand All @@ -42,7 +42,7 @@
<string notr="true"/>
</property>
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;1)Login to OneDrive in your browser by &lt;a href=&quot;https://login.microsoftonline.com/common/oauth2/v2.0/authorize?client_id=d50ca740-c83f-4d1b-b616-12c519384f0c&amp;amp;scope=Files.ReadWrite%20Files.ReadWrite.all%20Sites.Read.All%20Sites.ReadWrite.All%20offline_access&amp;amp;response_type=code&amp;amp;prompt=login&amp;amp;redirect_uri=https://login.microsoftonline.com/common/oauth2/nativeclient&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#5e81ac;&quot;&gt;clicking this link.&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;2)Copy the response URI from your browser's address bar to the bellow field. &lt;/p&gt;&lt;p&gt;3)Press Save.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;1) Login to OneDrive in your browser by &lt;a href=&quot;https://login.microsoftonline.com/common/oauth2/v2.0/authorize?client_id=d50ca740-c83f-4d1b-b616-12c519384f0c&amp;amp;scope=Files.ReadWrite%20Files.ReadWrite.all%20Sites.Read.All%20Sites.ReadWrite.All%20offline_access&amp;amp;response_type=code&amp;amp;prompt=login&amp;amp;redirect_uri=https://login.microsoftonline.com/common/oauth2/nativeclient&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#5e81ac;&quot;&gt;clicking this link.&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;2) Copy the response URI from your browser's address bar into the below field. &lt;/p&gt;&lt;p&gt;3) Press Save.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
</widget>
</item>
Expand All @@ -52,7 +52,7 @@
<item>
<widget class="QPushButton" name="pushButton_login">
<property name="text">
<string>Login</string>
<string>Save</string>
</property>
</widget>
</item>
Expand Down
6 changes: 3 additions & 3 deletions src/ui/ui_external_login.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ def setupUi(self, ExternalLoginWindow):

def retranslateUi(self, ExternalLoginWindow):
ExternalLoginWindow.setWindowTitle(QCoreApplication.translate("ExternalLoginWindow", u"Form", None))
self.label_1.setText(QCoreApplication.translate("ExternalLoginWindow", u"<html><head/><body><p align=\"center\"><span style=\" font-weight:700; text-decoration: underline;\">OneDrive login has been requested</span></p><p>You will be asked to open a specific URL by using your web browser where you will have to login into your Microsoft Account and give <br/>OneDrive client the permission to access your files. </p><p>After giving permission to OneDrive client, you will be redirected to a blank page. Copy the URI of the blank page into the bellow field.</p></body></html>", None))
self.label_2.setText(QCoreApplication.translate("ExternalLoginWindow", u"<html><head/><body><p>1)Login to OneDrive in your browser by <a href=\"https://login.microsoftonline.com/common/oauth2/v2.0/authorize?client_id=d50ca740-c83f-4d1b-b616-12c519384f0c&amp;scope=Files.ReadWrite%20Files.ReadWrite.all%20Sites.Read.All%20Sites.ReadWrite.All%20offline_access&amp;response_type=code&amp;prompt=login&amp;redirect_uri=https://login.microsoftonline.com/common/oauth2/nativeclient\"><span style=\" text-decoration: underline; color:#5e81ac;\">clicking this link.</span></a></p><p>2)Copy the response URI from your browser's address bar to the bellow field. </p><p>3)Press Save.</p></body></html>", None))
self.pushButton_login.setText(QCoreApplication.translate("ExternalLoginWindow", u"Login", None))
self.label_1.setText(QCoreApplication.translate("ExternalLoginWindow", u"<html><head/><body><p align=\"center\"><span style=\" font-weight:700; text-decoration: underline;\">OneDrive login has been requested</span></p><p>You will be asked to open a specific URL by using your web browser where you will have to login into your Microsoft Account and give <br/>OneDrive client the permission to access your files. </p><p>After giving permission to OneDrive client, you will be redirected to a blank page. Copy the URI of the blank page into the below field.</p></body></html>", None))
self.label_2.setText(QCoreApplication.translate("ExternalLoginWindow", u"<html><head/><body><p>1) Login to OneDrive in your browser by <a href=\"https://login.microsoftonline.com/common/oauth2/v2.0/authorize?client_id=d50ca740-c83f-4d1b-b616-12c519384f0c&amp;scope=Files.ReadWrite%20Files.ReadWrite.all%20Sites.Read.All%20Sites.ReadWrite.All%20offline_access&amp;response_type=code&amp;prompt=login&amp;redirect_uri=https://login.microsoftonline.com/common/oauth2/nativeclient\"><span style=\" text-decoration: underline; color:#5e81ac;\">clicking this link.</span></a></p><p>2) Copy the response URI from your browser's address bar into the below field. </p><p>3) Press Save.</p></body></html>", None))
self.pushButton_login.setText(QCoreApplication.translate("ExternalLoginWindow", u"Save", None))
# retranslateUi