Merge pull request #1339 from annando/no-gs-import

GNU-Social import is removed
This commit is contained in:
Hypolite Petovan 2022-12-21 17:53:13 -05:00 committed by GitHub
commit 84fd663a56
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 43 additions and 1071 deletions

View file

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: \n" "Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-11-21 19:17-0500\n" "POT-Creation-Date: 2022-12-21 22:32+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -17,30 +17,30 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
#: statusnet.php:97 #: statusnet.php:76
msgid "Post to GNU Social" msgid "Post to GNU Social"
msgstr "" msgstr ""
#: statusnet.php:148 #: statusnet.php:122
msgid "" msgid ""
"Please contact your site administrator.<br />The provided API URL is not " "Please contact your site administrator.<br />The provided API URL is not "
"valid." "valid."
msgstr "" msgstr ""
#: statusnet.php:176 #: statusnet.php:150
msgid "We could not contact the GNU Social API with the Path you entered." msgid "We could not contact the GNU Social API with the Path you entered."
msgstr "" msgstr ""
#: statusnet.php:243 statusnet.php:656 #: statusnet.php:208 statusnet.php:489
msgid "Save Settings" msgid "Save Settings"
msgstr "" msgstr ""
#: statusnet.php:255 #: statusnet.php:220
#, php-format #, php-format
msgid "Currently connected to: <a href=\"%s\" target=\"_statusnet\">%s</a>" msgid "Currently connected to: <a href=\"%s\" target=\"_statusnet\">%s</a>"
msgstr "" msgstr ""
#: statusnet.php:260 #: statusnet.php:225
msgid "" msgid ""
"<strong>Note</strong>: Due your privacy settings (<em>Hide your profile " "<strong>Note</strong>: Due your privacy settings (<em>Hide your profile "
"details from unknown viewers?</em>) the link potentially included in public " "details from unknown viewers?</em>) the link potentially included in public "
@ -48,30 +48,30 @@ msgid ""
"informing the visitor that the access to your profile has been restricted." "informing the visitor that the access to your profile has been restricted."
msgstr "" msgstr ""
#: statusnet.php:263 #: statusnet.php:228
msgid "Clear OAuth configuration" msgid "Clear OAuth configuration"
msgstr "" msgstr ""
#: statusnet.php:275 #: statusnet.php:240
msgid "Cancel GNU Social Connection" msgid "Cancel GNU Social Connection"
msgstr "" msgstr ""
#: statusnet.php:283 #: statusnet.php:247
msgid "Globally Available GNU Social OAuthKeys" msgid "Globally Available GNU Social OAuthKeys"
msgstr "" msgstr ""
#: statusnet.php:284 #: statusnet.php:248
msgid "" msgid ""
"There are preconfigured OAuth key pairs for some GNU Social servers " "There are preconfigured OAuth key pairs for some GNU Social servers "
"available. If you are using one of them, please use these credentials. If " "available. If you are using one of them, please use these credentials. If "
"not feel free to connect to any other GNU Social instance (see below)." "not feel free to connect to any other GNU Social instance (see below)."
msgstr "" msgstr ""
#: statusnet.php:285 #: statusnet.php:249
msgid "Provide your own OAuth Credentials" msgid "Provide your own OAuth Credentials"
msgstr "" msgstr ""
#: statusnet.php:286 #: statusnet.php:250
msgid "" msgid ""
"No consumer key pair for GNU Social found. Register your Friendica Account " "No consumer key pair for GNU Social found. Register your Friendica Account "
"as a desktop application on your GNU Social account, copy the consumer key " "as a desktop application on your GNU Social account, copy the consumer key "
@ -80,7 +80,7 @@ msgid ""
"Friendica installation at your favorite GNU Social installation." "Friendica installation at your favorite GNU Social installation."
msgstr "" msgstr ""
#: statusnet.php:287 #: statusnet.php:251
msgid "" msgid ""
"To connect to your GNU Social account click the button below to get a " "To connect to your GNU Social account click the button below to get a "
"security code from GNU Social which you have to copy into the input box " "security code from GNU Social which you have to copy into the input box "
@ -88,86 +88,62 @@ msgid ""
"posted to GNU Social." "posted to GNU Social."
msgstr "" msgstr ""
#: statusnet.php:288 #: statusnet.php:252
msgid "Log in with GNU Social" msgid "Log in with GNU Social"
msgstr "" msgstr ""
#: statusnet.php:289 #: statusnet.php:253
msgid "Cancel Connection Process" msgid "Cancel Connection Process"
msgstr "" msgstr ""
#: statusnet.php:290 #: statusnet.php:254
#, php-format #, php-format
msgid "Current GNU Social API is: %s" msgid "Current GNU Social API is: %s"
msgstr "" msgstr ""
#: statusnet.php:307 #: statusnet.php:271
msgid "OAuth Consumer Key" msgid "OAuth Consumer Key"
msgstr "" msgstr ""
#: statusnet.php:308 #: statusnet.php:272
msgid "OAuth Consumer Secret" msgid "OAuth Consumer Secret"
msgstr "" msgstr ""
#: statusnet.php:310 statusnet.php:636 statusnet.php:648 #: statusnet.php:274 statusnet.php:469 statusnet.php:481
msgid "Base API Path (remember the trailing /)" msgid "Base API Path (remember the trailing /)"
msgstr "" msgstr ""
#: statusnet.php:311 #: statusnet.php:275
msgid "Copy the security code from GNU Social here" msgid "Copy the security code from GNU Social here"
msgstr "" msgstr ""
#: statusnet.php:313 #: statusnet.php:277
msgid "Allow posting to GNU Social" msgid "Allow posting to GNU Social"
msgstr "" msgstr ""
#: statusnet.php:313 #: statusnet.php:277
msgid "" msgid ""
"If enabled all your <strong>public</strong> postings can be posted to the " "If enabled all your <strong>public</strong> postings can be posted to the "
"associated GNU Social account. You can choose to do so by default (here) or " "associated GNU Social account. You can choose to do so by default (here) or "
"for every posting separately in the posting options when writing the entry." "for every posting separately in the posting options when writing the entry."
msgstr "" msgstr ""
#: statusnet.php:314 #: statusnet.php:278
msgid "Post to GNU Social by default" msgid "Post to GNU Social by default"
msgstr "" msgstr ""
#: statusnet.php:315 #: statusnet.php:283
msgid "Mirror all public posts"
msgstr ""
#: statusnet.php:316
msgid "Automatically create contacts"
msgstr ""
#: statusnet.php:317
msgid "Import the remote timeline"
msgstr ""
#: statusnet.php:318
msgid "Disabled"
msgstr ""
#: statusnet.php:319
msgid "Full Timeline"
msgstr ""
#: statusnet.php:320
msgid "Only Mentions"
msgstr ""
#: statusnet.php:326
msgid "GNU Social Import/Export/Mirror" msgid "GNU Social Import/Export/Mirror"
msgstr "" msgstr ""
#: statusnet.php:647 #: statusnet.php:480
msgid "Site name" msgid "Site name"
msgstr "" msgstr ""
#: statusnet.php:649 #: statusnet.php:482
msgid "Consumer Secret" msgid "Consumer Secret"
msgstr "" msgstr ""
#: statusnet.php:650 #: statusnet.php:483
msgid "Consumer Key" msgid "Consumer Key"
msgstr "" msgstr ""

File diff suppressed because it is too large Load diff

View file

@ -16,9 +16,6 @@
{{/if}} {{/if}}
{{include file="field_checkbox.tpl" field=$default}} {{include file="field_checkbox.tpl" field=$default}}
{{include file="field_checkbox.tpl" field=$mirror}}
{{include file="field_checkbox.tpl" field=$import}}
{{*include file="field_checkbox.tpl" field=$create_user*}}
{{else}} {{else}}
<p>{{$l10n.oauth_info}}</p> <p>{{$l10n.oauth_info}}</p>
<a href="{{$authorize_url}}" target="_statusnet"><img src="addon/statusnet/signinwithstatusnet.png" alt="{{$l10n.oauth_alt}}"></a> <a href="{{$authorize_url}}" target="_statusnet"><img src="addon/statusnet/signinwithstatusnet.png" alt="{{$l10n.oauth_alt}}"></a>