├── .eslintrc.js ├── .github ├── CODEOWNERS ├── CONTRIBUTING.md └── workflows │ ├── appstore-build-publish.yml │ ├── lint-info-xml.yml │ ├── lint-php-cs.yml │ ├── lint-php.yml │ ├── node-build.yml │ └── pr-feedback.yml ├── .gitignore ├── .l10nignore ├── .nextcloudignore ├── .php-cs-fixer.dist.php ├── .tx └── config ├── AUTHORS.md ├── CHANGELOG.md ├── CODE_OF_CONDUCT.md ├── COPYING ├── README.md ├── SECURITY.md ├── appinfo ├── info.xml └── routes.php ├── composer.json ├── composer.lock ├── css └── dashboard.css ├── img ├── app-dark.svg ├── app.svg ├── chromium.png ├── firefox.png ├── message.svg └── post.svg ├── krankerl.toml ├── l10n ├── .gitkeep ├── ar.js ├── ar.json ├── ast.js ├── ast.json ├── bg.js ├── bg.json ├── ca.js ├── ca.json ├── cs.js ├── cs.json ├── da.js ├── da.json ├── de.js ├── de.json ├── de_DE.js ├── de_DE.json ├── el.js ├── el.json ├── en_GB.js ├── en_GB.json ├── es.js ├── es.json ├── es_EC.js ├── es_EC.json ├── et_EE.js ├── et_EE.json ├── eu.js ├── eu.json ├── fa.js ├── fa.json ├── fi.js ├── fi.json ├── fr.js ├── fr.json ├── ga.js ├── ga.json ├── gl.js ├── gl.json ├── he.js ├── he.json ├── hr.js ├── hr.json ├── hu.js ├── hu.json ├── id.js ├── id.json ├── is.js ├── is.json ├── it.js ├── it.json ├── ja.js ├── ja.json ├── ko.js ├── ko.json ├── lt_LT.js ├── lt_LT.json ├── lv.js ├── lv.json ├── mk.js ├── mk.json ├── nb.js ├── nb.json ├── nl.js ├── nl.json ├── oc.js ├── oc.json ├── pl.js ├── pl.json ├── pt_BR.js ├── pt_BR.json ├── pt_PT.js ├── pt_PT.json ├── ro.js ├── ro.json ├── ru.js ├── ru.json ├── sc.js ├── sc.json ├── sk.js ├── sk.json ├── sl.js ├── sl.json ├── sr.js ├── sr.json ├── sv.js ├── sv.json ├── tr.js ├── tr.json ├── ug.js ├── ug.json ├── uk.js ├── uk.json ├── vi.js ├── vi.json ├── zh_CN.js ├── zh_CN.json ├── zh_HK.js ├── zh_HK.json ├── zh_TW.js └── zh_TW.json ├── lib ├── AppInfo │ └── Application.php ├── Controller │ ├── ConfigController.php │ └── RedditAPIController.php ├── Dashboard │ └── RedditWidget.php ├── Migration │ └── Version1200Date202410151354.php ├── Reference │ ├── CommentReferenceProvider.php │ ├── PublicationReferenceProvider.php │ └── SubredditReferenceProvider.php ├── Search │ ├── PublicationSearchProvider.php │ └── SubredditSearchProvider.php ├── Service │ └── RedditAPIService.php └── Settings │ ├── Admin.php │ ├── AdminSection.php │ ├── Personal.php │ └── PersonalSection.php ├── package-lock.json ├── package.json ├── screenshots └── screenshot1.jpg ├── src ├── adminSettings.js ├── bootstrap.js ├── components │ ├── AdminSettings.vue │ ├── PersonalSettings.vue │ └── icons │ │ └── RedditIcon.vue ├── dashboard.js ├── personalSettings.js ├── utils.js └── views │ └── Dashboard.vue ├── stylelint.config.js ├── templates ├── adminSettings.php └── personalSettings.php └── webpack.js /.eslintrc.js: -------------------------------------------------------------------------------- 1 | /** 2 | * SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors 3 | * SPDX-License-Identifier: AGPL-3.0-or-later 4 | */ 5 | module.exports = { 6 | globals: { 7 | appVersion: true 8 | }, 9 | parserOptions: { 10 | requireConfigFile: false 11 | }, 12 | extends: [ 13 | '@nextcloud' 14 | ], 15 | rules: { 16 | 'jsdoc/require-jsdoc': 'off', 17 | 'jsdoc/tag-lines': 'off', 18 | 'vue/first-attribute-linebreak': 'off', 19 | 'import/extensions': 'off' 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /.github/CODEOWNERS: -------------------------------------------------------------------------------- 1 | /appinfo/info.xml @bigcat88 @julien-nc 2 | -------------------------------------------------------------------------------- /.github/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | We always welcome contributions. Have an issue or an idea for a feature? Let us know. Additionally, we happily accept pull requests. 2 | 3 | In order to make the process run more smoothly, you can make sure of the following things: 4 | 5 | - Announce that you're working on a feature/bugfix in the relevant issue 6 | - Make sure the tests are passing 7 | - If you have any questions you can let the maintainers above know privately via email, or simply open an issue on GitHub 8 | 9 | Please read the [Code of Conduct](https://nextcloud.com/community/code-of-conduct/). This document offers some guidance to ensure Nextcloud participants can cooperate effectively in a positive and inspiring atmosphere, and to explain how together we can strengthen and support each other. 10 | 11 | More information on how to contribute: https://nextcloud.com/contribute/ 12 | -------------------------------------------------------------------------------- /.github/workflows/lint-info-xml.yml: -------------------------------------------------------------------------------- 1 | # This workflow is provided via the organization template repository 2 | # 3 | # https://github.com/nextcloud/.github 4 | # https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization 5 | # 6 | # SPDX-FileCopyrightText: 2021-2024 Nextcloud GmbH and Nextcloud contributors 7 | # SPDX-License-Identifier: MIT 8 | 9 | name: Lint info.xml 10 | 11 | on: pull_request 12 | 13 | permissions: 14 | contents: read 15 | 16 | concurrency: 17 | group: lint-info-xml-${{ github.head_ref || github.run_id }} 18 | cancel-in-progress: true 19 | 20 | jobs: 21 | xml-linters: 22 | runs-on: ubuntu-latest-low 23 | 24 | name: info.xml lint 25 | steps: 26 | - name: Checkout 27 | uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 28 | 29 | - name: Download schema 30 | run: wget https://raw.githubusercontent.com/nextcloud/appstore/master/nextcloudappstore/api/v1/release/info.xsd 31 | 32 | - name: Lint info.xml 33 | uses: ChristophWurst/xmllint-action@36f2a302f84f8c83fceea0b9c59e1eb4a616d3c1 # v1.2 34 | with: 35 | xml-file: ./appinfo/info.xml 36 | xml-schema-file: ./info.xsd 37 | -------------------------------------------------------------------------------- /.github/workflows/lint-php-cs.yml: -------------------------------------------------------------------------------- 1 | # This workflow is provided via the organization template repository 2 | # 3 | # https://github.com/nextcloud/.github 4 | # https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization 5 | # 6 | # SPDX-FileCopyrightText: 2021-2024 Nextcloud GmbH and Nextcloud contributors 7 | # SPDX-License-Identifier: MIT 8 | 9 | name: Lint php-cs 10 | 11 | on: pull_request 12 | 13 | permissions: 14 | contents: read 15 | 16 | concurrency: 17 | group: lint-php-cs-${{ github.head_ref || github.run_id }} 18 | cancel-in-progress: true 19 | 20 | jobs: 21 | lint: 22 | runs-on: ubuntu-latest 23 | 24 | name: php-cs 25 | 26 | steps: 27 | - name: Checkout 28 | uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 29 | 30 | - name: Set up php8.2 31 | uses: shivammathur/setup-php@6d7209f44a25a59e904b1ee9f3b0c33ab2cd888d # v2 32 | with: 33 | php-version: 8.2 34 | extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite 35 | coverage: none 36 | ini-file: development 37 | env: 38 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 39 | 40 | - name: Install dependencies 41 | run: composer i 42 | 43 | - name: Lint 44 | run: composer run cs:check || ( echo 'Please run `composer run cs:fix` to format your code' && exit 1 ) 45 | -------------------------------------------------------------------------------- /.github/workflows/lint-php.yml: -------------------------------------------------------------------------------- 1 | # This workflow is provided via the organization template repository 2 | # 3 | # https://github.com/nextcloud/.github 4 | # https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization 5 | # 6 | # SPDX-FileCopyrightText: 2021-2024 Nextcloud GmbH and Nextcloud contributors 7 | # SPDX-License-Identifier: MIT 8 | 9 | name: Lint php 10 | 11 | on: pull_request 12 | 13 | permissions: 14 | contents: read 15 | 16 | concurrency: 17 | group: lint-php-${{ github.head_ref || github.run_id }} 18 | cancel-in-progress: true 19 | 20 | jobs: 21 | matrix: 22 | runs-on: ubuntu-latest-low 23 | outputs: 24 | php-versions: ${{ steps.versions.outputs.php-versions }} 25 | steps: 26 | - name: Checkout app 27 | uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 28 | - name: Get version matrix 29 | id: versions 30 | uses: icewind1991/nextcloud-version-matrix@58becf3b4bb6dc6cef677b15e2fd8e7d48c0908f # v1.0.0 31 | 32 | php-lint: 33 | runs-on: ubuntu-latest 34 | needs: matrix 35 | strategy: 36 | matrix: 37 | php-versions: ${{fromJson(needs.matrix.outputs.php-versions)}} 38 | 39 | name: php-lint 40 | 41 | steps: 42 | - name: Checkout 43 | uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 44 | 45 | - name: Set up php ${{ matrix.php-versions }} 46 | uses: shivammathur/setup-php@2e947f1f6932d141d076ca441d0e1e881775e95b # v2.31.0 47 | with: 48 | php-version: ${{ matrix.php-versions }} 49 | extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite 50 | coverage: none 51 | ini-file: development 52 | env: 53 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 54 | 55 | - name: Lint 56 | run: composer run lint 57 | 58 | summary: 59 | permissions: 60 | contents: none 61 | runs-on: ubuntu-latest-low 62 | needs: php-lint 63 | 64 | if: always() 65 | 66 | name: php-lint-summary 67 | 68 | steps: 69 | - name: Summary status 70 | run: if ${{ needs.php-lint.result != 'success' && needs.php-lint.result != 'skipped' }}; then exit 1; fi 71 | -------------------------------------------------------------------------------- /.github/workflows/node-build.yml: -------------------------------------------------------------------------------- 1 | name: Node Build 2 | 3 | on: 4 | pull_request: 5 | paths: 6 | - src/** 7 | - .eslintrc.js 8 | - stylelint.config.js 9 | - webpack.js 10 | push: 11 | branches: 12 | - main 13 | paths: 14 | - src/** 15 | - .eslintrc.js 16 | - stylelint.config.js 17 | - webpack.js 18 | 19 | env: 20 | APP_NAME: integration_nuiteq 21 | 22 | jobs: 23 | build: 24 | name: node-build 25 | runs-on: ubuntu-latest 26 | 27 | steps: 28 | - name: Checkout 29 | uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2 30 | with: 31 | path: ${{ env.APP_NAME }} 32 | 33 | - name: Read package.json node and npm engines version 34 | uses: skjnldsv/read-package-engines-version-actions@0ce2ed60f6df073a62a77c0a4958dd0fc68e32e7 # v2.1 35 | id: versions 36 | with: 37 | path: ${{ env.APP_NAME }} 38 | fallbackNode: "^20" 39 | fallbackNpm: "^9" 40 | 41 | - name: Set up node ${{ steps.versions.outputs.nodeVersion }} 42 | uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3 43 | with: 44 | node-version: ${{ steps.versions.outputs.nodeVersion }} 45 | 46 | - name: Set up npm ${{ steps.versions.outputs.npmVersion }} 47 | run: npm i -g npm@"${{ steps.versions.outputs.npmVersion }}" 48 | 49 | - name: Build ${{ env.APP_NAME }} 50 | run: | 51 | cd ${{ env.APP_NAME }} 52 | npm ci 53 | npm run build 54 | -------------------------------------------------------------------------------- /.github/workflows/pr-feedback.yml: -------------------------------------------------------------------------------- 1 | # This workflow is provided via the organization template repository 2 | # 3 | # https://github.com/nextcloud/.github 4 | # https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization 5 | 6 | # SPDX-FileCopyrightText: 2023-2024 Nextcloud GmbH and Nextcloud contributors 7 | # SPDX-FileCopyrightText: 2023 Marcel Klehr 8 | # SPDX-FileCopyrightText: 2023 Joas Schilling <213943+nickvergessen@users.noreply.github.com> 9 | # SPDX-FileCopyrightText: 2023 Daniel Kesselberg 10 | # SPDX-FileCopyrightText: 2023 Florian Steffens 11 | # SPDX-License-Identifier: MIT 12 | 13 | name: 'Ask for feedback on PRs' 14 | on: 15 | schedule: 16 | - cron: '30 1 * * *' 17 | 18 | jobs: 19 | pr-feedback: 20 | runs-on: ubuntu-latest 21 | steps: 22 | - name: The get-github-handles-from-website action 23 | uses: marcelklehr/get-github-handles-from-website-action@a739600f6b91da4957f51db0792697afbb2f143c # v1.0.0 24 | id: scrape 25 | with: 26 | website: 'https://nextcloud.com/team/' 27 | 28 | - name: Get blocklist 29 | id: blocklist 30 | run: | 31 | blocklist=$(curl https://raw.githubusercontent.com/nextcloud/.github/master/non-community-usernames.txt | paste -s -d, -) 32 | echo "blocklist=$blocklist" >> "$GITHUB_OUTPUT" 33 | 34 | - uses: marcelklehr/pr-feedback-action@1883b38a033fb16f576875e0cf45f98b857655c4 35 | with: 36 | feedback-message: | 37 | Hello there, 38 | Thank you so much for taking the time and effort to create a pull request to our Nextcloud project. 39 | 40 | We hope that the review process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR review process. 41 | 42 | Your feedback is valuable to us as we continuously strive to improve our community developer experience. Please take a moment to complete our short survey by clicking on the following link: https://cloud.nextcloud.com/apps/forms/s/i9Ago4EQRZ7TWxjfmeEpPkf6 43 | 44 | Thank you for contributing to Nextcloud and we hope to hear from you soon! 45 | 46 | (If you believe you should not receive this message, you can add yourself to the [blocklist](https://github.com/nextcloud/.github/blob/master/non-community-usernames.txt).) 47 | days-before-feedback: 14 48 | start-date: '2024-04-30' 49 | exempt-authors: '${{ steps.blocklist.outputs.blocklist }},${{ steps.scrape.outputs.users }},nextcloud-command,nextcloud-android-bot' 50 | exempt-bots: true 51 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | js/ 2 | .code-workspace 3 | .DS_Store 4 | .idea/ 5 | .*.sw* 6 | node_modules 7 | /vendor/ 8 | .php-cs-fixer.cache 9 | tests/.phpunit.cache/ 10 | 11 | ## VSCode 12 | .vscode/ 13 | .vscode-upload.json 14 | *.code-workspace 15 | -------------------------------------------------------------------------------- /.l10nignore: -------------------------------------------------------------------------------- 1 | # compiled vue templates 2 | js/ 3 | -------------------------------------------------------------------------------- /.nextcloudignore: -------------------------------------------------------------------------------- 1 | .git 2 | .github 3 | .gitignore 4 | .tx 5 | .vscode 6 | .php-cs-fixer.* 7 | /.codecov.yml 8 | /.eslintrc.js 9 | /.gitattributes 10 | /.gitignore 11 | /.l10nignore 12 | /.nextcloudignore 13 | /.travis.yml 14 | /.pre-commit-config.yaml 15 | /babel.config.js 16 | /build 17 | /CODE_OF_CONDUCT.md 18 | /README.md 19 | /SECURITY.md 20 | /composer.* 21 | /node_modules 22 | /screenshots 23 | /src 24 | /vendor/bin 25 | /jest.config.js 26 | /Makefile 27 | /krankerl.toml 28 | /package-lock.json 29 | /package.json 30 | /postcss.config.js 31 | /psalm.xml 32 | /pyproject.toml 33 | /renovate.json 34 | /stylelint.config.js 35 | /webpack.* 36 | tests 37 | -------------------------------------------------------------------------------- /.php-cs-fixer.dist.php: -------------------------------------------------------------------------------- 1 | getFinder() 16 | ->ignoreVCSIgnored(true) 17 | ->notPath('build') 18 | ->notPath('l10n') 19 | ->notPath('src') 20 | ->notPath('vendor') 21 | ->in(__DIR__); 22 | return $config; 23 | -------------------------------------------------------------------------------- /.tx/config: -------------------------------------------------------------------------------- 1 | [main] 2 | host = https://www.transifex.com 3 | lang_map = bg_BG: bg, cs_CZ: cs, fi_FI: fi, hu_HU: hu, nb_NO: nb, sk_SK: sk, th_TH: th, ja_JP: ja 4 | 5 | [o:nextcloud:p:nextcloud:r:integration_reddit] 6 | file_filter = translationfiles//integration_reddit.po 7 | source_file = translationfiles/templates/integration_reddit.pot 8 | source_lang = en 9 | type = PO 10 | 11 | -------------------------------------------------------------------------------- /AUTHORS.md: -------------------------------------------------------------------------------- 1 | 5 | # Authors 6 | 7 | * Julien Veyssier (Developper) 8 | * Alexander Piskun (maintainer) 9 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- 1 | 5 | # Change Log 6 | All notable changes to this project will be documented in this file. 7 | 8 | The format is based on [Keep a Changelog](http://keepachangelog.com/) 9 | and this project adheres to [Semantic Versioning](http://semver.org/). 10 | 11 | ## [Unreleased] 12 | 13 | ## 2.0.5 - 2024-11-18 14 | ### Changed 15 | - bump js libs 16 | 17 | ### Fixed 18 | - encrypt secrets in the database and not expose them to UI 19 | 20 | ## 2.0.4 - 2024-07-24 21 | ### Changed 22 | - added support of NC30, minimum required NC raised from v27 to v28 23 | - bump js libs 24 | 25 | ## 2.0.3 - 2024-03-08 26 | ### Changed 27 | - added support of NC29, minimum required NC raised from v26 to v27 28 | - bump js libs 29 | 30 | ## 2.0.2 - 2023-10-24 31 | ### Changed 32 | - bump js libs 33 | 34 | ## 2.0.1 – 2023-06-30 35 | ### Fixed 36 | - fallback to OpenGraph when not getting information about links 37 | 38 | ## 2.0.0 – 2023-04-21 39 | ### Changed 40 | - dependency update and maintenance 41 | - supported php>=8.0 42 | 43 | ## 1.0.7 – 2023-02-22 44 | ### Changed 45 | - add 26 compat 46 | - lazy load dashboard widget 47 | - use @nextcloud/vue 7.6.1 48 | 49 | ## 1.0.5 – 2022-08-29 50 | ### Changed 51 | - implement proper token refresh based on expiration date 52 | - use material icons everywhere 53 | - make the app ready for NC 25 style changes 54 | - bump js libs, asjut to new eslint config 55 | 56 | ## 1.0.2 – 2021-09-13 57 | ### Changed 58 | - bump js libs 59 | 60 | ### Fixed 61 | - bug when OAuth fails and no error provided in redirection URL 62 | [#19](https://github.com/nextcloud/integration_reddit/issues/19) @bionicworx 63 | 64 | ## 1.0.1 – 2021-06-28 65 | ### Changed 66 | - stop polling widget content when document is hidden 67 | - bump js libs 68 | - get rid of all deprecated stuff 69 | - bump min NC version to 22 70 | - cleanup backend code 71 | 72 | ## 1.0.0 – 2021-03-19 73 | ### Changed 74 | - bump js libs 75 | 76 | ## 0.0.11 – 2021-02-16 77 | ### Changed 78 | - app certificate 79 | 80 | ## 0.0.10 – 2021-02-12 81 | ### Changed 82 | - bump js libs 83 | - bump max NC version 84 | 85 | ### Fixed 86 | - import nc dialog style 87 | 88 | ## 0.0.9 – 2021-01-01 89 | ### Changed 90 | - bump js libs 91 | 92 | ### Fixed 93 | - browser detection 94 | 95 | ## 0.0.6 – 2020-12-10 96 | ### Changed 97 | - bump js libs 98 | 99 | ### Fixed 100 | - avoid crash when accessibility app is not installed 101 | 102 | ## 0.0.5 – 2020-10-22 103 | ### Added 104 | - automatic releases 105 | 106 | ### Changed 107 | - use Webpack 5 and style lint 108 | 109 | ### Fixed 110 | - possible problem with redirect URI when generated on server side 111 | 112 | ## 0.0.4 – 2020-10-12 113 | ### Fixed 114 | - don't expose token to settings UI 115 | 116 | ## 0.0.3 – 2020-10-02 117 | ### Added 118 | - more hints about protocol registration 119 | - lots of translations 120 | 121 | ### Changed 122 | - improve code quality 123 | - improve settings screenshots 124 | - bump libs 125 | 126 | ## 0.0.2 – 2020-09-21 127 | ### Changed 128 | * improve authentication design 129 | * improve widget empty content 130 | 131 | ## 0.0.1 – 2020-09-02 132 | ### Added 133 | * the app 134 | -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- 1 | 5 | # Code of Conduct 6 | 7 | Be openness, as well as friendly and didactic in discussions. 8 | 9 | Treat everybody equally, and value their contributions. 10 | 11 | Decisions are made based on technical merit and consensus. 12 | 13 | Try to follow most principles described here: https://nextcloud.com/code-of-conduct/ 14 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | 5 | # Reddit integration into Nextcloud 6 | 7 | 🛸 Reddit integration provides a dashboard widget displaying your recent subscribed news. 8 | 9 | ## 🔧 Configuration 10 | 11 | ### User settings 12 | 13 | The account configuration happens in the "Connected accounts" user settings section. 14 | 15 | A link to the "Connected accounts" user settings section will be displayed in the widget for users who didn't configure a Reddit account. 16 | 17 | ### Admin settings 18 | 19 | There also is a "Connected accounts" **admin** settings section if you want your Nextcloud users to use another OAuth application to authenticate to Reddit. The Nextcloud Reddit OAuth app is used by default. 20 | 21 | ## 🛠️ State of maintenance 22 | 23 | While there are some things that could be done to further improve this app, the app is currently maintained with **limited effort**. This means: 24 | 25 | * The main functionality works for the majority of the use cases 26 | * We will ensure that the app will continue to work like this for future releases, and we will fix bugs that we classify as 'critical' 27 | * We will not invest further development resources ourselves in advancing the app with new features 28 | * We do review and enthusiastically welcome community PR's 29 | 30 | We would be more than excited if you would like to collaborate with us. We will merge pull requests for new features and fixes. We also would love to welcome co-maintainers. 31 | 32 | If you are a customer of Nextcloud and you have a strong business case for any development of this app, we will consider your wishes for our roadmap. Please contact your account manager to talk about the possibilities. 33 | -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- 1 | 5 | # Security Policy 6 | 7 | ## Supported Versions 8 | 9 | 10 | | Version | Supported | 11 | |---------|--------------------| 12 | | 2.0.4+ | :white_check_mark: | 13 | | <2.0.4 | :x: | 14 | 15 | 16 | ## Reporting a Vulnerability 17 | 18 | Please report security vulnerabilities by email to one of the maintainers, with Subject containing `integration_reddit` substring. 19 | If there was no reply in 24 hours, then create an Issue, without technical details, to inform about previously sent mail. 20 | -------------------------------------------------------------------------------- /appinfo/info.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | integration_reddit 8 | Reddit integration 9 | Integration of Reddit social news aggregation service 10 | 11 | 2.0.5 12 | agpl 13 | Julien Veyssier 14 | Reddit 15 | 16 | https://github.com/nextcloud/integration_reddit/wikis 17 | 18 | integration 19 | dashboard 20 | https://github.com/nextcloud/integration_reddit 21 | https://github.com/nextcloud/integration_reddit/issues 22 | https://github.com/nextcloud/integration_reddit/raw/main/screenshots/screenshot1.jpg 23 | 24 | 25 | 26 | 27 | OCA\Reddit\Settings\Admin 28 | OCA\Reddit\Settings\AdminSection 29 | OCA\Reddit\Settings\Personal 30 | OCA\Reddit\Settings\PersonalSection 31 | 32 | 33 | -------------------------------------------------------------------------------- /appinfo/routes.php: -------------------------------------------------------------------------------- 1 | [ 9 | ['name' => 'config#oauthRedirect', 'url' => '/oauth-redirect', 'verb' => 'GET'], 10 | ['name' => 'config#oauthProtocolRedirect', 'url' => '/oauth-protocol-redirect', 'verb' => 'GET'], 11 | ['name' => 'config#setConfig', 'url' => '/config', 'verb' => 'PUT'], 12 | ['name' => 'config#setAdminConfig', 'url' => '/admin-config', 'verb' => 'PUT'], 13 | ['name' => 'config#setSensitiveAdminConfig', 'url' => '/sensitive-admin-config', 'verb' => 'PUT'], 14 | ['name' => 'redditAPI#getNotifications', 'url' => '/notifications', 'verb' => 'GET'], 15 | ['name' => 'redditAPI#getAvatar', 'url' => '/avatar', 'verb' => 'GET'], 16 | ['name' => 'redditAPI#getThumbnail', 'url' => '/thumbnail', 'verb' => 'GET'], 17 | ] 18 | ]; 19 | -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "nextcloud/integration_reddit", 3 | "type": "project", 4 | "license": "APL-3.0-or-later", 5 | "autoload": { 6 | "psr-4": { 7 | "OCA\\Reddit\\": "lib/" 8 | } 9 | }, 10 | "minimum-stability": "stable", 11 | "require-dev": { 12 | "nextcloud/ocp": "^26.0", 13 | "nextcloud/coding-standard": "^1.1", 14 | "phpunit/phpunit": "^10" 15 | }, 16 | "scripts": { 17 | "lint": "find . -name \\*.php -not -path './vendor/*' -not -path './build/*' -print0 | xargs -0 -n1 php -l", 18 | "cs:check": "php-cs-fixer fix --dry-run --diff", 19 | "cs:fix": "php-cs-fixer fix", 20 | "test:unit": "vendor/bin/phpunit -c tests/phpunit.xml --colors=always --fail-on-warning --fail-on-risky" 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /css/dashboard.css: -------------------------------------------------------------------------------- 1 | /** 2 | * SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors 3 | * SPDX-License-Identifier: AGPL-3.0-or-later 4 | */ 5 | .icon-reddit { 6 | background-image: url(./../img/app-dark.svg); 7 | filter: var(--background-invert-if-dark); 8 | } 9 | 10 | body.theme--dark .icon-reddit { 11 | background-image: url(./../img/app.svg); 12 | } 13 | -------------------------------------------------------------------------------- /img/app-dark.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /img/app.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /img/chromium.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nextcloud/integration_reddit/22d8f812a5e2e4bb31f15100dd4ad33ab55dfaab/img/chromium.png -------------------------------------------------------------------------------- /img/firefox.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nextcloud/integration_reddit/22d8f812a5e2e4bb31f15100dd4ad33ab55dfaab/img/firefox.png -------------------------------------------------------------------------------- /img/message.svg: -------------------------------------------------------------------------------- 1 | 2 | 15 | 17 | 18 | 20 | image/svg+xml 21 | 23 | 24 | 25 | 26 | 28 | 48 | 52 | 60 | 61 | -------------------------------------------------------------------------------- /img/post.svg: -------------------------------------------------------------------------------- 1 | 2 | 15 | 17 | 18 | 20 | image/svg+xml 21 | 23 | 24 | 25 | 26 | 28 | 48 | 52 | 57 | 58 | 59 | -------------------------------------------------------------------------------- /krankerl.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | before_cmds = [ 3 | "npm ci", 4 | "npm run build", 5 | ] 6 | -------------------------------------------------------------------------------- /l10n/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nextcloud/integration_reddit/22d8f812a5e2e4bb31f15100dd4ad33ab55dfaab/l10n/.gitkeep -------------------------------------------------------------------------------- /l10n/ar.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "integration_reddit", 3 | { 4 | "Error during OAuth exchanges" : "خطأ أثناء تبادلات OAuth.", 5 | "Error getting OAuth access token" : "خطأ أثناء محاولة الحصول على أَمَارَة token للتصديق المفتوح OAuth", 6 | "Reddit news" : "أخبار Reddit", 7 | "Comment from %1$s in %2$s" : "ملاحظةمن %1$s في%2$s", 8 | "Reddit publications and subreddits" : "منشورات Reddit‏ و مجتمعاتها الفرعية subreddits", 9 | "By @%1$s in %2$s" : "بواسطة @%1$s في %2$s", 10 | "Reddit posts" : "منشورات Reddit", 11 | "Subreddits" : "مجتمعات Reddit الفرعية subreddits", 12 | "Bad HTTP method" : "دالة HTTP غير صحيحة", 13 | "Bad credentials" : "بيانات تسجيل الدخول غير صحيحة", 14 | "Failed to get Reddit news" : "فشل في الحصول على أخبار Reddit ", 15 | "OAuth access token refused" : "أمارة token مرفوضة", 16 | "Connected accounts" : "حسابات مترابطة", 17 | "Reddit integration" : "مُكاملة Reddit", 18 | "Integration of Reddit social news aggregation service" : "مُكاملة خدمة Reddit لتجميع الأخبار الاجتماعية", 19 | "Reddit integration provides a dashboard widget displaying your recent subscribed news." : "تُوفّر مُكاملة Reddit أداة لوحة معلومات عناصر واجهة المستخدم التي تعرض آخر الأخبار التي اشتركت فيها.", 20 | "Reddit admin options saved" : "تم حفظ خيارات مشرف Reddit‏ ", 21 | "Failed to save Reddit admin options" : "فشل في حفظ خيارات مشرف Reddit ‏ ", 22 | "There are 3 ways to allow your Nextcloud users to use OAuth to authenticate to Reddit:" : "هناك 3 طرق للسماح لمستخدمي نكست كلاود باستخدام تطبيق OAuth للمصادقة على Reddit:", 23 | "Leave all fields empty to use default Nextcloud Reddit OAuth app." : "اترك كل الحقول فارغة لاستخدام تطبيق Nextcloud Reddit OAuth الافتراضي.", 24 | "Create your own Reddit \"web application\" in Reddit preferences and put the application ID and secret below." : "قم بإنشاء \"تطبيق ويب\" Reddit الخاص بك في تفضيلات Reddit، و ضَعْ معرف التطبيق و كلمة السر أدناه.", 25 | "Reddit app settings" : "إعدادات تطبيق Reddit", 26 | "Make sure you set the \"Redirection URI\" to" : "تأكد من تعيين \"إعادة توجيه عنوان URI\" على", 27 | "Create your own Reddit \"mobile application\" in Reddit preferences and put the application ID below. Leave the \"Application secret\" field empty." : "قم بإنشاء \"تطبيق جوال\" Reddit الخاص بك في تفضيلات Reddit، و ضَعْ مُعرّف التطبيق أدناه. أُترُك حقل \"كلمة سر التطبيق\" فارغًا.", 28 | "Application ID" : "الرقم المعرف للتطبيق ", 29 | "Client ID of your Reddit application" : "مُعرّف العميل لتطبيق Reddit ‏الخاص بك", 30 | "Application secret" : "كلمة سر التطبيق", 31 | "Client secret of your Reddit application" : "كلمة سر العميل لتطبيق Reddit ‏الخاص بك", 32 | "Successfully connected to Reddit!" : "تمّ الاتصال بنجاج بمجتمع Reddit الإخباري!", 33 | "Reddit OAuth error:" : "خطأ في Reddit OAuth:", 34 | "Nextcloud Reddit integration on {ncUrl}" : "مُكاملة نكست كلاود و Reddit على {ncUrl}", 35 | "Reddit options saved" : "تمّ حفظ خيارات Reddit", 36 | "Failed to save Reddit options" : "فشل في حفظ خيارات Reddit ‏ ", 37 | "Failed to save Reddit OAuth state" : "فشل في حفظ حالة Reddit OAuth", 38 | "If you have trouble authenticating, ask your Nextcloud administrator to check Reddit admin settings." : "إذا كنت تواجه مشكلة في المصادقة، فاطلب من مسؤول Nextcloud التحقق من إعدادات مسؤول Reddit.", 39 | "Make sure to accept the protocol registration on top of this page to allow authentication to Reddit." : "تأكد من قبول تسجيل البروتوكول في أعلى الصفحة للسماح بالمصادقة على Reddit.", 40 | "With Chrome/Chromium, you should see a popup on browser top-left to authorize this page to open \"web+nextcloudreddit\" links." : "عند استخدام متصفح كروم/كروميوم، من المفترض أن ترى نافذة منبثقة في أعلى المتصفح للسماح لهذه الصفحة بفتح روابط \"web+nextcloudreddit\".", 41 | "If you don't see the popup, you can still click on this icon in the address bar." : "إذا كنت لا ترى النافذة المنبثقة، فلا يزال بإمكانك النقر فوق هذه الأيقونة في شريط العناوين.", 42 | "Then authorize this page to open \"web+nextcloudreddit\" links." : "بعد ذلك قم بإعطاء الاذن لهذة الصفحة لفتح روابط \"web+nextcloudreddit\".", 43 | "If you still don't manage to get the protocol registered, check your settings on this page:" : "إذا كنت لا تزال غير قادر على تسجيل البروتوكول، قم بالتحقق من إعداداتك في هذه الصفحة:", 44 | "With Firefox, you should see a bar on top of this page to authorize this page to open \"web+nextcloudreddit\" links." : "عند استخدام متصفح فايرفوكس يجب أن ترى شريطًا في أعلى الصفحة للسماح لهذه الصفحة بفتح روابط \"web+nextcloudreddit\".", 45 | "Connect to Reddit" : "الاتصال بـ Reddit", 46 | "Connected as {user}" : "مُتّصلٌ بصفته {user}", 47 | "Disconnect from Reddit" : "قطع الاتصال مع Reddit", 48 | "You must access this page with HTTPS to be able to authenticate to Reddit." : "يجب عليك الوصول إلى هذه الصفحة باستخدام HTTPS لتتمكن من المصادقة على Reddit.", 49 | "No Reddit account connected" : "ُلا يُوجد حساب Reddit ‏متصل", 50 | "Error connecting to Reddit" : "خطأ في الاتصال بـ Reddit", 51 | "No Reddit news!" : "لا توجد أخبارٌ من Reddit!" 52 | }, 53 | "nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;"); 54 | -------------------------------------------------------------------------------- /l10n/ar.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Error during OAuth exchanges" : "خطأ أثناء تبادلات OAuth.", 3 | "Error getting OAuth access token" : "خطأ أثناء محاولة الحصول على أَمَارَة token للتصديق المفتوح OAuth", 4 | "Reddit news" : "أخبار Reddit", 5 | "Comment from %1$s in %2$s" : "ملاحظةمن %1$s في%2$s", 6 | "Reddit publications and subreddits" : "منشورات Reddit‏ و مجتمعاتها الفرعية subreddits", 7 | "By @%1$s in %2$s" : "بواسطة @%1$s في %2$s", 8 | "Reddit posts" : "منشورات Reddit", 9 | "Subreddits" : "مجتمعات Reddit الفرعية subreddits", 10 | "Bad HTTP method" : "دالة HTTP غير صحيحة", 11 | "Bad credentials" : "بيانات تسجيل الدخول غير صحيحة", 12 | "Failed to get Reddit news" : "فشل في الحصول على أخبار Reddit ", 13 | "OAuth access token refused" : "أمارة token مرفوضة", 14 | "Connected accounts" : "حسابات مترابطة", 15 | "Reddit integration" : "مُكاملة Reddit", 16 | "Integration of Reddit social news aggregation service" : "مُكاملة خدمة Reddit لتجميع الأخبار الاجتماعية", 17 | "Reddit integration provides a dashboard widget displaying your recent subscribed news." : "تُوفّر مُكاملة Reddit أداة لوحة معلومات عناصر واجهة المستخدم التي تعرض آخر الأخبار التي اشتركت فيها.", 18 | "Reddit admin options saved" : "تم حفظ خيارات مشرف Reddit‏ ", 19 | "Failed to save Reddit admin options" : "فشل في حفظ خيارات مشرف Reddit ‏ ", 20 | "There are 3 ways to allow your Nextcloud users to use OAuth to authenticate to Reddit:" : "هناك 3 طرق للسماح لمستخدمي نكست كلاود باستخدام تطبيق OAuth للمصادقة على Reddit:", 21 | "Leave all fields empty to use default Nextcloud Reddit OAuth app." : "اترك كل الحقول فارغة لاستخدام تطبيق Nextcloud Reddit OAuth الافتراضي.", 22 | "Create your own Reddit \"web application\" in Reddit preferences and put the application ID and secret below." : "قم بإنشاء \"تطبيق ويب\" Reddit الخاص بك في تفضيلات Reddit، و ضَعْ معرف التطبيق و كلمة السر أدناه.", 23 | "Reddit app settings" : "إعدادات تطبيق Reddit", 24 | "Make sure you set the \"Redirection URI\" to" : "تأكد من تعيين \"إعادة توجيه عنوان URI\" على", 25 | "Create your own Reddit \"mobile application\" in Reddit preferences and put the application ID below. Leave the \"Application secret\" field empty." : "قم بإنشاء \"تطبيق جوال\" Reddit الخاص بك في تفضيلات Reddit، و ضَعْ مُعرّف التطبيق أدناه. أُترُك حقل \"كلمة سر التطبيق\" فارغًا.", 26 | "Application ID" : "الرقم المعرف للتطبيق ", 27 | "Client ID of your Reddit application" : "مُعرّف العميل لتطبيق Reddit ‏الخاص بك", 28 | "Application secret" : "كلمة سر التطبيق", 29 | "Client secret of your Reddit application" : "كلمة سر العميل لتطبيق Reddit ‏الخاص بك", 30 | "Successfully connected to Reddit!" : "تمّ الاتصال بنجاج بمجتمع Reddit الإخباري!", 31 | "Reddit OAuth error:" : "خطأ في Reddit OAuth:", 32 | "Nextcloud Reddit integration on {ncUrl}" : "مُكاملة نكست كلاود و Reddit على {ncUrl}", 33 | "Reddit options saved" : "تمّ حفظ خيارات Reddit", 34 | "Failed to save Reddit options" : "فشل في حفظ خيارات Reddit ‏ ", 35 | "Failed to save Reddit OAuth state" : "فشل في حفظ حالة Reddit OAuth", 36 | "If you have trouble authenticating, ask your Nextcloud administrator to check Reddit admin settings." : "إذا كنت تواجه مشكلة في المصادقة، فاطلب من مسؤول Nextcloud التحقق من إعدادات مسؤول Reddit.", 37 | "Make sure to accept the protocol registration on top of this page to allow authentication to Reddit." : "تأكد من قبول تسجيل البروتوكول في أعلى الصفحة للسماح بالمصادقة على Reddit.", 38 | "With Chrome/Chromium, you should see a popup on browser top-left to authorize this page to open \"web+nextcloudreddit\" links." : "عند استخدام متصفح كروم/كروميوم، من المفترض أن ترى نافذة منبثقة في أعلى المتصفح للسماح لهذه الصفحة بفتح روابط \"web+nextcloudreddit\".", 39 | "If you don't see the popup, you can still click on this icon in the address bar." : "إذا كنت لا ترى النافذة المنبثقة، فلا يزال بإمكانك النقر فوق هذه الأيقونة في شريط العناوين.", 40 | "Then authorize this page to open \"web+nextcloudreddit\" links." : "بعد ذلك قم بإعطاء الاذن لهذة الصفحة لفتح روابط \"web+nextcloudreddit\".", 41 | "If you still don't manage to get the protocol registered, check your settings on this page:" : "إذا كنت لا تزال غير قادر على تسجيل البروتوكول، قم بالتحقق من إعداداتك في هذه الصفحة:", 42 | "With Firefox, you should see a bar on top of this page to authorize this page to open \"web+nextcloudreddit\" links." : "عند استخدام متصفح فايرفوكس يجب أن ترى شريطًا في أعلى الصفحة للسماح لهذه الصفحة بفتح روابط \"web+nextcloudreddit\".", 43 | "Connect to Reddit" : "الاتصال بـ Reddit", 44 | "Connected as {user}" : "مُتّصلٌ بصفته {user}", 45 | "Disconnect from Reddit" : "قطع الاتصال مع Reddit", 46 | "You must access this page with HTTPS to be able to authenticate to Reddit." : "يجب عليك الوصول إلى هذه الصفحة باستخدام HTTPS لتتمكن من المصادقة على Reddit.", 47 | "No Reddit account connected" : "ُلا يُوجد حساب Reddit ‏متصل", 48 | "Error connecting to Reddit" : "خطأ في الاتصال بـ Reddit", 49 | "No Reddit news!" : "لا توجد أخبارٌ من Reddit!" 50 | },"pluralForm" :"nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;" 51 | } -------------------------------------------------------------------------------- /l10n/ast.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "integration_reddit", 3 | { 4 | "Reddit news" : "Noticies de Reddit", 5 | "Reddit posts" : "Artículos de Reddit", 6 | "Subreddits" : "Subreddits", 7 | "Failed to get Reddit news" : "Nun se puen consiguir les noticies de Reddit", 8 | "Failed to save Reddit options" : "Nun se puen guardar les opciones de Reddit" 9 | }, 10 | "nplurals=2; plural=(n != 1);"); 11 | -------------------------------------------------------------------------------- /l10n/ast.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Reddit news" : "Noticies de Reddit", 3 | "Reddit posts" : "Artículos de Reddit", 4 | "Subreddits" : "Subreddits", 5 | "Failed to get Reddit news" : "Nun se puen consiguir les noticies de Reddit", 6 | "Failed to save Reddit options" : "Nun se puen guardar les opciones de Reddit" 7 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 8 | } -------------------------------------------------------------------------------- /l10n/ca.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "integration_reddit", 3 | { 4 | "Error during OAuth exchanges" : "Error durant els intercanvis d'OAuth", 5 | "Error getting OAuth access token" : "S'ha produït un error en obtenir el testimoni d'accés OAuth", 6 | "Reddit news" : "Notícies de Reddit", 7 | "Bad HTTP method" : "Mètode HTTP incorrecte", 8 | "Bad credentials" : "Credencials dolentes", 9 | "OAuth access token refused" : "S'ha rebutjat el testimoni d'accés oAuth", 10 | "Connected accounts" : "Comptes connectats", 11 | "Reddit integration" : "Integració de Reddit", 12 | "Failed to save Reddit admin options" : "No s'han pogut desar les opcions d'administració de Reddit", 13 | "Reddit app settings" : "Configuració de l'aplicació Reddit", 14 | "Application ID" : "ID de l'aplicació", 15 | "Application secret" : "Secret de l'aplicació", 16 | "Reddit OAuth error:" : "Error de OAuth de Reddit:", 17 | "Failed to save Reddit options" : "No s'han pogut desar les opcions de Reddit", 18 | "Failed to save Reddit OAuth state" : "No s'ha pogut desar l'estat de Reddit OAuth", 19 | "If you don't see the popup, you can still click on this icon in the address bar." : "Si no veieu la finestra emergent, encara podeu fer clic en aquesta icona de la barra d'adreces.", 20 | "If you still don't manage to get the protocol registered, check your settings on this page:" : "Si encara no aconseguiu registrar el protocol, comproveu la configuració d'aquesta pàgina:", 21 | "Connect to Reddit" : "Connectar-se a Reddit", 22 | "Connected as {user}" : "S'ha connectat com a {user}", 23 | "Disconnect from Reddit" : "Desconnectar-se de Reddit", 24 | "No Reddit account connected" : "No s'ha connectat el compte de Reddit", 25 | "Error connecting to Reddit" : "S'ha produït un error en connectar a Reddit", 26 | "No Reddit news!" : "No hi ha notícies de Reddit!" 27 | }, 28 | "nplurals=2; plural=(n != 1);"); 29 | -------------------------------------------------------------------------------- /l10n/ca.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Error during OAuth exchanges" : "Error durant els intercanvis d'OAuth", 3 | "Error getting OAuth access token" : "S'ha produït un error en obtenir el testimoni d'accés OAuth", 4 | "Reddit news" : "Notícies de Reddit", 5 | "Bad HTTP method" : "Mètode HTTP incorrecte", 6 | "Bad credentials" : "Credencials dolentes", 7 | "OAuth access token refused" : "S'ha rebutjat el testimoni d'accés oAuth", 8 | "Connected accounts" : "Comptes connectats", 9 | "Reddit integration" : "Integració de Reddit", 10 | "Failed to save Reddit admin options" : "No s'han pogut desar les opcions d'administració de Reddit", 11 | "Reddit app settings" : "Configuració de l'aplicació Reddit", 12 | "Application ID" : "ID de l'aplicació", 13 | "Application secret" : "Secret de l'aplicació", 14 | "Reddit OAuth error:" : "Error de OAuth de Reddit:", 15 | "Failed to save Reddit options" : "No s'han pogut desar les opcions de Reddit", 16 | "Failed to save Reddit OAuth state" : "No s'ha pogut desar l'estat de Reddit OAuth", 17 | "If you don't see the popup, you can still click on this icon in the address bar." : "Si no veieu la finestra emergent, encara podeu fer clic en aquesta icona de la barra d'adreces.", 18 | "If you still don't manage to get the protocol registered, check your settings on this page:" : "Si encara no aconseguiu registrar el protocol, comproveu la configuració d'aquesta pàgina:", 19 | "Connect to Reddit" : "Connectar-se a Reddit", 20 | "Connected as {user}" : "S'ha connectat com a {user}", 21 | "Disconnect from Reddit" : "Desconnectar-se de Reddit", 22 | "No Reddit account connected" : "No s'ha connectat el compte de Reddit", 23 | "Error connecting to Reddit" : "S'ha produït un error en connectar a Reddit", 24 | "No Reddit news!" : "No hi ha notícies de Reddit!" 25 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 26 | } -------------------------------------------------------------------------------- /l10n/da.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "integration_reddit", 3 | { 4 | "Error during OAuth exchanges" : "Fejl under OAuth-udvekslinger", 5 | "Error getting OAuth access token" : "Fejl ved anmodning om OAuth adgangsnøgle", 6 | "Bad HTTP method" : "Dårlig HTTP metode", 7 | "Bad credentials" : "Forkerte legitimationsoplysninger", 8 | "OAuth access token refused" : "OAuth adgangsnøgle afvist", 9 | "Connected accounts" : "Forbundne konti", 10 | "Connected as {user}" : "Forbundet som {user}" 11 | }, 12 | "nplurals=2; plural=(n != 1);"); 13 | -------------------------------------------------------------------------------- /l10n/da.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Error during OAuth exchanges" : "Fejl under OAuth-udvekslinger", 3 | "Error getting OAuth access token" : "Fejl ved anmodning om OAuth adgangsnøgle", 4 | "Bad HTTP method" : "Dårlig HTTP metode", 5 | "Bad credentials" : "Forkerte legitimationsoplysninger", 6 | "OAuth access token refused" : "OAuth adgangsnøgle afvist", 7 | "Connected accounts" : "Forbundne konti", 8 | "Connected as {user}" : "Forbundet som {user}" 9 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 10 | } -------------------------------------------------------------------------------- /l10n/en_GB.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "integration_reddit", 3 | { 4 | "Error during OAuth exchanges" : "Error during OAuth exchanges", 5 | "Error getting OAuth access token" : "Error getting OAuth access token", 6 | "Reddit news" : "Reddit news", 7 | "Comment from %1$s in %2$s" : "Comment from %1$s in %2$s", 8 | "Reddit publications and subreddits" : "Reddit publications and subreddits", 9 | "By @%1$s in %2$s" : "By @%1$s in %2$s", 10 | "Reddit posts" : "Reddit posts", 11 | "Subreddits" : "Subreddits", 12 | "Bad HTTP method" : "Bad HTTP method", 13 | "Bad credentials" : "Bad credentials", 14 | "Failed to get Reddit news" : "Failed to get Reddit news", 15 | "OAuth access token refused" : "OAuth access token refused", 16 | "Connected accounts" : "Connected accounts", 17 | "Reddit integration" : "Reddit integration", 18 | "Integration of Reddit social news aggregation service" : "Integration of Reddit social news aggregation service", 19 | "Reddit integration provides a dashboard widget displaying your recent subscribed news." : "Reddit integration provides a dashboard widget displaying your recent subscribed news.", 20 | "Reddit admin options saved" : "Reddit admin options saved", 21 | "Failed to save Reddit admin options" : "Failed to save Reddit admin options", 22 | "There are 3 ways to allow your Nextcloud users to use OAuth to authenticate to Reddit:" : "There are 3 ways to allow your Nextcloud users to use OAuth to authenticate to Reddit:", 23 | "Leave all fields empty to use default Nextcloud Reddit OAuth app." : "Leave all fields empty to use default Nextcloud Reddit OAuth app.", 24 | "Create your own Reddit \"web application\" in Reddit preferences and put the application ID and secret below." : "Create your own Reddit \"web application\" in Reddit preferences and put the application ID and secret below.", 25 | "Reddit app settings" : "Reddit app settings", 26 | "Make sure you set the \"Redirection URI\" to" : "Make sure you set the \"Redirection URI\" to", 27 | "Create your own Reddit \"mobile application\" in Reddit preferences and put the application ID below. Leave the \"Application secret\" field empty." : "Create your own Reddit \"mobile application\" in Reddit preferences and put the application ID below. Leave the \"Application secret\" field empty.", 28 | "Application ID" : "Application ID", 29 | "Client ID of your Reddit application" : "Client ID of your Reddit application", 30 | "Application secret" : "Application secret", 31 | "Client secret of your Reddit application" : "Client secret of your Reddit application", 32 | "Successfully connected to Reddit!" : "Successfully connected to Reddit!", 33 | "Reddit OAuth error:" : "Reddit OAuth error:", 34 | "Nextcloud Reddit integration on {ncUrl}" : "Nextcloud Reddit integration on {ncUrl}", 35 | "Reddit options saved" : "Reddit options saved", 36 | "Failed to save Reddit options" : "Failed to save Reddit options", 37 | "Failed to save Reddit OAuth state" : "Failed to save Reddit OAuth state", 38 | "If you have trouble authenticating, ask your Nextcloud administrator to check Reddit admin settings." : "If you have trouble authenticating, ask your Nextcloud administrator to check Reddit admin settings.", 39 | "Make sure to accept the protocol registration on top of this page to allow authentication to Reddit." : "Make sure to accept the protocol registration on top of this page to allow authentication to Reddit.", 40 | "With Chrome/Chromium, you should see a popup on browser top-left to authorize this page to open \"web+nextcloudreddit\" links." : "With Chrome/Chromium, you should see a popup on browser top-left to authorise this page to open \"web+nextcloudreddit\" links.", 41 | "If you don't see the popup, you can still click on this icon in the address bar." : "If you don't see the popup, you can still click on this icon in the address bar.", 42 | "Then authorize this page to open \"web+nextcloudreddit\" links." : "Then authorise this page to open \"web+nextcloudreddit\" links.", 43 | "If you still don't manage to get the protocol registered, check your settings on this page:" : "If you still don't manage to get the protocol registered, check your settings on this page:", 44 | "With Firefox, you should see a bar on top of this page to authorize this page to open \"web+nextcloudreddit\" links." : "With Firefox, you should see a bar on top of this page to authorise this page to open \"web+nextcloudreddit\" links.", 45 | "Connect to Reddit" : "Connect to Reddit", 46 | "Connected as {user}" : "Connected as {user}", 47 | "Disconnect from Reddit" : "Disconnect from Reddit", 48 | "You must access this page with HTTPS to be able to authenticate to Reddit." : "You must access this page with HTTPS to be able to authenticate to Reddit.", 49 | "No Reddit account connected" : "No Reddit account connected", 50 | "Error connecting to Reddit" : "Error connecting to Reddit", 51 | "No Reddit news!" : "No Reddit news!" 52 | }, 53 | "nplurals=2; plural=(n != 1);"); 54 | -------------------------------------------------------------------------------- /l10n/en_GB.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Error during OAuth exchanges" : "Error during OAuth exchanges", 3 | "Error getting OAuth access token" : "Error getting OAuth access token", 4 | "Reddit news" : "Reddit news", 5 | "Comment from %1$s in %2$s" : "Comment from %1$s in %2$s", 6 | "Reddit publications and subreddits" : "Reddit publications and subreddits", 7 | "By @%1$s in %2$s" : "By @%1$s in %2$s", 8 | "Reddit posts" : "Reddit posts", 9 | "Subreddits" : "Subreddits", 10 | "Bad HTTP method" : "Bad HTTP method", 11 | "Bad credentials" : "Bad credentials", 12 | "Failed to get Reddit news" : "Failed to get Reddit news", 13 | "OAuth access token refused" : "OAuth access token refused", 14 | "Connected accounts" : "Connected accounts", 15 | "Reddit integration" : "Reddit integration", 16 | "Integration of Reddit social news aggregation service" : "Integration of Reddit social news aggregation service", 17 | "Reddit integration provides a dashboard widget displaying your recent subscribed news." : "Reddit integration provides a dashboard widget displaying your recent subscribed news.", 18 | "Reddit admin options saved" : "Reddit admin options saved", 19 | "Failed to save Reddit admin options" : "Failed to save Reddit admin options", 20 | "There are 3 ways to allow your Nextcloud users to use OAuth to authenticate to Reddit:" : "There are 3 ways to allow your Nextcloud users to use OAuth to authenticate to Reddit:", 21 | "Leave all fields empty to use default Nextcloud Reddit OAuth app." : "Leave all fields empty to use default Nextcloud Reddit OAuth app.", 22 | "Create your own Reddit \"web application\" in Reddit preferences and put the application ID and secret below." : "Create your own Reddit \"web application\" in Reddit preferences and put the application ID and secret below.", 23 | "Reddit app settings" : "Reddit app settings", 24 | "Make sure you set the \"Redirection URI\" to" : "Make sure you set the \"Redirection URI\" to", 25 | "Create your own Reddit \"mobile application\" in Reddit preferences and put the application ID below. Leave the \"Application secret\" field empty." : "Create your own Reddit \"mobile application\" in Reddit preferences and put the application ID below. Leave the \"Application secret\" field empty.", 26 | "Application ID" : "Application ID", 27 | "Client ID of your Reddit application" : "Client ID of your Reddit application", 28 | "Application secret" : "Application secret", 29 | "Client secret of your Reddit application" : "Client secret of your Reddit application", 30 | "Successfully connected to Reddit!" : "Successfully connected to Reddit!", 31 | "Reddit OAuth error:" : "Reddit OAuth error:", 32 | "Nextcloud Reddit integration on {ncUrl}" : "Nextcloud Reddit integration on {ncUrl}", 33 | "Reddit options saved" : "Reddit options saved", 34 | "Failed to save Reddit options" : "Failed to save Reddit options", 35 | "Failed to save Reddit OAuth state" : "Failed to save Reddit OAuth state", 36 | "If you have trouble authenticating, ask your Nextcloud administrator to check Reddit admin settings." : "If you have trouble authenticating, ask your Nextcloud administrator to check Reddit admin settings.", 37 | "Make sure to accept the protocol registration on top of this page to allow authentication to Reddit." : "Make sure to accept the protocol registration on top of this page to allow authentication to Reddit.", 38 | "With Chrome/Chromium, you should see a popup on browser top-left to authorize this page to open \"web+nextcloudreddit\" links." : "With Chrome/Chromium, you should see a popup on browser top-left to authorise this page to open \"web+nextcloudreddit\" links.", 39 | "If you don't see the popup, you can still click on this icon in the address bar." : "If you don't see the popup, you can still click on this icon in the address bar.", 40 | "Then authorize this page to open \"web+nextcloudreddit\" links." : "Then authorise this page to open \"web+nextcloudreddit\" links.", 41 | "If you still don't manage to get the protocol registered, check your settings on this page:" : "If you still don't manage to get the protocol registered, check your settings on this page:", 42 | "With Firefox, you should see a bar on top of this page to authorize this page to open \"web+nextcloudreddit\" links." : "With Firefox, you should see a bar on top of this page to authorise this page to open \"web+nextcloudreddit\" links.", 43 | "Connect to Reddit" : "Connect to Reddit", 44 | "Connected as {user}" : "Connected as {user}", 45 | "Disconnect from Reddit" : "Disconnect from Reddit", 46 | "You must access this page with HTTPS to be able to authenticate to Reddit." : "You must access this page with HTTPS to be able to authenticate to Reddit.", 47 | "No Reddit account connected" : "No Reddit account connected", 48 | "Error connecting to Reddit" : "Error connecting to Reddit", 49 | "No Reddit news!" : "No Reddit news!" 50 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 51 | } -------------------------------------------------------------------------------- /l10n/et_EE.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "integration_reddit", 3 | { 4 | "Bad HTTP method" : "Vigane HTTP-meetod", 5 | "Bad credentials" : "Vale kasutajanimi, salasõna või tunnusluba", 6 | "Connected accounts" : "Ühendatud kasutajakontod", 7 | "Application ID" : "Rakenduse tunnus", 8 | "Application secret" : "Rakenduse saladus", 9 | "Connected as {user}" : "Ühendatud kui {user}" 10 | }, 11 | "nplurals=2; plural=(n != 1);"); 12 | -------------------------------------------------------------------------------- /l10n/et_EE.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Bad HTTP method" : "Vigane HTTP-meetod", 3 | "Bad credentials" : "Vale kasutajanimi, salasõna või tunnusluba", 4 | "Connected accounts" : "Ühendatud kasutajakontod", 5 | "Application ID" : "Rakenduse tunnus", 6 | "Application secret" : "Rakenduse saladus", 7 | "Connected as {user}" : "Ühendatud kui {user}" 8 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 9 | } -------------------------------------------------------------------------------- /l10n/eu.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "integration_reddit", 3 | { 4 | "Error during OAuth exchanges" : "Errorea QAuth trukeak egitean", 5 | "Error getting OAuth access token" : "Errorea OAuth sarbide tokena eskuratzen", 6 | "Reddit news" : "Reddit albisteak", 7 | "Reddit posts" : "Reddit argitalpenak", 8 | "Subreddits" : "Subredditak", 9 | "Bad HTTP method" : "HTTP metodo okerra", 10 | "Bad credentials" : "Kredentzial okerrak", 11 | "Failed to get Reddit news" : "Ezin izan dira Reddit albisteak jaso", 12 | "OAuth access token refused" : "QAuth sarbide tokena ukatua izan da", 13 | "Connected accounts" : "Konektaturiko kontuak", 14 | "Reddit integration" : "Reddit integrazioa", 15 | "Integration of Reddit social news aggregation service" : "Reddit albiste sozialen agregatze zerbitzuaren integrazioa", 16 | "Reddit integration provides a dashboard widget displaying your recent subscribed news." : "Reddit integrazioak zure harpidetzetako argitalpen berriak erakusten dituen panel-trepeta eskaintzen du.", 17 | "Reddit admin options saved" : "Reddit administratzaile aukerak ondo gorde dira", 18 | "Failed to save Reddit admin options" : "Reddit administratzaile aukerak gordetzeak huts egin du", 19 | "There are 3 ways to allow your Nextcloud users to use OAuth to authenticate to Reddit:" : "3 modu daude zure Nextcloud erabiltzaileek Reddit-era autentifikatzeko OAuth erabil dezaten:", 20 | "Leave all fields empty to use default Nextcloud Reddit OAuth app." : "Utzi eremu guztiak hutsik, Nextclouden Reddit OAuth aplikazio lehenetsia erabiltzeko.", 21 | "Create your own Reddit \"web application\" in Reddit preferences and put the application ID and secret below." : "Sortu zeure Reddit \"web aplikazioa\" Reddit-eko ezarpenetan eta jarri behean aplikazioaren IDa eta sekretua.", 22 | "Reddit app settings" : "Reddit aplikazioaren ezarpenak", 23 | "Make sure you set the \"Redirection URI\" to" : "Ziurtatu \"Birbideratze URLa\" ezartzen duzula hona:", 24 | "Create your own Reddit \"mobile application\" in Reddit preferences and put the application ID below. Leave the \"Application secret\" field empty." : "Sortu zeure \"mugikorrerako aplikazioa\" Reddit ezarpenetan eta jarri behean aplikazioaren IDa. Utzi \"Aplikazioaren sekretua\" eremua hutsik.", 25 | "Application ID" : "Aplikazio ID", 26 | "Client ID of your Reddit application" : "Zure Reddit aplikazioaren IDa", 27 | "Application secret" : "Aplikazio-sekretua", 28 | "Client secret of your Reddit application" : "Zure Reddit aplikazioaren bezero-sekretua", 29 | "Successfully connected to Reddit!" : "Ondo konektatu da Reddit-ekin!", 30 | "Reddit OAuth error:" : "Reddit OAuth errorea:", 31 | "Nextcloud Reddit integration on {ncUrl}" : "Nextcloud Reddit integrazioa {ncUrl} -n", 32 | "Reddit options saved" : "Reddit aukerak ondo gorde dira", 33 | "Failed to save Reddit options" : "Reddit aukerak gordetzeak huts egin du", 34 | "Failed to save Reddit OAuth state" : "Reddit OAuth egoera gordetzeak huts egin du", 35 | "If you have trouble authenticating, ask your Nextcloud administrator to check Reddit admin settings." : "Arazorik baduzu autentifikatzeko, jarri harremanetan zure administratzailearekin Reddit administratzaile ezarpenak begiratu ditzan.", 36 | "Make sure to accept the protocol registration on top of this page to allow authentication to Reddit." : "Ziurtatu protokoloaren erregistroa onartu duzula orrialde honen goiko aldean, Reddit-en autentifikatu ahal izateko.", 37 | "With Chrome/Chromium, you should see a popup on browser top-left to authorize this page to open \"web+nextcloudreddit\" links." : "Chrome/Chromium-ekin, laster-leiho bat ikusi beharko zenuke nabigatzailearen goiko-ezkerreko aldean, orri honi \"web+nextcloudreddit\" estekak irekitzeko baimena emateko.", 38 | "If you don't see the popup, you can still click on this icon in the address bar." : "Popup-a ikusten ez baduzu, ikono honetan klik egin dezakezu helbide-barran.", 39 | "Then authorize this page to open \"web+nextcloudreddit\" links." : "Ondoren, baimendu orri honi \"web+nextcloudreddit\" estekak irekitzeko.", 40 | "If you still don't manage to get the protocol registered, check your settings on this page:" : "Protokoloa erregistratzen lortzen ez baduzu, egiaztatu ezarpenak orri honetan:", 41 | "With Firefox, you should see a bar on top of this page to authorize this page to open \"web+nextcloudreddit\" links." : "Firefox-ekin, orri honen gainean barra bat ikusi beharko zenuke orrialde honi \"web+nextcloudreddit\" estekak irekitzeko baimena emateko.", 42 | "Connect to Reddit" : "Konektatu Reddit-era", 43 | "Connected as {user}" : "{user} gisa konektatuta", 44 | "Disconnect from Reddit" : "Deskonektatu Reddit-etik", 45 | "You must access this page with HTTPS to be able to authenticate to Reddit." : "Orri honetara HTTPS bidez sartu behar duzu, Reddit-era autentifikatu ahal izateko.", 46 | "No Reddit account connected" : "Ez dago Reddit konturik konektatuta", 47 | "Error connecting to Reddit" : "Errorea Reddit-era konektatzean", 48 | "No Reddit news!" : "Ez dago Reddit albisterik!" 49 | }, 50 | "nplurals=2; plural=(n != 1);"); 51 | -------------------------------------------------------------------------------- /l10n/eu.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Error during OAuth exchanges" : "Errorea QAuth trukeak egitean", 3 | "Error getting OAuth access token" : "Errorea OAuth sarbide tokena eskuratzen", 4 | "Reddit news" : "Reddit albisteak", 5 | "Reddit posts" : "Reddit argitalpenak", 6 | "Subreddits" : "Subredditak", 7 | "Bad HTTP method" : "HTTP metodo okerra", 8 | "Bad credentials" : "Kredentzial okerrak", 9 | "Failed to get Reddit news" : "Ezin izan dira Reddit albisteak jaso", 10 | "OAuth access token refused" : "QAuth sarbide tokena ukatua izan da", 11 | "Connected accounts" : "Konektaturiko kontuak", 12 | "Reddit integration" : "Reddit integrazioa", 13 | "Integration of Reddit social news aggregation service" : "Reddit albiste sozialen agregatze zerbitzuaren integrazioa", 14 | "Reddit integration provides a dashboard widget displaying your recent subscribed news." : "Reddit integrazioak zure harpidetzetako argitalpen berriak erakusten dituen panel-trepeta eskaintzen du.", 15 | "Reddit admin options saved" : "Reddit administratzaile aukerak ondo gorde dira", 16 | "Failed to save Reddit admin options" : "Reddit administratzaile aukerak gordetzeak huts egin du", 17 | "There are 3 ways to allow your Nextcloud users to use OAuth to authenticate to Reddit:" : "3 modu daude zure Nextcloud erabiltzaileek Reddit-era autentifikatzeko OAuth erabil dezaten:", 18 | "Leave all fields empty to use default Nextcloud Reddit OAuth app." : "Utzi eremu guztiak hutsik, Nextclouden Reddit OAuth aplikazio lehenetsia erabiltzeko.", 19 | "Create your own Reddit \"web application\" in Reddit preferences and put the application ID and secret below." : "Sortu zeure Reddit \"web aplikazioa\" Reddit-eko ezarpenetan eta jarri behean aplikazioaren IDa eta sekretua.", 20 | "Reddit app settings" : "Reddit aplikazioaren ezarpenak", 21 | "Make sure you set the \"Redirection URI\" to" : "Ziurtatu \"Birbideratze URLa\" ezartzen duzula hona:", 22 | "Create your own Reddit \"mobile application\" in Reddit preferences and put the application ID below. Leave the \"Application secret\" field empty." : "Sortu zeure \"mugikorrerako aplikazioa\" Reddit ezarpenetan eta jarri behean aplikazioaren IDa. Utzi \"Aplikazioaren sekretua\" eremua hutsik.", 23 | "Application ID" : "Aplikazio ID", 24 | "Client ID of your Reddit application" : "Zure Reddit aplikazioaren IDa", 25 | "Application secret" : "Aplikazio-sekretua", 26 | "Client secret of your Reddit application" : "Zure Reddit aplikazioaren bezero-sekretua", 27 | "Successfully connected to Reddit!" : "Ondo konektatu da Reddit-ekin!", 28 | "Reddit OAuth error:" : "Reddit OAuth errorea:", 29 | "Nextcloud Reddit integration on {ncUrl}" : "Nextcloud Reddit integrazioa {ncUrl} -n", 30 | "Reddit options saved" : "Reddit aukerak ondo gorde dira", 31 | "Failed to save Reddit options" : "Reddit aukerak gordetzeak huts egin du", 32 | "Failed to save Reddit OAuth state" : "Reddit OAuth egoera gordetzeak huts egin du", 33 | "If you have trouble authenticating, ask your Nextcloud administrator to check Reddit admin settings." : "Arazorik baduzu autentifikatzeko, jarri harremanetan zure administratzailearekin Reddit administratzaile ezarpenak begiratu ditzan.", 34 | "Make sure to accept the protocol registration on top of this page to allow authentication to Reddit." : "Ziurtatu protokoloaren erregistroa onartu duzula orrialde honen goiko aldean, Reddit-en autentifikatu ahal izateko.", 35 | "With Chrome/Chromium, you should see a popup on browser top-left to authorize this page to open \"web+nextcloudreddit\" links." : "Chrome/Chromium-ekin, laster-leiho bat ikusi beharko zenuke nabigatzailearen goiko-ezkerreko aldean, orri honi \"web+nextcloudreddit\" estekak irekitzeko baimena emateko.", 36 | "If you don't see the popup, you can still click on this icon in the address bar." : "Popup-a ikusten ez baduzu, ikono honetan klik egin dezakezu helbide-barran.", 37 | "Then authorize this page to open \"web+nextcloudreddit\" links." : "Ondoren, baimendu orri honi \"web+nextcloudreddit\" estekak irekitzeko.", 38 | "If you still don't manage to get the protocol registered, check your settings on this page:" : "Protokoloa erregistratzen lortzen ez baduzu, egiaztatu ezarpenak orri honetan:", 39 | "With Firefox, you should see a bar on top of this page to authorize this page to open \"web+nextcloudreddit\" links." : "Firefox-ekin, orri honen gainean barra bat ikusi beharko zenuke orrialde honi \"web+nextcloudreddit\" estekak irekitzeko baimena emateko.", 40 | "Connect to Reddit" : "Konektatu Reddit-era", 41 | "Connected as {user}" : "{user} gisa konektatuta", 42 | "Disconnect from Reddit" : "Deskonektatu Reddit-etik", 43 | "You must access this page with HTTPS to be able to authenticate to Reddit." : "Orri honetara HTTPS bidez sartu behar duzu, Reddit-era autentifikatu ahal izateko.", 44 | "No Reddit account connected" : "Ez dago Reddit konturik konektatuta", 45 | "Error connecting to Reddit" : "Errorea Reddit-era konektatzean", 46 | "No Reddit news!" : "Ez dago Reddit albisterik!" 47 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 48 | } -------------------------------------------------------------------------------- /l10n/fa.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "integration_reddit", 3 | { 4 | "Error during OAuth exchanges" : "خطا در هنگام تبادل OAuth", 5 | "Error getting OAuth access token" : "Error getting OAuth access token", 6 | "Reddit news" : "Reddit news", 7 | "Comment from %1$s in %2$s" : "Comment from %1$s in %2$s", 8 | "Reddit publications and subreddits" : "Reddit publications and subreddits", 9 | "By @%1$s in %2$s" : "By @%1$s in %2$s", 10 | "Reddit posts" : "Reddit posts", 11 | "Subreddits" : "Subreddits", 12 | "Bad HTTP method" : "روش HTTP بد", 13 | "Bad credentials" : "اعتبارنامه بد", 14 | "Failed to get Reddit news" : "Failed to get Reddit news", 15 | "OAuth access token refused" : "نشانه دسترسی OAuth رد شد", 16 | "Connected accounts" : "حساب‌های متصل", 17 | "Reddit integration" : "Reddit integration", 18 | "Integration of Reddit social news aggregation service" : "Integration of Reddit social news aggregation service", 19 | "Reddit integration provides a dashboard widget displaying your recent subscribed news." : "Reddit integration provides a dashboard widget displaying your recent subscribed news.", 20 | "Reddit admin options saved" : "Reddit admin options saved", 21 | "Failed to save Reddit admin options" : "Failed to save Reddit admin options", 22 | "There are 3 ways to allow your Nextcloud users to use OAuth to authenticate to Reddit:" : "There are 3 ways to allow your Nextcloud users to use OAuth to authenticate to Reddit:", 23 | "Leave all fields empty to use default Nextcloud Reddit OAuth app." : "Leave all fields empty to use default Nextcloud Reddit OAuth app.", 24 | "Create your own Reddit \"web application\" in Reddit preferences and put the application ID and secret below." : "Create your own Reddit \"web application\" in Reddit preferences and put the application ID and secret below.", 25 | "Reddit app settings" : "Reddit app settings", 26 | "Make sure you set the \"Redirection URI\" to" : "Make sure you set the \"Redirection URI\" to", 27 | "Create your own Reddit \"mobile application\" in Reddit preferences and put the application ID below. Leave the \"Application secret\" field empty." : "Create your own Reddit \"mobile application\" in Reddit preferences and put the application ID below. Leave the \"Application secret\" field empty.", 28 | "Application ID" : "Application ID", 29 | "Client ID of your Reddit application" : "Client ID of your Reddit application", 30 | "Application secret" : "Application secret", 31 | "Client secret of your Reddit application" : "Client secret of your Reddit application", 32 | "Successfully connected to Reddit!" : "Successfully connected to Reddit!", 33 | "Reddit OAuth error:" : "Reddit OAuth error:", 34 | "Nextcloud Reddit integration on {ncUrl}" : "Nextcloud Reddit integration on {ncUrl}", 35 | "Reddit options saved" : "Reddit options saved", 36 | "Failed to save Reddit options" : "Failed to save Reddit options", 37 | "Failed to save Reddit OAuth state" : "Failed to save Reddit OAuth state", 38 | "If you have trouble authenticating, ask your Nextcloud administrator to check Reddit admin settings." : "If you have trouble authenticating, ask your Nextcloud administrator to check Reddit admin settings.", 39 | "Make sure to accept the protocol registration on top of this page to allow authentication to Reddit." : "Make sure to accept the protocol registration on top of this page to allow authentication to Reddit.", 40 | "With Chrome/Chromium, you should see a popup on browser top-left to authorize this page to open \"web+nextcloudreddit\" links." : "With Chrome/Chromium, you should see a popup on browser top-left to authorize this page to open \"web+nextcloudreddit\" links.", 41 | "If you don't see the popup, you can still click on this icon in the address bar." : "If you don't see the popup, you can still click on this icon in the address bar.", 42 | "Then authorize this page to open \"web+nextcloudreddit\" links." : "Then authorize this page to open \"web+nextcloudreddit\" links.", 43 | "If you still don't manage to get the protocol registered, check your settings on this page:" : "If you still don't manage to get the protocol registered, check your settings on this page:", 44 | "With Firefox, you should see a bar on top of this page to authorize this page to open \"web+nextcloudreddit\" links." : "With Firefox, you should see a bar on top of this page to authorize this page to open \"web+nextcloudreddit\" links.", 45 | "Connect to Reddit" : "Connect to Reddit", 46 | "Connected as {user}" : "متصل به عنوان {user}", 47 | "Disconnect from Reddit" : "Disconnect from Reddit", 48 | "You must access this page with HTTPS to be able to authenticate to Reddit." : "You must access this page with HTTPS to be able to authenticate to Reddit.", 49 | "No Reddit account connected" : "No Reddit account connected", 50 | "Error connecting to Reddit" : "Error connecting to Reddit", 51 | "No Reddit news!" : "No Reddit news!" 52 | }, 53 | "nplurals=2; plural=(n > 1);"); 54 | -------------------------------------------------------------------------------- /l10n/fa.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Error during OAuth exchanges" : "خطا در هنگام تبادل OAuth", 3 | "Error getting OAuth access token" : "Error getting OAuth access token", 4 | "Reddit news" : "Reddit news", 5 | "Comment from %1$s in %2$s" : "Comment from %1$s in %2$s", 6 | "Reddit publications and subreddits" : "Reddit publications and subreddits", 7 | "By @%1$s in %2$s" : "By @%1$s in %2$s", 8 | "Reddit posts" : "Reddit posts", 9 | "Subreddits" : "Subreddits", 10 | "Bad HTTP method" : "روش HTTP بد", 11 | "Bad credentials" : "اعتبارنامه بد", 12 | "Failed to get Reddit news" : "Failed to get Reddit news", 13 | "OAuth access token refused" : "نشانه دسترسی OAuth رد شد", 14 | "Connected accounts" : "حساب‌های متصل", 15 | "Reddit integration" : "Reddit integration", 16 | "Integration of Reddit social news aggregation service" : "Integration of Reddit social news aggregation service", 17 | "Reddit integration provides a dashboard widget displaying your recent subscribed news." : "Reddit integration provides a dashboard widget displaying your recent subscribed news.", 18 | "Reddit admin options saved" : "Reddit admin options saved", 19 | "Failed to save Reddit admin options" : "Failed to save Reddit admin options", 20 | "There are 3 ways to allow your Nextcloud users to use OAuth to authenticate to Reddit:" : "There are 3 ways to allow your Nextcloud users to use OAuth to authenticate to Reddit:", 21 | "Leave all fields empty to use default Nextcloud Reddit OAuth app." : "Leave all fields empty to use default Nextcloud Reddit OAuth app.", 22 | "Create your own Reddit \"web application\" in Reddit preferences and put the application ID and secret below." : "Create your own Reddit \"web application\" in Reddit preferences and put the application ID and secret below.", 23 | "Reddit app settings" : "Reddit app settings", 24 | "Make sure you set the \"Redirection URI\" to" : "Make sure you set the \"Redirection URI\" to", 25 | "Create your own Reddit \"mobile application\" in Reddit preferences and put the application ID below. Leave the \"Application secret\" field empty." : "Create your own Reddit \"mobile application\" in Reddit preferences and put the application ID below. Leave the \"Application secret\" field empty.", 26 | "Application ID" : "Application ID", 27 | "Client ID of your Reddit application" : "Client ID of your Reddit application", 28 | "Application secret" : "Application secret", 29 | "Client secret of your Reddit application" : "Client secret of your Reddit application", 30 | "Successfully connected to Reddit!" : "Successfully connected to Reddit!", 31 | "Reddit OAuth error:" : "Reddit OAuth error:", 32 | "Nextcloud Reddit integration on {ncUrl}" : "Nextcloud Reddit integration on {ncUrl}", 33 | "Reddit options saved" : "Reddit options saved", 34 | "Failed to save Reddit options" : "Failed to save Reddit options", 35 | "Failed to save Reddit OAuth state" : "Failed to save Reddit OAuth state", 36 | "If you have trouble authenticating, ask your Nextcloud administrator to check Reddit admin settings." : "If you have trouble authenticating, ask your Nextcloud administrator to check Reddit admin settings.", 37 | "Make sure to accept the protocol registration on top of this page to allow authentication to Reddit." : "Make sure to accept the protocol registration on top of this page to allow authentication to Reddit.", 38 | "With Chrome/Chromium, you should see a popup on browser top-left to authorize this page to open \"web+nextcloudreddit\" links." : "With Chrome/Chromium, you should see a popup on browser top-left to authorize this page to open \"web+nextcloudreddit\" links.", 39 | "If you don't see the popup, you can still click on this icon in the address bar." : "If you don't see the popup, you can still click on this icon in the address bar.", 40 | "Then authorize this page to open \"web+nextcloudreddit\" links." : "Then authorize this page to open \"web+nextcloudreddit\" links.", 41 | "If you still don't manage to get the protocol registered, check your settings on this page:" : "If you still don't manage to get the protocol registered, check your settings on this page:", 42 | "With Firefox, you should see a bar on top of this page to authorize this page to open \"web+nextcloudreddit\" links." : "With Firefox, you should see a bar on top of this page to authorize this page to open \"web+nextcloudreddit\" links.", 43 | "Connect to Reddit" : "Connect to Reddit", 44 | "Connected as {user}" : "متصل به عنوان {user}", 45 | "Disconnect from Reddit" : "Disconnect from Reddit", 46 | "You must access this page with HTTPS to be able to authenticate to Reddit." : "You must access this page with HTTPS to be able to authenticate to Reddit.", 47 | "No Reddit account connected" : "No Reddit account connected", 48 | "Error connecting to Reddit" : "Error connecting to Reddit", 49 | "No Reddit news!" : "No Reddit news!" 50 | },"pluralForm" :"nplurals=2; plural=(n > 1);" 51 | } -------------------------------------------------------------------------------- /l10n/fi.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "integration_reddit", 3 | { 4 | "Error during OAuth exchanges" : "Virhe OAuth-tunnistautumisessa", 5 | "Error getting OAuth access token" : "Virhe OAuth-valtuutuksen haussa", 6 | "Reddit news" : "Reddit-uutiset", 7 | "Bad HTTP method" : "Virheellinen HTTP-metodi", 8 | "Bad credentials" : "Virheelliset kirjautumistiedot", 9 | "Failed to get Reddit news" : "Reddit-uutisten haku epäonnistui", 10 | "OAuth access token refused" : "OAuth-valtuutus hylätty", 11 | "Connected accounts" : "Yhdistetyt tilit", 12 | "Reddit integration" : "Reddit-integraatio", 13 | "Integration of Reddit social news aggregation service" : "Reddit-sosiaalisen uutisalustan integraatio", 14 | "Reddit admin options saved" : "Redditin ylläpitoasetukset tallennettu", 15 | "Failed to save Reddit admin options" : "Redditin ylläpitoasetusten tallentaminen epäonnistui", 16 | "There are 3 ways to allow your Nextcloud users to use OAuth to authenticate to Reddit:" : "Redditin OAuth-valtuutuksen hyväksymiseen on kolme eri tapaa:", 17 | "Leave all fields empty to use default Nextcloud Reddit OAuth app." : "Jätä kaikki kentät tyhjäksi käyttääksesi Nextcloudin oletus-Reddit OAuth-sovellusta.", 18 | "Create your own Reddit \"web application\" in Reddit preferences and put the application ID and secret below." : "Luo oma Reddit \"web-sovellus\" Redditin asetuksissa ja lisää \"application ID\" ja \"secret\" alle.", 19 | "Reddit app settings" : "Reddit-sovelluksen asetukset", 20 | "Make sure you set the \"Redirection URI\" to" : "Määritä \"Redirection URI\" kohtaan", 21 | "Create your own Reddit \"mobile application\" in Reddit preferences and put the application ID below. Leave the \"Application secret\" field empty." : "Luo oma Reddit \"mobiilisovellus\" in Redditin asetuksissa ja lisää \"application ID\" below. Jätä \"Application secret\" tyhjäksi.", 22 | "Application ID" : "Application ID", 23 | "Client ID of your Reddit application" : "Reddit-sovelluksesi Client ID", 24 | "Application secret" : "Application secret", 25 | "Client secret of your Reddit application" : "Reddit-sovelluksesi \"Client secret\"", 26 | "Successfully connected to Reddit!" : "Yhdistetty Redditiin!", 27 | "Reddit OAuth error:" : "Reddit OAuth-virhe:", 28 | "Nextcloud Reddit integration on {ncUrl}" : "Nextcloud Reddit integraatio osoitteessa {ncUrl}", 29 | "Reddit options saved" : "Reddit-asetukset tallennettu", 30 | "Failed to save Reddit options" : "Reddit-asetusten tallentaminen epäonnistui", 31 | "Failed to save Reddit OAuth state" : "Redditin OAuth-tilan tallennus epäonnistui", 32 | "If you have trouble authenticating, ask your Nextcloud administrator to check Reddit admin settings." : "Jos todennuksessa on ongelmia, pyydä Nextcloud-ylläpitäjääsi tarkistamaan Redditin ylläpitoasetukset.", 33 | "Then authorize this page to open \"web+nextcloudreddit\" links." : "Sen jälkeen valtuuta tämä sivu avaamaan \"web+nextcloudreddit\"-linkit.", 34 | "Connect to Reddit" : "Yhdistä Redditiin", 35 | "Connected as {user}" : "Yhdistetty käyttäjänä {user}", 36 | "Disconnect from Reddit" : "Katkaise yhteys Redditiin", 37 | "You must access this page with HTTPS to be able to authenticate to Reddit." : "Jotta Reddit-todentaminen on mahdollista, tätä sivua tulee käyttää HTTPS:n kautta.", 38 | "No Reddit account connected" : "Reddit-tiliä ei ole yhdistetty", 39 | "Error connecting to Reddit" : "Virhe yhdistäessä Redditiin", 40 | "No Reddit news!" : "Ei Reddit-uutisia!" 41 | }, 42 | "nplurals=2; plural=(n != 1);"); 43 | -------------------------------------------------------------------------------- /l10n/fi.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Error during OAuth exchanges" : "Virhe OAuth-tunnistautumisessa", 3 | "Error getting OAuth access token" : "Virhe OAuth-valtuutuksen haussa", 4 | "Reddit news" : "Reddit-uutiset", 5 | "Bad HTTP method" : "Virheellinen HTTP-metodi", 6 | "Bad credentials" : "Virheelliset kirjautumistiedot", 7 | "Failed to get Reddit news" : "Reddit-uutisten haku epäonnistui", 8 | "OAuth access token refused" : "OAuth-valtuutus hylätty", 9 | "Connected accounts" : "Yhdistetyt tilit", 10 | "Reddit integration" : "Reddit-integraatio", 11 | "Integration of Reddit social news aggregation service" : "Reddit-sosiaalisen uutisalustan integraatio", 12 | "Reddit admin options saved" : "Redditin ylläpitoasetukset tallennettu", 13 | "Failed to save Reddit admin options" : "Redditin ylläpitoasetusten tallentaminen epäonnistui", 14 | "There are 3 ways to allow your Nextcloud users to use OAuth to authenticate to Reddit:" : "Redditin OAuth-valtuutuksen hyväksymiseen on kolme eri tapaa:", 15 | "Leave all fields empty to use default Nextcloud Reddit OAuth app." : "Jätä kaikki kentät tyhjäksi käyttääksesi Nextcloudin oletus-Reddit OAuth-sovellusta.", 16 | "Create your own Reddit \"web application\" in Reddit preferences and put the application ID and secret below." : "Luo oma Reddit \"web-sovellus\" Redditin asetuksissa ja lisää \"application ID\" ja \"secret\" alle.", 17 | "Reddit app settings" : "Reddit-sovelluksen asetukset", 18 | "Make sure you set the \"Redirection URI\" to" : "Määritä \"Redirection URI\" kohtaan", 19 | "Create your own Reddit \"mobile application\" in Reddit preferences and put the application ID below. Leave the \"Application secret\" field empty." : "Luo oma Reddit \"mobiilisovellus\" in Redditin asetuksissa ja lisää \"application ID\" below. Jätä \"Application secret\" tyhjäksi.", 20 | "Application ID" : "Application ID", 21 | "Client ID of your Reddit application" : "Reddit-sovelluksesi Client ID", 22 | "Application secret" : "Application secret", 23 | "Client secret of your Reddit application" : "Reddit-sovelluksesi \"Client secret\"", 24 | "Successfully connected to Reddit!" : "Yhdistetty Redditiin!", 25 | "Reddit OAuth error:" : "Reddit OAuth-virhe:", 26 | "Nextcloud Reddit integration on {ncUrl}" : "Nextcloud Reddit integraatio osoitteessa {ncUrl}", 27 | "Reddit options saved" : "Reddit-asetukset tallennettu", 28 | "Failed to save Reddit options" : "Reddit-asetusten tallentaminen epäonnistui", 29 | "Failed to save Reddit OAuth state" : "Redditin OAuth-tilan tallennus epäonnistui", 30 | "If you have trouble authenticating, ask your Nextcloud administrator to check Reddit admin settings." : "Jos todennuksessa on ongelmia, pyydä Nextcloud-ylläpitäjääsi tarkistamaan Redditin ylläpitoasetukset.", 31 | "Then authorize this page to open \"web+nextcloudreddit\" links." : "Sen jälkeen valtuuta tämä sivu avaamaan \"web+nextcloudreddit\"-linkit.", 32 | "Connect to Reddit" : "Yhdistä Redditiin", 33 | "Connected as {user}" : "Yhdistetty käyttäjänä {user}", 34 | "Disconnect from Reddit" : "Katkaise yhteys Redditiin", 35 | "You must access this page with HTTPS to be able to authenticate to Reddit." : "Jotta Reddit-todentaminen on mahdollista, tätä sivua tulee käyttää HTTPS:n kautta.", 36 | "No Reddit account connected" : "Reddit-tiliä ei ole yhdistetty", 37 | "Error connecting to Reddit" : "Virhe yhdistäessä Redditiin", 38 | "No Reddit news!" : "Ei Reddit-uutisia!" 39 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 40 | } -------------------------------------------------------------------------------- /l10n/he.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "integration_reddit", 3 | { 4 | "Error during OAuth exchanges" : "שגיאה במהלך החלפות OAuth", 5 | "Error getting OAuth access token" : "שגיאה בקבלת אסימון גישה עם OAuth", 6 | "Reddit news" : "חדשות Reddit", 7 | "Bad HTTP method" : "שגיאה במתודת HTTP", 8 | "Bad credentials" : "פרטי גישה שגויים", 9 | "OAuth access token refused" : "אסימון הגישה ב־OAuth סורב", 10 | "Connected accounts" : "חשבונות מקוונים", 11 | "Reddit integration" : "שילוב Reddit", 12 | "If you don't see the popup, you can still click on this icon in the address bar." : "אם אינך רואה את החלון הקופץ, תוכל עדיין ללחוץ על סמל זה בשורת הכתובת.", 13 | "If you still don't manage to get the protocol registered, check your settings on this page:" : "אם אתה עדיין לא מצליח לרשום את הפרוטוקול, בדוק את ההגדרות שלך בדף זה:" 14 | }, 15 | "nplurals=3; plural=(n == 1 && n % 1 == 0) ? 0 : (n == 2 && n % 1 == 0) ? 1: 2;"); 16 | -------------------------------------------------------------------------------- /l10n/he.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Error during OAuth exchanges" : "שגיאה במהלך החלפות OAuth", 3 | "Error getting OAuth access token" : "שגיאה בקבלת אסימון גישה עם OAuth", 4 | "Reddit news" : "חדשות Reddit", 5 | "Bad HTTP method" : "שגיאה במתודת HTTP", 6 | "Bad credentials" : "פרטי גישה שגויים", 7 | "OAuth access token refused" : "אסימון הגישה ב־OAuth סורב", 8 | "Connected accounts" : "חשבונות מקוונים", 9 | "Reddit integration" : "שילוב Reddit", 10 | "If you don't see the popup, you can still click on this icon in the address bar." : "אם אינך רואה את החלון הקופץ, תוכל עדיין ללחוץ על סמל זה בשורת הכתובת.", 11 | "If you still don't manage to get the protocol registered, check your settings on this page:" : "אם אתה עדיין לא מצליח לרשום את הפרוטוקול, בדוק את ההגדרות שלך בדף זה:" 12 | },"pluralForm" :"nplurals=3; plural=(n == 1 && n % 1 == 0) ? 0 : (n == 2 && n % 1 == 0) ? 1: 2;" 13 | } -------------------------------------------------------------------------------- /l10n/hr.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Error during OAuth exchanges" : "Pogreška tijekom razmjene radi autentifikacije OAuth", 3 | "Error getting OAuth access token" : "Pogreška pri dohvaćanju tokena za pristup OAuth", 4 | "Reddit news" : "Reddit vijesti", 5 | "Bad HTTP method" : "Pogrešna metoda HTTP-a", 6 | "Bad credentials" : "Pogrešne vjerodajnice", 7 | "Failed to get Reddit news" : "Dohvaćanje Reddit vijesti nije uspjelo", 8 | "OAuth access token refused" : "Odbijen token za pristup OAuth", 9 | "Connected accounts" : "Povezani računi", 10 | "Reddit integration" : "Reddit integracija", 11 | "Integration of Reddit social news aggregation service" : "Integracija servisa za društvenu agregaciju vijesti Reddit", 12 | "Reddit integration provides a dashboard widget displaying your recent subscribed news." : "Reddit integracija omogućuje postavljanje widgeta na nadzornu ploču koji prikazuje najnovije vijesti na koje ste pretplaćeni.", 13 | "Reddit admin options saved" : "Administratorske postavke Reddita su spremljene", 14 | "Failed to save Reddit admin options" : "Spremanje administratorskih postavki Reddita nije uspjelo", 15 | "There are 3 ways to allow your Nextcloud users to use OAuth to authenticate to Reddit:" : "Postoje 3 načina kojim možete svojim korisnicima Nextclouda omogućiti autentifikaciju na Reddit putem aplikacije OAuth:", 16 | "Leave all fields empty to use default Nextcloud Reddit OAuth app." : "Ostavite sva polja prazna kako biste se koristili zadanom aplikacijom Nextcloud Reddit OAuth.", 17 | "Create your own Reddit \"web application\" in Reddit preferences and put the application ID and secret below." : "Stvorite vlastitu „web aplikaciju“ za Reddit u postavkama Reddita i unesite ID aplikacije i tajni ključ u nastavku.", 18 | "Reddit app settings" : "Postavke aplikacije Reddit", 19 | "Make sure you set the \"Redirection URI\" to" : "Obavezno postavite „URI za preusmjeravanje“ na", 20 | "Create your own Reddit \"mobile application\" in Reddit preferences and put the application ID below. Leave the \"Application secret\" field empty." : "Stvorite vlastitu „mobilnu aplikaciju“ za Reddit u postavkama Reddita i unesite ID aplikacije u nastavku. Ostavite polje „Tajni ključ aplikacije“ prazno.", 21 | "Application ID" : "ID aplikacije", 22 | "Client ID of your Reddit application" : "ID klijenta vaše aplikacije Reddit", 23 | "Application secret" : "Tajni ključ aplikacije", 24 | "Client secret of your Reddit application" : "Tajni ključ klijenta vaše aplikacije Reddit", 25 | "Successfully connected to Reddit!" : "Uspješno povezivanje s Redditom!", 26 | "Reddit OAuth error:" : "Reddit OAuth pogreška:", 27 | "Nextcloud Reddit integration on {ncUrl}" : "Nextcloud Reddit integracija na {ncUrl}", 28 | "Reddit options saved" : "Postavke Reddita su spremljene", 29 | "Failed to save Reddit options" : "Spremanje postavki Reddita nije uspjelo", 30 | "Failed to save Reddit OAuth state" : "Spremanje stanja Reddit OAuth nije uspjelo", 31 | "If you have trouble authenticating, ask your Nextcloud administrator to check Reddit admin settings." : "Ako imate poteškoća s autentifikacijom, zatražite od administratora Nextclouda da provjeri administratorske postavke Reddita.", 32 | "Make sure to accept the protocol registration on top of this page to allow authentication to Reddit." : "Provjerite jeste li prihvatili registraciju protokola na vrhu ove stranice ako želite dopustiti autentifikaciju na Reddit.", 33 | "With Chrome/Chromium, you should see a popup on browser top-left to authorize this page to open \"web+nextcloudreddit\" links." : "U pregledniku Chrome/Chromium biste trebali vidjeti skočni prozor s gornje lijeve strane preglednika putem kojeg možete ovlastiti ovu stranicu da otvara poveznice „web+nextcloudreddit“.", 34 | "If you don't see the popup, you can still click on this icon in the address bar." : "Ako ne vidite skočni prozor, možete kliknuti na ovu ikonu u adresnoj traci.", 35 | "Then authorize this page to open \"web+nextcloudreddit\" links." : "Zatim ovlastite stranicu da otvara poveznice „web+nextcloudreddit“.", 36 | "If you still don't manage to get the protocol registered, check your settings on this page:" : "Ako i dalje ne uspijevate registrirati protokol, provjerite postavke na ovoj stranici:", 37 | "With Firefox, you should see a bar on top of this page to authorize this page to open \"web+nextcloudreddit\" links." : "U pregledniku Firefox biste trebali vidjeti traku pri vrhu ove stranice putem koje možete ovlastiti ovu stranicu da otvara poveznice „web+nextcloudreddit“.", 38 | "Connect to Reddit" : "Poveži se s Redditom", 39 | "Connected as {user}" : "Povezan kao {user}", 40 | "Disconnect from Reddit" : "Odspoji se s Reddita", 41 | "You must access this page with HTTPS to be able to authenticate to Reddit." : "Morate pristupiti ovoj stranici putem HTTPS-a kako biste mogli izvesti autentifikaciju na Reddit.", 42 | "No Reddit account connected" : "Nema povezanih Reddit računa", 43 | "Error connecting to Reddit" : "Pogreška pri povezivanju s Redditom", 44 | "No Reddit news!" : "Nema Reddit vijesti!" 45 | },"pluralForm" :"nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;" 46 | } -------------------------------------------------------------------------------- /l10n/id.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "integration_reddit", 3 | { 4 | "Error during OAuth exchanges" : "Terjadi kesalahan saat penukaran OAuth", 5 | "Error getting OAuth access token" : "Terjadi kesalahan mendapatkan token akses OAuth", 6 | "Bad HTTP method" : "Metode HTTP tidak benar", 7 | "Bad credentials" : "Kredensial tidak benar", 8 | "OAuth access token refused" : "Token akses OAuth ditolak", 9 | "Connected accounts" : "Akun terhubung", 10 | "Application ID" : "ID aplikasi", 11 | "Application secret" : "Rahasia aplikasi", 12 | "Connected as {user}" : "Terhubung sebagai {user}" 13 | }, 14 | "nplurals=1; plural=0;"); 15 | -------------------------------------------------------------------------------- /l10n/id.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Error during OAuth exchanges" : "Terjadi kesalahan saat penukaran OAuth", 3 | "Error getting OAuth access token" : "Terjadi kesalahan mendapatkan token akses OAuth", 4 | "Bad HTTP method" : "Metode HTTP tidak benar", 5 | "Bad credentials" : "Kredensial tidak benar", 6 | "OAuth access token refused" : "Token akses OAuth ditolak", 7 | "Connected accounts" : "Akun terhubung", 8 | "Application ID" : "ID aplikasi", 9 | "Application secret" : "Rahasia aplikasi", 10 | "Connected as {user}" : "Terhubung sebagai {user}" 11 | },"pluralForm" :"nplurals=1; plural=0;" 12 | } -------------------------------------------------------------------------------- /l10n/is.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "integration_reddit", 3 | { 4 | "Error during OAuth exchanges" : "Villa í OAuth-samskiptum", 5 | "Error getting OAuth access token" : "Villa við að ná í OAuth-aðgangsteikn", 6 | "Bad credentials" : "Gölluð auðkenni", 7 | "OAuth access token refused" : "OAuth-aðgangsteikni hafnað", 8 | "Connected accounts" : "Tengdir aðgangar", 9 | "Connected as {user}" : "Tengt sem {user}" 10 | }, 11 | "nplurals=2; plural=(n % 10 != 1 || n % 100 == 11);"); 12 | -------------------------------------------------------------------------------- /l10n/is.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Error during OAuth exchanges" : "Villa í OAuth-samskiptum", 3 | "Error getting OAuth access token" : "Villa við að ná í OAuth-aðgangsteikn", 4 | "Bad credentials" : "Gölluð auðkenni", 5 | "OAuth access token refused" : "OAuth-aðgangsteikni hafnað", 6 | "Connected accounts" : "Tengdir aðgangar", 7 | "Connected as {user}" : "Tengt sem {user}" 8 | },"pluralForm" :"nplurals=2; plural=(n % 10 != 1 || n % 100 == 11);" 9 | } -------------------------------------------------------------------------------- /l10n/ja.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "integration_reddit", 3 | { 4 | "Error during OAuth exchanges" : "OAuth 通信中のエラー", 5 | "Error getting OAuth access token" : "OAuth アクセストークン取得時のエラー", 6 | "Reddit news" : "Reddit ニュース", 7 | "Bad HTTP method" : "不正なHTTPメソッド", 8 | "Bad credentials" : "不正な資格情報", 9 | "OAuth access token refused" : "OAuth アクセストークンが拒否されました", 10 | "Connected accounts" : "接続済みアカウント", 11 | "Reddit integration" : "Reddit の統合", 12 | "Reddit app settings" : "Redditアプリ設定", 13 | "Application ID" : "アプリケーション ID", 14 | "Application secret" : "アプリケーションシークレット", 15 | "Successfully connected to Reddit!" : "Redditへの接続に成功しました!", 16 | "If you don't see the popup, you can still click on this icon in the address bar." : "ポップアップが表示されない場合、アドレスバーのこのアイコンをクリックしてください。", 17 | "Connect to Reddit" : "Redditに接続", 18 | "Connected as {user}" : "{user} を接続済み", 19 | "Disconnect from Reddit" : "Redditから接続を解除", 20 | "No Reddit account connected" : "接続済みRedditアカウントがありません", 21 | "No Reddit news!" : "Redditニュースがありません!" 22 | }, 23 | "nplurals=1; plural=0;"); 24 | -------------------------------------------------------------------------------- /l10n/ja.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Error during OAuth exchanges" : "OAuth 通信中のエラー", 3 | "Error getting OAuth access token" : "OAuth アクセストークン取得時のエラー", 4 | "Reddit news" : "Reddit ニュース", 5 | "Bad HTTP method" : "不正なHTTPメソッド", 6 | "Bad credentials" : "不正な資格情報", 7 | "OAuth access token refused" : "OAuth アクセストークンが拒否されました", 8 | "Connected accounts" : "接続済みアカウント", 9 | "Reddit integration" : "Reddit の統合", 10 | "Reddit app settings" : "Redditアプリ設定", 11 | "Application ID" : "アプリケーション ID", 12 | "Application secret" : "アプリケーションシークレット", 13 | "Successfully connected to Reddit!" : "Redditへの接続に成功しました!", 14 | "If you don't see the popup, you can still click on this icon in the address bar." : "ポップアップが表示されない場合、アドレスバーのこのアイコンをクリックしてください。", 15 | "Connect to Reddit" : "Redditに接続", 16 | "Connected as {user}" : "{user} を接続済み", 17 | "Disconnect from Reddit" : "Redditから接続を解除", 18 | "No Reddit account connected" : "接続済みRedditアカウントがありません", 19 | "No Reddit news!" : "Redditニュースがありません!" 20 | },"pluralForm" :"nplurals=1; plural=0;" 21 | } -------------------------------------------------------------------------------- /l10n/ko.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "integration_reddit", 3 | { 4 | "Error during OAuth exchanges" : "OAuth 교환 중 오류가 발생했습니다.", 5 | "Error getting OAuth access token" : "OAuth 접근을 가져오는데 오류가 발생했습니다.", 6 | "Bad HTTP method" : "옳지 않은 HTTP 메소드", 7 | "Bad credentials" : "잘못된 자격 증명", 8 | "OAuth access token refused" : "OAuth 액세스 토큰 거부됨", 9 | "Connected accounts" : "계정 연결됨", 10 | "Application ID" : "애플리케이션 ID", 11 | "Connected as {user}" : "[user]로 연결됨", 12 | "No Reddit account connected" : "연결된 Reddit 계정이 없음" 13 | }, 14 | "nplurals=1; plural=0;"); 15 | -------------------------------------------------------------------------------- /l10n/ko.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Error during OAuth exchanges" : "OAuth 교환 중 오류가 발생했습니다.", 3 | "Error getting OAuth access token" : "OAuth 접근을 가져오는데 오류가 발생했습니다.", 4 | "Bad HTTP method" : "옳지 않은 HTTP 메소드", 5 | "Bad credentials" : "잘못된 자격 증명", 6 | "OAuth access token refused" : "OAuth 액세스 토큰 거부됨", 7 | "Connected accounts" : "계정 연결됨", 8 | "Application ID" : "애플리케이션 ID", 9 | "Connected as {user}" : "[user]로 연결됨", 10 | "No Reddit account connected" : "연결된 Reddit 계정이 없음" 11 | },"pluralForm" :"nplurals=1; plural=0;" 12 | } -------------------------------------------------------------------------------- /l10n/lt_LT.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "integration_reddit", 3 | { 4 | "Error during OAuth exchanges" : "Klaida „OAuth“ apsikeitimo metu", 5 | "Error getting OAuth access token" : "Klaida gaunant „OAuth“ prieigos raktą", 6 | "Reddit news" : "„Reddit“ naujienos", 7 | "Bad HTTP method" : "Blogas HTTP metodas", 8 | "Bad credentials" : "Blogi prisijungimo duomenys", 9 | "Failed to get Reddit news" : "Nepavyko gauti „Reddit“ naujienų", 10 | "OAuth access token refused" : "„OAuth“ prieigos raktas atmestas", 11 | "Connected accounts" : "Prijungtos paskyros", 12 | "Reddit integration" : "„Reddit“ integracija", 13 | "Application ID" : "Programos ID", 14 | "Application secret" : "Programos paslaptis", 15 | "Successfully connected to Reddit!" : "Sėkmingai prisijungta prie „Reddit“!", 16 | "Reddit options saved" : "„Reddit“ parinktys įrašytos", 17 | "Failed to save Reddit options" : "Nepavyko įrašyti „Reddit“ parinkčių", 18 | "Connect to Reddit" : "Prisijungti prie „Reddit“", 19 | "Connected as {user}" : "Prisijungta kaip {user}", 20 | "Disconnect from Reddit" : "Atsijungti nuo „Reddit“", 21 | "No Reddit account connected" : "Neprijungta jokia „Reddit“ paskyra", 22 | "Error connecting to Reddit" : "Klaida jungiantis prie „Reddit“", 23 | "No Reddit news!" : "Nėra „Reddit“ naujienų!" 24 | }, 25 | "nplurals=4; plural=(n % 10 == 1 && (n % 100 > 19 || n % 100 < 11) ? 0 : (n % 10 >= 2 && n % 10 <=9) && (n % 100 > 19 || n % 100 < 11) ? 1 : n % 1 != 0 ? 2: 3);"); 26 | -------------------------------------------------------------------------------- /l10n/lt_LT.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Error during OAuth exchanges" : "Klaida „OAuth“ apsikeitimo metu", 3 | "Error getting OAuth access token" : "Klaida gaunant „OAuth“ prieigos raktą", 4 | "Reddit news" : "„Reddit“ naujienos", 5 | "Bad HTTP method" : "Blogas HTTP metodas", 6 | "Bad credentials" : "Blogi prisijungimo duomenys", 7 | "Failed to get Reddit news" : "Nepavyko gauti „Reddit“ naujienų", 8 | "OAuth access token refused" : "„OAuth“ prieigos raktas atmestas", 9 | "Connected accounts" : "Prijungtos paskyros", 10 | "Reddit integration" : "„Reddit“ integracija", 11 | "Application ID" : "Programos ID", 12 | "Application secret" : "Programos paslaptis", 13 | "Successfully connected to Reddit!" : "Sėkmingai prisijungta prie „Reddit“!", 14 | "Reddit options saved" : "„Reddit“ parinktys įrašytos", 15 | "Failed to save Reddit options" : "Nepavyko įrašyti „Reddit“ parinkčių", 16 | "Connect to Reddit" : "Prisijungti prie „Reddit“", 17 | "Connected as {user}" : "Prisijungta kaip {user}", 18 | "Disconnect from Reddit" : "Atsijungti nuo „Reddit“", 19 | "No Reddit account connected" : "Neprijungta jokia „Reddit“ paskyra", 20 | "Error connecting to Reddit" : "Klaida jungiantis prie „Reddit“", 21 | "No Reddit news!" : "Nėra „Reddit“ naujienų!" 22 | },"pluralForm" :"nplurals=4; plural=(n % 10 == 1 && (n % 100 > 19 || n % 100 < 11) ? 0 : (n % 10 >= 2 && n % 10 <=9) && (n % 100 > 19 || n % 100 < 11) ? 1 : n % 1 != 0 ? 2: 3);" 23 | } -------------------------------------------------------------------------------- /l10n/lv.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "integration_reddit", 3 | { 4 | "Bad HTTP method" : "Nederīgs HTTP pieprasījuma veids", 5 | "Bad credentials" : "Nederīgi pieteikšanās dati", 6 | "Connected accounts" : "Sasaistītie konti", 7 | "Application ID" : "Lietotnes Id", 8 | "Client ID of your Reddit application" : "Reddit lietotnes klienta Id", 9 | "Application secret" : "Lietotnes noslēpums", 10 | "Client secret of your Reddit application" : "Reddit lietotnes klienta noslēpums", 11 | "No Reddit account connected" : "Nav sasaistītu Reddit kontu" 12 | }, 13 | "nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2);"); 14 | -------------------------------------------------------------------------------- /l10n/lv.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Bad HTTP method" : "Nederīgs HTTP pieprasījuma veids", 3 | "Bad credentials" : "Nederīgi pieteikšanās dati", 4 | "Connected accounts" : "Sasaistītie konti", 5 | "Application ID" : "Lietotnes Id", 6 | "Client ID of your Reddit application" : "Reddit lietotnes klienta Id", 7 | "Application secret" : "Lietotnes noslēpums", 8 | "Client secret of your Reddit application" : "Reddit lietotnes klienta noslēpums", 9 | "No Reddit account connected" : "Nav sasaistītu Reddit kontu" 10 | },"pluralForm" :"nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2);" 11 | } -------------------------------------------------------------------------------- /l10n/mk.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "integration_reddit", 3 | { 4 | "Error during OAuth exchanges" : "Грешка при размена на податоци за OAuth ", 5 | "Error getting OAuth access token" : "Грешка при добивање на OAuth пристапен токен", 6 | "Bad credentials" : "Неточни акредитиви", 7 | "OAuth access token refused" : "Одбиен OAuth пристапен токен ", 8 | "Connected accounts" : "Поврзани сметки", 9 | "Connected as {user}" : "Поврзан како {user}" 10 | }, 11 | "nplurals=2; plural=(n % 10 == 1 && n % 100 != 11) ? 0 : 1;"); 12 | -------------------------------------------------------------------------------- /l10n/mk.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Error during OAuth exchanges" : "Грешка при размена на податоци за OAuth ", 3 | "Error getting OAuth access token" : "Грешка при добивање на OAuth пристапен токен", 4 | "Bad credentials" : "Неточни акредитиви", 5 | "OAuth access token refused" : "Одбиен OAuth пристапен токен ", 6 | "Connected accounts" : "Поврзани сметки", 7 | "Connected as {user}" : "Поврзан како {user}" 8 | },"pluralForm" :"nplurals=2; plural=(n % 10 == 1 && n % 100 != 11) ? 0 : 1;" 9 | } -------------------------------------------------------------------------------- /l10n/nl.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "integration_reddit", 3 | { 4 | "Error during OAuth exchanges" : "Fout tijdens OAuth uitwisselingen", 5 | "Error getting OAuth access token" : "Fout bij ophalen OAuth access token", 6 | "Reddit news" : "Reddit nieuws", 7 | "Bad HTTP method" : "Foute HTTP methode", 8 | "Bad credentials" : "Foute inloggegevens", 9 | "Failed to get Reddit news" : "Kon Reddit nieuws niet ophalen", 10 | "OAuth access token refused" : "OAuth access token geweigerd", 11 | "Connected accounts" : "Verbonden accounts", 12 | "Reddit integration" : "Reddit integratie", 13 | "Integration of Reddit social news aggregation service" : "Integratie met Reddit, sociale nieuwsaggregatiedienst", 14 | "Reddit integration provides a dashboard widget displaying your recent subscribed news." : "Reddit-integratie biedt een dashboardwidget die je recente abonnementsberichten toont.", 15 | "Reddit admin options saved" : "Reddit admin opties opgeslagen", 16 | "Failed to save Reddit admin options" : "Kon Reddit admin-opties niet opslaan", 17 | "There are 3 ways to allow your Nextcloud users to use OAuth to authenticate to Reddit:" : "Er zijn 3 manieren waarop je Nextcloud gebruikers OAuth kunnen gebruiken om te authenticeren bij Reddit:", 18 | "Leave all fields empty to use default Nextcloud Reddit OAuth app." : "Laat alle velden blanco om de standaard Nextcloud Reddit OAuth app te gebruiken.", 19 | "Create your own Reddit \"web application\" in Reddit preferences and put the application ID and secret below." : "Maak je eigen Reddit \"webapplicatie\" in Reddit-voorkeuren en plaats het applicatie-ID en secret hieronder.", 20 | "Reddit app settings" : "Reddit app instellingen", 21 | "Make sure you set the \"Redirection URI\" to" : "Zorg ervoor dat de \"Redirect URI\" is ingesteld op", 22 | "Create your own Reddit \"mobile application\" in Reddit preferences and put the application ID below. Leave the \"Application secret\" field empty." : "Maak je eigen Reddit \"mobiele applicatie\" in Reddit-voorkeuren en plaats het applicatie-ID hieronder. Laat het veld \"Application secret\" leeg.", 23 | "Application ID" : "Application ID", 24 | "Client ID of your Reddit application" : "Client ID van je Reddit applicatie", 25 | "Application secret" : "Application secret", 26 | "Client secret of your Reddit application" : "Client secret van je Reddit applicatie", 27 | "Successfully connected to Reddit!" : "Succesvol verbonden met Reddit!", 28 | "Reddit OAuth error:" : "Reddit OAuth fout:", 29 | "Nextcloud Reddit integration on {ncUrl}" : "Nextcloud Reddit-integratie op {ncUrl}", 30 | "Reddit options saved" : "Reddit opties opgeslagen", 31 | "Failed to save Reddit options" : "Kon Reddit-opties niet opslaan", 32 | "Failed to save Reddit OAuth state" : "Kon Reddit OAuth-status niet bewaren", 33 | "If you have trouble authenticating, ask your Nextcloud administrator to check Reddit admin settings." : "Als je problemen ondervindt bij het authenticeren, vraagt je je Nextcloudbeheerder om de beheerdersinstellingen van Reddit te controleren.", 34 | "Make sure to accept the protocol registration on top of this page to allow authentication to Reddit." : "Accepteer de protocol-registratie bovenaan deze pagina om authenticatie bij Reddit mogelijk te maken.", 35 | "With Chrome/Chromium, you should see a popup on browser top-left to authorize this page to open \"web+nextcloudreddit\" links." : "In Chrome/Chromium zou je linksboven in de browser een pop-up moeten zien om deze pagina toestemming te geven om \"web+nextcloudreddit\" links te openen.", 36 | "If you don't see the popup, you can still click on this icon in the address bar." : "Als u deze pop-up niet ziet, kunt u not steeds op dit icoon in de adresbalk klikken.", 37 | "Then authorize this page to open \"web+nextcloudreddit\" links." : "Geef daarna toestemming aan deze pagina om \"web+nextcloudreddit\" links te openen.", 38 | "If you still don't manage to get the protocol registered, check your settings on this page:" : "Als je het protocol nog steeds niet kunt registreren, controleer dan de instellingen op deze pagina:", 39 | "With Firefox, you should see a bar on top of this page to authorize this page to open \"web+nextcloudreddit\" links." : "In Firefox zou je bovenaan de pagina een balk moeten zien om toestemming te geven om \"web+nextcloudreddit\" links te openen.", 40 | "Connect to Reddit" : "Verbinden met Reddit", 41 | "Connected as {user}" : "Verbonden als {user}", 42 | "Disconnect from Reddit" : "Verbreek de verbinding met Reddit", 43 | "You must access this page with HTTPS to be able to authenticate to Reddit." : "Je moet deze pagina openen met HTTPS om te kunnen authenticeren bij Reddit.", 44 | "No Reddit account connected" : "Geen Reddit-account verbonden", 45 | "Error connecting to Reddit" : "Fout bij het verbinden met Reddit", 46 | "No Reddit news!" : "Geen Reddit nieuws!" 47 | }, 48 | "nplurals=2; plural=(n != 1);"); 49 | -------------------------------------------------------------------------------- /l10n/nl.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Error during OAuth exchanges" : "Fout tijdens OAuth uitwisselingen", 3 | "Error getting OAuth access token" : "Fout bij ophalen OAuth access token", 4 | "Reddit news" : "Reddit nieuws", 5 | "Bad HTTP method" : "Foute HTTP methode", 6 | "Bad credentials" : "Foute inloggegevens", 7 | "Failed to get Reddit news" : "Kon Reddit nieuws niet ophalen", 8 | "OAuth access token refused" : "OAuth access token geweigerd", 9 | "Connected accounts" : "Verbonden accounts", 10 | "Reddit integration" : "Reddit integratie", 11 | "Integration of Reddit social news aggregation service" : "Integratie met Reddit, sociale nieuwsaggregatiedienst", 12 | "Reddit integration provides a dashboard widget displaying your recent subscribed news." : "Reddit-integratie biedt een dashboardwidget die je recente abonnementsberichten toont.", 13 | "Reddit admin options saved" : "Reddit admin opties opgeslagen", 14 | "Failed to save Reddit admin options" : "Kon Reddit admin-opties niet opslaan", 15 | "There are 3 ways to allow your Nextcloud users to use OAuth to authenticate to Reddit:" : "Er zijn 3 manieren waarop je Nextcloud gebruikers OAuth kunnen gebruiken om te authenticeren bij Reddit:", 16 | "Leave all fields empty to use default Nextcloud Reddit OAuth app." : "Laat alle velden blanco om de standaard Nextcloud Reddit OAuth app te gebruiken.", 17 | "Create your own Reddit \"web application\" in Reddit preferences and put the application ID and secret below." : "Maak je eigen Reddit \"webapplicatie\" in Reddit-voorkeuren en plaats het applicatie-ID en secret hieronder.", 18 | "Reddit app settings" : "Reddit app instellingen", 19 | "Make sure you set the \"Redirection URI\" to" : "Zorg ervoor dat de \"Redirect URI\" is ingesteld op", 20 | "Create your own Reddit \"mobile application\" in Reddit preferences and put the application ID below. Leave the \"Application secret\" field empty." : "Maak je eigen Reddit \"mobiele applicatie\" in Reddit-voorkeuren en plaats het applicatie-ID hieronder. Laat het veld \"Application secret\" leeg.", 21 | "Application ID" : "Application ID", 22 | "Client ID of your Reddit application" : "Client ID van je Reddit applicatie", 23 | "Application secret" : "Application secret", 24 | "Client secret of your Reddit application" : "Client secret van je Reddit applicatie", 25 | "Successfully connected to Reddit!" : "Succesvol verbonden met Reddit!", 26 | "Reddit OAuth error:" : "Reddit OAuth fout:", 27 | "Nextcloud Reddit integration on {ncUrl}" : "Nextcloud Reddit-integratie op {ncUrl}", 28 | "Reddit options saved" : "Reddit opties opgeslagen", 29 | "Failed to save Reddit options" : "Kon Reddit-opties niet opslaan", 30 | "Failed to save Reddit OAuth state" : "Kon Reddit OAuth-status niet bewaren", 31 | "If you have trouble authenticating, ask your Nextcloud administrator to check Reddit admin settings." : "Als je problemen ondervindt bij het authenticeren, vraagt je je Nextcloudbeheerder om de beheerdersinstellingen van Reddit te controleren.", 32 | "Make sure to accept the protocol registration on top of this page to allow authentication to Reddit." : "Accepteer de protocol-registratie bovenaan deze pagina om authenticatie bij Reddit mogelijk te maken.", 33 | "With Chrome/Chromium, you should see a popup on browser top-left to authorize this page to open \"web+nextcloudreddit\" links." : "In Chrome/Chromium zou je linksboven in de browser een pop-up moeten zien om deze pagina toestemming te geven om \"web+nextcloudreddit\" links te openen.", 34 | "If you don't see the popup, you can still click on this icon in the address bar." : "Als u deze pop-up niet ziet, kunt u not steeds op dit icoon in de adresbalk klikken.", 35 | "Then authorize this page to open \"web+nextcloudreddit\" links." : "Geef daarna toestemming aan deze pagina om \"web+nextcloudreddit\" links te openen.", 36 | "If you still don't manage to get the protocol registered, check your settings on this page:" : "Als je het protocol nog steeds niet kunt registreren, controleer dan de instellingen op deze pagina:", 37 | "With Firefox, you should see a bar on top of this page to authorize this page to open \"web+nextcloudreddit\" links." : "In Firefox zou je bovenaan de pagina een balk moeten zien om toestemming te geven om \"web+nextcloudreddit\" links te openen.", 38 | "Connect to Reddit" : "Verbinden met Reddit", 39 | "Connected as {user}" : "Verbonden als {user}", 40 | "Disconnect from Reddit" : "Verbreek de verbinding met Reddit", 41 | "You must access this page with HTTPS to be able to authenticate to Reddit." : "Je moet deze pagina openen met HTTPS om te kunnen authenticeren bij Reddit.", 42 | "No Reddit account connected" : "Geen Reddit-account verbonden", 43 | "Error connecting to Reddit" : "Fout bij het verbinden met Reddit", 44 | "No Reddit news!" : "Geen Reddit nieuws!" 45 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 46 | } -------------------------------------------------------------------------------- /l10n/oc.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "integration_reddit", 3 | { 4 | "Bad credentials" : "Marrits identificants", 5 | "Connected accounts" : "Comptes connectats", 6 | "Connected as {user}" : "Connectat coma {user}" 7 | }, 8 | "nplurals=2; plural=(n > 1);"); 9 | -------------------------------------------------------------------------------- /l10n/oc.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Bad credentials" : "Marrits identificants", 3 | "Connected accounts" : "Comptes connectats", 4 | "Connected as {user}" : "Connectat coma {user}" 5 | },"pluralForm" :"nplurals=2; plural=(n > 1);" 6 | } -------------------------------------------------------------------------------- /l10n/pl.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "integration_reddit", 3 | { 4 | "Error during OAuth exchanges" : "Błąd podczas wymiany OAuth", 5 | "Error getting OAuth access token" : "Błąd podczas pobierania tokena dostępu OAuth", 6 | "Reddit news" : "Wiadomości Reddit", 7 | "Bad HTTP method" : "Zła metoda HTTP", 8 | "Bad credentials" : "Złe poświadczenia", 9 | "Failed to get Reddit news" : "Nie udało się pobrać wiadomości Reddit", 10 | "OAuth access token refused" : "Odmowa tokena dostępu OAuth", 11 | "Connected accounts" : "Połączone konta", 12 | "Reddit integration" : "Integracja Reddit", 13 | "Integration of Reddit social news aggregation service" : "Integracja usługi zbioru wiadomości społecznościowych Reddit", 14 | "Reddit integration provides a dashboard widget displaying your recent subscribed news." : "Integracja Reddit zapewnia widżet na pulpicie wyświetlający najnowsze subskrybowane wiadomości.", 15 | "Reddit admin options saved" : "Opcje administratora Reddita zostały zapisane", 16 | "Failed to save Reddit admin options" : "Nie udało się zapisać opcji administratora Reddita", 17 | "There are 3 ways to allow your Nextcloud users to use OAuth to authenticate to Reddit:" : "Istnieją 3 sposoby, aby zezwolić użytkownikom Nextcloud na używanie OAuth do uwierzytelniania w Reddit:", 18 | "Leave all fields empty to use default Nextcloud Reddit OAuth app." : "Pozostaw wszystkie pola puste, aby użyć domyślnej aplikacji Nextcloud OAuth Reddit.", 19 | "Create your own Reddit \"web application\" in Reddit preferences and put the application ID and secret below." : "Utwórz własny Reddit w \"web application\" w preferencjach Reddit i umieść poniżej ID aplikacji oraz tajny klucz.", 20 | "Reddit app settings" : "Ustawienia aplikacji Reddit", 21 | "Make sure you set the \"Redirection URI\" to" : "Upewnij się, że ustawiłeś \"Redirection URI\" na", 22 | "Create your own Reddit \"mobile application\" in Reddit preferences and put the application ID below. Leave the \"Application secret\" field empty." : "Utwórz własną Reddit \"mobile application\" w preferencjach Reddit i umieść poniżej ID aplikacji. Pozostaw puste pole w \"Application secret\".", 23 | "Application ID" : "ID aplikacji", 24 | "Client ID of your Reddit application" : "ID klienta aplikacji Reddit", 25 | "Application secret" : "Tajny klucz aplikacji", 26 | "Client secret of your Reddit application" : "Tajny klucz klienta aplikacji Reddit", 27 | "Successfully connected to Reddit!" : "Pomyślnie połączono z Redditem!", 28 | "Reddit OAuth error:" : "Błąd OAuth Reddit:", 29 | "Nextcloud Reddit integration on {ncUrl}" : "Integracja Nextcloud Reddit na {ncUrl}", 30 | "Reddit options saved" : "Opcje Reddita zostały zapisane", 31 | "Failed to save Reddit options" : "Nie udało się zapisać opcji Reddita", 32 | "Failed to save Reddit OAuth state" : "Nie udało się zapisać statusu OAuth Reddit", 33 | "If you have trouble authenticating, ask your Nextcloud administrator to check Reddit admin settings." : "Jeśli masz problemy z uwierzytelnianiem, poproś administratora Nextcloud o sprawdzenie ustawień administratora Reddit.", 34 | "Make sure to accept the protocol registration on top of this page to allow authentication to Reddit." : "Przed uwierzytelnieniem się w Reddit, upewnij się, że zaakceptowałeś rejestrację protokołu na górze tej strony.", 35 | "With Chrome/Chromium, you should see a popup on browser top-left to authorize this page to open \"web+nextcloudreddit\" links." : "W przeglądarce Chrome/Chromium w lewym górnym rogu powinno pojawić się wyskakujące okienko, które upoważnia tę stronę do otwierania linków \"web+nextcloudreddit\".", 36 | "If you don't see the popup, you can still click on this icon in the address bar." : "Jeśli nie widzisz wyskakującego okienka, nadal możesz kliknąć ikonę na pasku adresu.", 37 | "Then authorize this page to open \"web+nextcloudreddit\" links." : "Następnie autoryzuj tę stronę do otwierania linków \"web+nextcloudreddit\".", 38 | "If you still don't manage to get the protocol registered, check your settings on this page:" : "Jeśli nadal nie możesz zarejestrować protokołu, sprawdź ustawienia na tej stronie:", 39 | "With Firefox, you should see a bar on top of this page to authorize this page to open \"web+nextcloudreddit\" links." : "W przeglądarce Firefox u góry strony powinien być widoczny pasek, który upoważnia tę stronę do otwierania linków \"web+nextcloudreddit\".", 40 | "Connect to Reddit" : "Połącz z Redditem", 41 | "Connected as {user}" : "Połączono jako {user}", 42 | "Disconnect from Reddit" : "Rozłącz się z Redditem", 43 | "You must access this page with HTTPS to be able to authenticate to Reddit." : "Musisz uzyskać dostęp do tej strony za pomocą protokołu HTTPS, aby móc uwierzytelnić się w serwisie Reddit.", 44 | "No Reddit account connected" : "Brak połączonego konta Reddit", 45 | "Error connecting to Reddit" : "Błąd podczas łączenia z Redditem", 46 | "No Reddit news!" : "Brak wiadomości Reddit!" 47 | }, 48 | "nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);"); 49 | -------------------------------------------------------------------------------- /l10n/pl.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Error during OAuth exchanges" : "Błąd podczas wymiany OAuth", 3 | "Error getting OAuth access token" : "Błąd podczas pobierania tokena dostępu OAuth", 4 | "Reddit news" : "Wiadomości Reddit", 5 | "Bad HTTP method" : "Zła metoda HTTP", 6 | "Bad credentials" : "Złe poświadczenia", 7 | "Failed to get Reddit news" : "Nie udało się pobrać wiadomości Reddit", 8 | "OAuth access token refused" : "Odmowa tokena dostępu OAuth", 9 | "Connected accounts" : "Połączone konta", 10 | "Reddit integration" : "Integracja Reddit", 11 | "Integration of Reddit social news aggregation service" : "Integracja usługi zbioru wiadomości społecznościowych Reddit", 12 | "Reddit integration provides a dashboard widget displaying your recent subscribed news." : "Integracja Reddit zapewnia widżet na pulpicie wyświetlający najnowsze subskrybowane wiadomości.", 13 | "Reddit admin options saved" : "Opcje administratora Reddita zostały zapisane", 14 | "Failed to save Reddit admin options" : "Nie udało się zapisać opcji administratora Reddita", 15 | "There are 3 ways to allow your Nextcloud users to use OAuth to authenticate to Reddit:" : "Istnieją 3 sposoby, aby zezwolić użytkownikom Nextcloud na używanie OAuth do uwierzytelniania w Reddit:", 16 | "Leave all fields empty to use default Nextcloud Reddit OAuth app." : "Pozostaw wszystkie pola puste, aby użyć domyślnej aplikacji Nextcloud OAuth Reddit.", 17 | "Create your own Reddit \"web application\" in Reddit preferences and put the application ID and secret below." : "Utwórz własny Reddit w \"web application\" w preferencjach Reddit i umieść poniżej ID aplikacji oraz tajny klucz.", 18 | "Reddit app settings" : "Ustawienia aplikacji Reddit", 19 | "Make sure you set the \"Redirection URI\" to" : "Upewnij się, że ustawiłeś \"Redirection URI\" na", 20 | "Create your own Reddit \"mobile application\" in Reddit preferences and put the application ID below. Leave the \"Application secret\" field empty." : "Utwórz własną Reddit \"mobile application\" w preferencjach Reddit i umieść poniżej ID aplikacji. Pozostaw puste pole w \"Application secret\".", 21 | "Application ID" : "ID aplikacji", 22 | "Client ID of your Reddit application" : "ID klienta aplikacji Reddit", 23 | "Application secret" : "Tajny klucz aplikacji", 24 | "Client secret of your Reddit application" : "Tajny klucz klienta aplikacji Reddit", 25 | "Successfully connected to Reddit!" : "Pomyślnie połączono z Redditem!", 26 | "Reddit OAuth error:" : "Błąd OAuth Reddit:", 27 | "Nextcloud Reddit integration on {ncUrl}" : "Integracja Nextcloud Reddit na {ncUrl}", 28 | "Reddit options saved" : "Opcje Reddita zostały zapisane", 29 | "Failed to save Reddit options" : "Nie udało się zapisać opcji Reddita", 30 | "Failed to save Reddit OAuth state" : "Nie udało się zapisać statusu OAuth Reddit", 31 | "If you have trouble authenticating, ask your Nextcloud administrator to check Reddit admin settings." : "Jeśli masz problemy z uwierzytelnianiem, poproś administratora Nextcloud o sprawdzenie ustawień administratora Reddit.", 32 | "Make sure to accept the protocol registration on top of this page to allow authentication to Reddit." : "Przed uwierzytelnieniem się w Reddit, upewnij się, że zaakceptowałeś rejestrację protokołu na górze tej strony.", 33 | "With Chrome/Chromium, you should see a popup on browser top-left to authorize this page to open \"web+nextcloudreddit\" links." : "W przeglądarce Chrome/Chromium w lewym górnym rogu powinno pojawić się wyskakujące okienko, które upoważnia tę stronę do otwierania linków \"web+nextcloudreddit\".", 34 | "If you don't see the popup, you can still click on this icon in the address bar." : "Jeśli nie widzisz wyskakującego okienka, nadal możesz kliknąć ikonę na pasku adresu.", 35 | "Then authorize this page to open \"web+nextcloudreddit\" links." : "Następnie autoryzuj tę stronę do otwierania linków \"web+nextcloudreddit\".", 36 | "If you still don't manage to get the protocol registered, check your settings on this page:" : "Jeśli nadal nie możesz zarejestrować protokołu, sprawdź ustawienia na tej stronie:", 37 | "With Firefox, you should see a bar on top of this page to authorize this page to open \"web+nextcloudreddit\" links." : "W przeglądarce Firefox u góry strony powinien być widoczny pasek, który upoważnia tę stronę do otwierania linków \"web+nextcloudreddit\".", 38 | "Connect to Reddit" : "Połącz z Redditem", 39 | "Connected as {user}" : "Połączono jako {user}", 40 | "Disconnect from Reddit" : "Rozłącz się z Redditem", 41 | "You must access this page with HTTPS to be able to authenticate to Reddit." : "Musisz uzyskać dostęp do tej strony za pomocą protokołu HTTPS, aby móc uwierzytelnić się w serwisie Reddit.", 42 | "No Reddit account connected" : "Brak połączonego konta Reddit", 43 | "Error connecting to Reddit" : "Błąd podczas łączenia z Redditem", 44 | "No Reddit news!" : "Brak wiadomości Reddit!" 45 | },"pluralForm" :"nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);" 46 | } -------------------------------------------------------------------------------- /l10n/pt_PT.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "integration_reddit", 3 | { 4 | "Error during OAuth exchanges" : "Erro durante trocas com o OAuth", 5 | "Bad HTTP method" : "Método HTTP incorreto", 6 | "Bad credentials" : "Credenciais inválidas" 7 | }, 8 | "nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"); 9 | -------------------------------------------------------------------------------- /l10n/pt_PT.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Error during OAuth exchanges" : "Erro durante trocas com o OAuth", 3 | "Bad HTTP method" : "Método HTTP incorreto", 4 | "Bad credentials" : "Credenciais inválidas" 5 | },"pluralForm" :"nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;" 6 | } -------------------------------------------------------------------------------- /l10n/ro.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "integration_reddit", 3 | { 4 | "Error during OAuth exchanges" : "Eroare în schimbarea OAuth", 5 | "Error getting OAuth access token" : "Eroare în obținerea token-ului OAuth", 6 | "Bad HTTP method" : "Metodă HTTP nepotrivită", 7 | "Bad credentials" : "Credențiale greșite", 8 | "OAuth access token refused" : "Token-ul OAuth a fost refuzat", 9 | "Connected accounts" : "Conturile conectate" 10 | }, 11 | "nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));"); 12 | -------------------------------------------------------------------------------- /l10n/ro.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Error during OAuth exchanges" : "Eroare în schimbarea OAuth", 3 | "Error getting OAuth access token" : "Eroare în obținerea token-ului OAuth", 4 | "Bad HTTP method" : "Metodă HTTP nepotrivită", 5 | "Bad credentials" : "Credențiale greșite", 6 | "OAuth access token refused" : "Token-ul OAuth a fost refuzat", 7 | "Connected accounts" : "Conturile conectate" 8 | },"pluralForm" :"nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));" 9 | } -------------------------------------------------------------------------------- /l10n/sc.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "integration_reddit", 3 | { 4 | "Error during OAuth exchanges" : "Errore in is cuncàmbios OAuth", 5 | "Error getting OAuth access token" : "Errore in su recùperu de su token de intrada OAuth", 6 | "Reddit news" : "Noas de Reddit", 7 | "Bad HTTP method" : "Mètodu HTTP malu", 8 | "Bad credentials" : "Credentziales non bàlidas", 9 | "Failed to get Reddit news" : "No at fatu a recuperare is noas de Reddit", 10 | "OAuth access token refused" : "Token de intrada OAuth refudadu", 11 | "Connected accounts" : "Contos connètidos", 12 | "Reddit integration" : "Integratzione Reddit", 13 | "Integration of Reddit social news aggregation service" : "Integratzione de su servìtziu de agregatzione sotziale de is noas Reddit.", 14 | "Reddit integration provides a dashboard widget displaying your recent subscribed news." : "S'integratzione Reddit frunit unu trastu de su pannellu de controllu chi mustrat is ùrtimas noas sutascritas.", 15 | "Reddit admin options saved" : "Sèberos de amministratzione de Reddit sarvados", 16 | "Failed to save Reddit admin options" : "No at fatu a sarvare is sèberos de amministratzione de Reddit", 17 | "There are 3 ways to allow your Nextcloud users to use OAuth to authenticate to Reddit:" : "B'at 3 maneras pro permìtere a is utentes de Nextcloud de impreare OAuth pro s'autenticare in Reddit:", 18 | "Leave all fields empty to use default Nextcloud Reddit OAuth app." : "Lassa totu is campos bòidos pro impreare s'aplicatzione OAuth de Reddit pro Nextcloud predefinida.", 19 | "Create your own Reddit \"web application\" in Reddit preferences and put the application ID and secret below." : "Crea sa \"aplicatzione web\" Reddit tua in is preferèntzias de Reddit e inserta s'ID de s'aplicatzione e su segretu in fatu.", 20 | "Reddit app settings" : "Cunfiguratzione de s'aplicatzione de Reddit", 21 | "Make sure you set the \"Redirection URI\" to" : "Assegura·ti de àere cunfiguradu \"URI de reindiritzamentu\" a", 22 | "Create your own Reddit \"mobile application\" in Reddit preferences and put the application ID below. Leave the \"Application secret\" field empty." : "Crea sa \"aplicatzione mòbile\" Reddit tua in is preferèntzias de Reddit e pone s'ID de s'aplicatzione in suta. Lassa su campu \"segretu aplicatzione\" bòidu. ", 23 | "Application ID" : "ID aplicatzione", 24 | "Client ID of your Reddit application" : "ID cliente pro s'aplicatzione Reddit tua", 25 | "Application secret" : "Segretu aplicatzione", 26 | "Client secret of your Reddit application" : "Segretu cliente de s'aplicatzione Reddit tua", 27 | "Successfully connected to Reddit!" : "In cunnessione cun Reddit!", 28 | "Reddit OAuth error:" : "Errore de Reddit OAuth:", 29 | "Nextcloud Reddit integration on {ncUrl}" : "Integratzione Reddit de Nextcloud in {ncUrl}", 30 | "Reddit options saved" : "Sèberos de Reddit sarvados", 31 | "Failed to save Reddit options" : "No at fatu a sarvare is sèberos de Reddit", 32 | "Failed to save Reddit OAuth state" : "No at fatu a sarvare s'istadu de Reddit OAuth", 33 | "If you have trouble authenticating, ask your Nextcloud administrator to check Reddit admin settings." : "Si tenes problemas de autenticatzione, dimanda a s'amministratzione de Nextcloud de controllare sa cunfiguratzione de s'amministratzione de Reddit.", 34 | "Make sure to accept the protocol registration on top of this page to allow authentication to Reddit." : "Segura·ti de atzetare sa registratzione de su protocollu in artu in custa pàgina pro permìtere s'autenticatzione a Reddit.", 35 | "With Chrome/Chromium, you should see a popup on browser top-left to authorize this page to open \"web+nextcloudreddit\" links." : "Cun Chrome/Chromium, dias dèpere bìdere una cumparsa in artu a manca de su navigadore tuo pro permìtere a custa pàgina de abèrrere is ligòngios \"web+nextcloudreddit\".", 36 | "If you don't see the popup, you can still click on this icon in the address bar." : "Si non bides su menu a cumparsa, podes incarcare subra de custa icona in s'istanca de indiritzu.", 37 | "Then authorize this page to open \"web+nextcloudreddit\" links." : "Luegu permite a custa pàgina de abèrrere is ligòngios \"web+nextcloudreddit\".", 38 | "If you still don't manage to get the protocol registered, check your settings on this page:" : "Si non renesses a otènnere sa registratzione a su protocollu, controlla sa cunfiguratzione in custa pàgina:", 39 | "With Firefox, you should see a bar on top of this page to authorize this page to open \"web+nextcloudreddit\" links." : "Cun Firefox, dias dèpere bìdere un'istanca in artu in custa pàgina pro ddi permìtere de abèrrere is ligòngios \"web+nextcloudreddit\".", 40 | "Connect to Reddit" : "Connete a Reddit", 41 | "Connected as {user}" : "In connessione comente {user}", 42 | "Disconnect from Reddit" : "Disconnete dae Reddit", 43 | "You must access this page with HTTPS to be able to authenticate to Reddit." : "Dèpes intrare in custa pàgina cun HTTPS pro ti pòdere autenticare a Reddit.", 44 | "No Reddit account connected" : "Perunu contu de Reddit connètidu", 45 | "Error connecting to Reddit" : "Errore in sa connessione a Reddit", 46 | "No Reddit news!" : "Peruna noa de Reddit!" 47 | }, 48 | "nplurals=2; plural=(n != 1);"); 49 | -------------------------------------------------------------------------------- /l10n/sc.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Error during OAuth exchanges" : "Errore in is cuncàmbios OAuth", 3 | "Error getting OAuth access token" : "Errore in su recùperu de su token de intrada OAuth", 4 | "Reddit news" : "Noas de Reddit", 5 | "Bad HTTP method" : "Mètodu HTTP malu", 6 | "Bad credentials" : "Credentziales non bàlidas", 7 | "Failed to get Reddit news" : "No at fatu a recuperare is noas de Reddit", 8 | "OAuth access token refused" : "Token de intrada OAuth refudadu", 9 | "Connected accounts" : "Contos connètidos", 10 | "Reddit integration" : "Integratzione Reddit", 11 | "Integration of Reddit social news aggregation service" : "Integratzione de su servìtziu de agregatzione sotziale de is noas Reddit.", 12 | "Reddit integration provides a dashboard widget displaying your recent subscribed news." : "S'integratzione Reddit frunit unu trastu de su pannellu de controllu chi mustrat is ùrtimas noas sutascritas.", 13 | "Reddit admin options saved" : "Sèberos de amministratzione de Reddit sarvados", 14 | "Failed to save Reddit admin options" : "No at fatu a sarvare is sèberos de amministratzione de Reddit", 15 | "There are 3 ways to allow your Nextcloud users to use OAuth to authenticate to Reddit:" : "B'at 3 maneras pro permìtere a is utentes de Nextcloud de impreare OAuth pro s'autenticare in Reddit:", 16 | "Leave all fields empty to use default Nextcloud Reddit OAuth app." : "Lassa totu is campos bòidos pro impreare s'aplicatzione OAuth de Reddit pro Nextcloud predefinida.", 17 | "Create your own Reddit \"web application\" in Reddit preferences and put the application ID and secret below." : "Crea sa \"aplicatzione web\" Reddit tua in is preferèntzias de Reddit e inserta s'ID de s'aplicatzione e su segretu in fatu.", 18 | "Reddit app settings" : "Cunfiguratzione de s'aplicatzione de Reddit", 19 | "Make sure you set the \"Redirection URI\" to" : "Assegura·ti de àere cunfiguradu \"URI de reindiritzamentu\" a", 20 | "Create your own Reddit \"mobile application\" in Reddit preferences and put the application ID below. Leave the \"Application secret\" field empty." : "Crea sa \"aplicatzione mòbile\" Reddit tua in is preferèntzias de Reddit e pone s'ID de s'aplicatzione in suta. Lassa su campu \"segretu aplicatzione\" bòidu. ", 21 | "Application ID" : "ID aplicatzione", 22 | "Client ID of your Reddit application" : "ID cliente pro s'aplicatzione Reddit tua", 23 | "Application secret" : "Segretu aplicatzione", 24 | "Client secret of your Reddit application" : "Segretu cliente de s'aplicatzione Reddit tua", 25 | "Successfully connected to Reddit!" : "In cunnessione cun Reddit!", 26 | "Reddit OAuth error:" : "Errore de Reddit OAuth:", 27 | "Nextcloud Reddit integration on {ncUrl}" : "Integratzione Reddit de Nextcloud in {ncUrl}", 28 | "Reddit options saved" : "Sèberos de Reddit sarvados", 29 | "Failed to save Reddit options" : "No at fatu a sarvare is sèberos de Reddit", 30 | "Failed to save Reddit OAuth state" : "No at fatu a sarvare s'istadu de Reddit OAuth", 31 | "If you have trouble authenticating, ask your Nextcloud administrator to check Reddit admin settings." : "Si tenes problemas de autenticatzione, dimanda a s'amministratzione de Nextcloud de controllare sa cunfiguratzione de s'amministratzione de Reddit.", 32 | "Make sure to accept the protocol registration on top of this page to allow authentication to Reddit." : "Segura·ti de atzetare sa registratzione de su protocollu in artu in custa pàgina pro permìtere s'autenticatzione a Reddit.", 33 | "With Chrome/Chromium, you should see a popup on browser top-left to authorize this page to open \"web+nextcloudreddit\" links." : "Cun Chrome/Chromium, dias dèpere bìdere una cumparsa in artu a manca de su navigadore tuo pro permìtere a custa pàgina de abèrrere is ligòngios \"web+nextcloudreddit\".", 34 | "If you don't see the popup, you can still click on this icon in the address bar." : "Si non bides su menu a cumparsa, podes incarcare subra de custa icona in s'istanca de indiritzu.", 35 | "Then authorize this page to open \"web+nextcloudreddit\" links." : "Luegu permite a custa pàgina de abèrrere is ligòngios \"web+nextcloudreddit\".", 36 | "If you still don't manage to get the protocol registered, check your settings on this page:" : "Si non renesses a otènnere sa registratzione a su protocollu, controlla sa cunfiguratzione in custa pàgina:", 37 | "With Firefox, you should see a bar on top of this page to authorize this page to open \"web+nextcloudreddit\" links." : "Cun Firefox, dias dèpere bìdere un'istanca in artu in custa pàgina pro ddi permìtere de abèrrere is ligòngios \"web+nextcloudreddit\".", 38 | "Connect to Reddit" : "Connete a Reddit", 39 | "Connected as {user}" : "In connessione comente {user}", 40 | "Disconnect from Reddit" : "Disconnete dae Reddit", 41 | "You must access this page with HTTPS to be able to authenticate to Reddit." : "Dèpes intrare in custa pàgina cun HTTPS pro ti pòdere autenticare a Reddit.", 42 | "No Reddit account connected" : "Perunu contu de Reddit connètidu", 43 | "Error connecting to Reddit" : "Errore in sa connessione a Reddit", 44 | "No Reddit news!" : "Peruna noa de Reddit!" 45 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 46 | } -------------------------------------------------------------------------------- /l10n/sl.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "integration_reddit", 3 | { 4 | "Error during OAuth exchanges" : "Napaka med izmenjavo podatkov OAuth", 5 | "Error getting OAuth access token" : "Napaka med pridobivanjem žetona OAuth za dostop", 6 | "Reddit news" : "Novice Reddit", 7 | "Reddit posts" : "Objave Reddit", 8 | "Bad HTTP method" : "Neustrezna metoda HTTP", 9 | "Bad credentials" : "Neustrezna poverila", 10 | "Failed to get Reddit news" : "Pridobivanje novic Reddit je spodletelo", 11 | "OAuth access token refused" : "Žeton OAuth za dostop je bil zavrnjen", 12 | "Connected accounts" : "Povezani računi", 13 | "Reddit integration" : "Združevalnik Reddit", 14 | "Integration of Reddit social news aggregation service" : "Podpora za storitve zbirnika novic Reddit", 15 | "Reddit integration provides a dashboard widget displaying your recent subscribed news." : "Podpora za Reddit omogoča gradnike za prikazovanje pomembnih naročenih novic.", 16 | "Reddit admin options saved" : "Skrbniške nastavitve povezave Reddit so shranjene", 17 | "Failed to save Reddit admin options" : "Shranjevanje skrbniških nastavitev računa Reddit je spodletelo", 18 | "There are 3 ways to allow your Nextcloud users to use OAuth to authenticate to Reddit:" : "Na voljo so 3 načini za omogočanje uporabe OAuth za overitev povezave z okoljem Reddit:", 19 | "Leave all fields empty to use default Nextcloud Reddit OAuth app." : "Za uporabo privzetega programa za overitev računa Reddit z OAuth pustite polja prazna.", 20 | "Create your own Reddit \"web application\" in Reddit preferences and put the application ID and secret below." : "Ustvarite svoj »spletni program« med nastavitvami Reddit in nato vpišite ID programa in geslo v spodnja polja.", 21 | "Reddit app settings" : "Nastavitve programa Reddit", 22 | "Make sure you set the \"Redirection URI\" to" : "Poskrbite, da bo »preusmeritveni naslov URI« nastavljen na", 23 | "Create your own Reddit \"mobile application\" in Reddit preferences and put the application ID below. Leave the \"Application secret\" field empty." : "Ustvarite svoj »mobilni program« med nastavitvami Reddit in nato vpišite ID programa v spodnje polje. Polje gesla pustite prazno.", 24 | "Application ID" : "ID Programa", 25 | "Client ID of your Reddit application" : "ID Odjemalca programa Reddit", 26 | "Application secret" : "Koda programa", 27 | "Client secret of your Reddit application" : "Koda programa za povezavo z računom Reddit", 28 | "Successfully connected to Reddit!" : "Povezava z Reddit je uspešno vzpostavljena!", 29 | "Reddit OAuth error:" : "Napaka overitve OAuth za Reddit:", 30 | "Nextcloud Reddit integration on {ncUrl}" : "Združevalnik Reddit na naslovu {ncUrl}", 31 | "Reddit options saved" : "Nastavitve Reddit so shranjene", 32 | "Failed to save Reddit options" : "Shranjevanje nastavitev Reddit je spodletelo", 33 | "Failed to save Reddit OAuth state" : "Shranjevanje stanja Reddit OAuth je spodletelo", 34 | "If you have trouble authenticating, ask your Nextcloud administrator to check Reddit admin settings." : "Če imate težave z overitvijo, stopite v stik s skrbnikom sistema za preverjanje skrbniških nastavitev Reddit.", 35 | "Make sure to accept the protocol registration on top of this page to allow authentication to Reddit." : "Vpis protokola na vrhu te strani je treba odobriti in nato dovoliti overitev okolja Reddit.", 36 | "With Chrome/Chromium, you should see a popup on browser top-left to authorize this page to open \"web+nextcloudreddit\" links." : "Pri uporabi brskalnika Chrome/Chromium bi morali videti pojavno okno v zgornjem levem kotu za overitev odpiranja povezav »web+nextcloudreddit«.", 37 | "If you don't see the popup, you can still click on this icon in the address bar." : "Če se pojavno okno ne pokaže, je to še vedno mogoče odpreti s klikom na ikono v naslovni vrstici.", 38 | "Then authorize this page to open \"web+nextcloudreddit\" links." : "Nato overite to stran za odpiranje povezav »web+nextcloudreddit«.", 39 | "If you still don't manage to get the protocol registered, check your settings on this page:" : "Če še vedno ni mogoče vpisati protokola, preverite nastavitve na tej strani:", 40 | "With Firefox, you should see a bar on top of this page to authorize this page to open \"web+nextcloudreddit\" links." : "Pri uporabi brskalnika Firefox bi morali videti vrstico na vrhu te strani za overitev odpiranja povezav »web+nextcloudreddit«.", 41 | "Connect to Reddit" : "Poveži z računom Reddit", 42 | "Connected as {user}" : "Povezan je uporabniški račun {user}", 43 | "Disconnect from Reddit" : "Prekini povezavo z Reddit", 44 | "You must access this page with HTTPS to be able to authenticate to Reddit." : "Za overitev računa Reddit mora biti vzpostavljena povezava prek protokola HTTPS.", 45 | "No Reddit account connected" : "Ni še povezanega računa Reddit", 46 | "Error connecting to Reddit" : "Napaka povezovanja z računom Reddit", 47 | "No Reddit news!" : "NiI novic Reddit!" 48 | }, 49 | "nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);"); 50 | -------------------------------------------------------------------------------- /l10n/sl.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Error during OAuth exchanges" : "Napaka med izmenjavo podatkov OAuth", 3 | "Error getting OAuth access token" : "Napaka med pridobivanjem žetona OAuth za dostop", 4 | "Reddit news" : "Novice Reddit", 5 | "Reddit posts" : "Objave Reddit", 6 | "Bad HTTP method" : "Neustrezna metoda HTTP", 7 | "Bad credentials" : "Neustrezna poverila", 8 | "Failed to get Reddit news" : "Pridobivanje novic Reddit je spodletelo", 9 | "OAuth access token refused" : "Žeton OAuth za dostop je bil zavrnjen", 10 | "Connected accounts" : "Povezani računi", 11 | "Reddit integration" : "Združevalnik Reddit", 12 | "Integration of Reddit social news aggregation service" : "Podpora za storitve zbirnika novic Reddit", 13 | "Reddit integration provides a dashboard widget displaying your recent subscribed news." : "Podpora za Reddit omogoča gradnike za prikazovanje pomembnih naročenih novic.", 14 | "Reddit admin options saved" : "Skrbniške nastavitve povezave Reddit so shranjene", 15 | "Failed to save Reddit admin options" : "Shranjevanje skrbniških nastavitev računa Reddit je spodletelo", 16 | "There are 3 ways to allow your Nextcloud users to use OAuth to authenticate to Reddit:" : "Na voljo so 3 načini za omogočanje uporabe OAuth za overitev povezave z okoljem Reddit:", 17 | "Leave all fields empty to use default Nextcloud Reddit OAuth app." : "Za uporabo privzetega programa za overitev računa Reddit z OAuth pustite polja prazna.", 18 | "Create your own Reddit \"web application\" in Reddit preferences and put the application ID and secret below." : "Ustvarite svoj »spletni program« med nastavitvami Reddit in nato vpišite ID programa in geslo v spodnja polja.", 19 | "Reddit app settings" : "Nastavitve programa Reddit", 20 | "Make sure you set the \"Redirection URI\" to" : "Poskrbite, da bo »preusmeritveni naslov URI« nastavljen na", 21 | "Create your own Reddit \"mobile application\" in Reddit preferences and put the application ID below. Leave the \"Application secret\" field empty." : "Ustvarite svoj »mobilni program« med nastavitvami Reddit in nato vpišite ID programa v spodnje polje. Polje gesla pustite prazno.", 22 | "Application ID" : "ID Programa", 23 | "Client ID of your Reddit application" : "ID Odjemalca programa Reddit", 24 | "Application secret" : "Koda programa", 25 | "Client secret of your Reddit application" : "Koda programa za povezavo z računom Reddit", 26 | "Successfully connected to Reddit!" : "Povezava z Reddit je uspešno vzpostavljena!", 27 | "Reddit OAuth error:" : "Napaka overitve OAuth za Reddit:", 28 | "Nextcloud Reddit integration on {ncUrl}" : "Združevalnik Reddit na naslovu {ncUrl}", 29 | "Reddit options saved" : "Nastavitve Reddit so shranjene", 30 | "Failed to save Reddit options" : "Shranjevanje nastavitev Reddit je spodletelo", 31 | "Failed to save Reddit OAuth state" : "Shranjevanje stanja Reddit OAuth je spodletelo", 32 | "If you have trouble authenticating, ask your Nextcloud administrator to check Reddit admin settings." : "Če imate težave z overitvijo, stopite v stik s skrbnikom sistema za preverjanje skrbniških nastavitev Reddit.", 33 | "Make sure to accept the protocol registration on top of this page to allow authentication to Reddit." : "Vpis protokola na vrhu te strani je treba odobriti in nato dovoliti overitev okolja Reddit.", 34 | "With Chrome/Chromium, you should see a popup on browser top-left to authorize this page to open \"web+nextcloudreddit\" links." : "Pri uporabi brskalnika Chrome/Chromium bi morali videti pojavno okno v zgornjem levem kotu za overitev odpiranja povezav »web+nextcloudreddit«.", 35 | "If you don't see the popup, you can still click on this icon in the address bar." : "Če se pojavno okno ne pokaže, je to še vedno mogoče odpreti s klikom na ikono v naslovni vrstici.", 36 | "Then authorize this page to open \"web+nextcloudreddit\" links." : "Nato overite to stran za odpiranje povezav »web+nextcloudreddit«.", 37 | "If you still don't manage to get the protocol registered, check your settings on this page:" : "Če še vedno ni mogoče vpisati protokola, preverite nastavitve na tej strani:", 38 | "With Firefox, you should see a bar on top of this page to authorize this page to open \"web+nextcloudreddit\" links." : "Pri uporabi brskalnika Firefox bi morali videti vrstico na vrhu te strani za overitev odpiranja povezav »web+nextcloudreddit«.", 39 | "Connect to Reddit" : "Poveži z računom Reddit", 40 | "Connected as {user}" : "Povezan je uporabniški račun {user}", 41 | "Disconnect from Reddit" : "Prekini povezavo z Reddit", 42 | "You must access this page with HTTPS to be able to authenticate to Reddit." : "Za overitev računa Reddit mora biti vzpostavljena povezava prek protokola HTTPS.", 43 | "No Reddit account connected" : "Ni še povezanega računa Reddit", 44 | "Error connecting to Reddit" : "Napaka povezovanja z računom Reddit", 45 | "No Reddit news!" : "NiI novic Reddit!" 46 | },"pluralForm" :"nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);" 47 | } -------------------------------------------------------------------------------- /l10n/sv.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "integration_reddit", 3 | { 4 | "Error during OAuth exchanges" : "Fel vid utväxling av OAuth-token", 5 | "Error getting OAuth access token" : "Kunde inte hämta OAuth-token", 6 | "Reddit news" : "Reddit-nyheter", 7 | "Bad HTTP method" : "Felaktig HTTP-metod", 8 | "Bad credentials" : "Ogiltiga inloggningsuppgifter", 9 | "OAuth access token refused" : "OAuth-token avvisades", 10 | "Connected accounts" : "Anslutna konton", 11 | "Reddit integration" : "Reddit-integrering", 12 | "Application ID" : "Applikations-ID", 13 | "Application secret" : "Applikationshemlighet", 14 | "Connect to Reddit" : "Anslut till Reddit", 15 | "Connected as {user}" : "Ansluten som {user}", 16 | "Disconnect from Reddit" : "Koppla ner från Reddit", 17 | "No Reddit news!" : "Inga Reddit-nyheter!" 18 | }, 19 | "nplurals=2; plural=(n != 1);"); 20 | -------------------------------------------------------------------------------- /l10n/sv.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Error during OAuth exchanges" : "Fel vid utväxling av OAuth-token", 3 | "Error getting OAuth access token" : "Kunde inte hämta OAuth-token", 4 | "Reddit news" : "Reddit-nyheter", 5 | "Bad HTTP method" : "Felaktig HTTP-metod", 6 | "Bad credentials" : "Ogiltiga inloggningsuppgifter", 7 | "OAuth access token refused" : "OAuth-token avvisades", 8 | "Connected accounts" : "Anslutna konton", 9 | "Reddit integration" : "Reddit-integrering", 10 | "Application ID" : "Applikations-ID", 11 | "Application secret" : "Applikationshemlighet", 12 | "Connect to Reddit" : "Anslut till Reddit", 13 | "Connected as {user}" : "Ansluten som {user}", 14 | "Disconnect from Reddit" : "Koppla ner från Reddit", 15 | "No Reddit news!" : "Inga Reddit-nyheter!" 16 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 17 | } -------------------------------------------------------------------------------- /l10n/uk.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "integration_reddit", 3 | { 4 | "Error during OAuth exchanges" : "Помилка під час обміну OAuth", 5 | "Error getting OAuth access token" : "Помилка отримання токена доступу OAuth", 6 | "Bad HTTP method" : "Поганий метод HTTP", 7 | "Bad credentials" : "Погані облікові дані", 8 | "OAuth access token refused" : "Токен доступу OAuth відхилено", 9 | "Connected accounts" : "Підключені облікові записи" 10 | }, 11 | "nplurals=4; plural=(n % 1 == 0 && n % 10 == 1 && n % 100 != 11 ? 0 : n % 1 == 0 && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14) ? 1 : n % 1 == 0 && (n % 10 ==0 || (n % 10 >=5 && n % 10 <=9) || (n % 100 >=11 && n % 100 <=14 )) ? 2: 3);"); 12 | -------------------------------------------------------------------------------- /l10n/uk.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Error during OAuth exchanges" : "Помилка під час обміну OAuth", 3 | "Error getting OAuth access token" : "Помилка отримання токена доступу OAuth", 4 | "Bad HTTP method" : "Поганий метод HTTP", 5 | "Bad credentials" : "Погані облікові дані", 6 | "OAuth access token refused" : "Токен доступу OAuth відхилено", 7 | "Connected accounts" : "Підключені облікові записи" 8 | },"pluralForm" :"nplurals=4; plural=(n % 1 == 0 && n % 10 == 1 && n % 100 != 11 ? 0 : n % 1 == 0 && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14) ? 1 : n % 1 == 0 && (n % 10 ==0 || (n % 10 >=5 && n % 10 <=9) || (n % 100 >=11 && n % 100 <=14 )) ? 2: 3);" 9 | } -------------------------------------------------------------------------------- /l10n/vi.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "integration_reddit", 3 | { 4 | "Bad HTTP method" : "Phương thức HTTP không hợp lệ", 5 | "Bad credentials" : "Thông tin đăng nhập không hợp lệ.", 6 | "Connected accounts" : "Đã kết nối tài khoản", 7 | "Connected as {user}" : "Kết nối bởi {user}" 8 | }, 9 | "nplurals=1; plural=0;"); 10 | -------------------------------------------------------------------------------- /l10n/vi.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Bad HTTP method" : "Phương thức HTTP không hợp lệ", 3 | "Bad credentials" : "Thông tin đăng nhập không hợp lệ.", 4 | "Connected accounts" : "Đã kết nối tài khoản", 5 | "Connected as {user}" : "Kết nối bởi {user}" 6 | },"pluralForm" :"nplurals=1; plural=0;" 7 | } -------------------------------------------------------------------------------- /l10n/zh_CN.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "integration_reddit", 3 | { 4 | "Error during OAuth exchanges" : "交换 OAuth 时出错", 5 | "Error getting OAuth access token" : "获取 OAuth 访问令牌时出错", 6 | "Reddit news" : "Reddit新闻", 7 | "Comment from %1$s in %2$s" : "于%2$s来自%1$s的评论", 8 | "Reddit publications and subreddits" : "Reddit发布和子版块", 9 | "By @%1$s in %2$s" : "由@%1$s在%2$s中", 10 | "Reddit posts" : "Reddit帖子", 11 | "Subreddits" : "子版块", 12 | "Bad HTTP method" : "错误的HTTP方法", 13 | "Bad credentials" : "错误的凭据", 14 | "Failed to get Reddit news" : "获取Reddit新闻失败", 15 | "OAuth access token refused" : "OAuth访问令牌被拒绝", 16 | "Connected accounts" : "关联账号", 17 | "Reddit integration" : "Reddit集成", 18 | "Integration of Reddit social news aggregation service" : "集成 Reddit 社交新闻聚合服务", 19 | "Reddit integration provides a dashboard widget displaying your recent subscribed news." : "Reddit集成提供了一个仪表板小部件,其显示您最近订阅的新闻。", 20 | "Reddit admin options saved" : "已保存Reddit管理员选项", 21 | "Failed to save Reddit admin options" : "保存Reddit管理员选项失败", 22 | "There are 3 ways to allow your Nextcloud users to use OAuth to authenticate to Reddit:" : "有3种方法允许你的Nextcloud用户使用OAuth认证到Reddit: ", 23 | "Leave all fields empty to use default Nextcloud Reddit OAuth app." : "留空所有字段使用默认的Nextcloud Reddit OAuth应用程序。", 24 | "Create your own Reddit \"web application\" in Reddit preferences and put the application ID and secret below." : "在Reddit首选项创建您自己的Reddit“Web应用程序”,并把应用程序ID和密码放在下面。", 25 | "Reddit app settings" : "Reddit应用设置", 26 | "Make sure you set the \"Redirection URI\" to" : "确认您将“重定向URI”设置为", 27 | "Create your own Reddit \"mobile application\" in Reddit preferences and put the application ID below. Leave the \"Application secret\" field empty." : "在Reddit首选项创建您自己的Reddit“移动应用程序”,并把应用程序ID放在下面。将“应用程序密码”字段留空。", 28 | "Application ID" : "应用程序ID", 29 | "Client ID of your Reddit application" : "您的Reddit应用程序客户端ID", 30 | "Application secret" : "应用程序密码", 31 | "Client secret of your Reddit application" : "您的Reddit应用程序客户端密码", 32 | "Successfully connected to Reddit!" : "成功连接到Reddit!", 33 | "Reddit OAuth error:" : "Reddit OAuth错误:", 34 | "Nextcloud Reddit integration on {ncUrl}" : "{ncUrl}上的Nextcloud Reddit集成", 35 | "Reddit options saved" : "已保存Reddit选项", 36 | "Failed to save Reddit options" : "保存Reddit选项失败", 37 | "Failed to save Reddit OAuth state" : "保存Reddit OAuth状态失败", 38 | "If you have trouble authenticating, ask your Nextcloud administrator to check Reddit admin settings." : "如果您有验证困难,请询问您的Nextcloud管理员检查Reddit管理设置。", 39 | "Make sure to accept the protocol registration on top of this page to allow authentication to Reddit." : "请确保接受此页面顶部的协议注册,以允许Reddit身份验证 ", 40 | "With Chrome/Chromium, you should see a popup on browser top-left to authorize this page to open \"web+nextcloudreddit\" links." : "如果使用 Chrome/Chromium 浏览器,你应该会在浏览器左上角看到一个弹出窗口,授权本页面打开 “web+nextcloudtwitter” 链接。", 41 | "If you don't see the popup, you can still click on this icon in the address bar." : "如果你没有看到弹出窗口,你仍然可以在地址栏点击这个图标。", 42 | "Then authorize this page to open \"web+nextcloudreddit\" links." : "然后授权本页面打开“web+ nextcloudredit”链接。 ", 43 | "If you still don't manage to get the protocol registered, check your settings on this page:" : "如果您仍然不能成功注册协议,请在此页面检查您的设置:", 44 | "With Firefox, you should see a bar on top of this page to authorize this page to open \"web+nextcloudreddit\" links." : "在 Firefox 中,你应该会在页面顶部看到一个授权该页面打开 “web+nextcloudtwitter” 链接的栏。 ", 45 | "Connect to Reddit" : "连接到Reddit", 46 | "Connected as {user}" : "已作为{user}连接", 47 | "Disconnect from Reddit" : "从Reddit断开连接", 48 | "You must access this page with HTTPS to be able to authenticate to Reddit." : "您必须使用 HTTPS 访问此页面才能进行 Reddit 身份验证。", 49 | "No Reddit account connected" : "未连接至Reddit账号", 50 | "Error connecting to Reddit" : "连接到Reddit时出错", 51 | "No Reddit news!" : "没有Reddit新闻!" 52 | }, 53 | "nplurals=1; plural=0;"); 54 | -------------------------------------------------------------------------------- /l10n/zh_CN.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Error during OAuth exchanges" : "交换 OAuth 时出错", 3 | "Error getting OAuth access token" : "获取 OAuth 访问令牌时出错", 4 | "Reddit news" : "Reddit新闻", 5 | "Comment from %1$s in %2$s" : "于%2$s来自%1$s的评论", 6 | "Reddit publications and subreddits" : "Reddit发布和子版块", 7 | "By @%1$s in %2$s" : "由@%1$s在%2$s中", 8 | "Reddit posts" : "Reddit帖子", 9 | "Subreddits" : "子版块", 10 | "Bad HTTP method" : "错误的HTTP方法", 11 | "Bad credentials" : "错误的凭据", 12 | "Failed to get Reddit news" : "获取Reddit新闻失败", 13 | "OAuth access token refused" : "OAuth访问令牌被拒绝", 14 | "Connected accounts" : "关联账号", 15 | "Reddit integration" : "Reddit集成", 16 | "Integration of Reddit social news aggregation service" : "集成 Reddit 社交新闻聚合服务", 17 | "Reddit integration provides a dashboard widget displaying your recent subscribed news." : "Reddit集成提供了一个仪表板小部件,其显示您最近订阅的新闻。", 18 | "Reddit admin options saved" : "已保存Reddit管理员选项", 19 | "Failed to save Reddit admin options" : "保存Reddit管理员选项失败", 20 | "There are 3 ways to allow your Nextcloud users to use OAuth to authenticate to Reddit:" : "有3种方法允许你的Nextcloud用户使用OAuth认证到Reddit: ", 21 | "Leave all fields empty to use default Nextcloud Reddit OAuth app." : "留空所有字段使用默认的Nextcloud Reddit OAuth应用程序。", 22 | "Create your own Reddit \"web application\" in Reddit preferences and put the application ID and secret below." : "在Reddit首选项创建您自己的Reddit“Web应用程序”,并把应用程序ID和密码放在下面。", 23 | "Reddit app settings" : "Reddit应用设置", 24 | "Make sure you set the \"Redirection URI\" to" : "确认您将“重定向URI”设置为", 25 | "Create your own Reddit \"mobile application\" in Reddit preferences and put the application ID below. Leave the \"Application secret\" field empty." : "在Reddit首选项创建您自己的Reddit“移动应用程序”,并把应用程序ID放在下面。将“应用程序密码”字段留空。", 26 | "Application ID" : "应用程序ID", 27 | "Client ID of your Reddit application" : "您的Reddit应用程序客户端ID", 28 | "Application secret" : "应用程序密码", 29 | "Client secret of your Reddit application" : "您的Reddit应用程序客户端密码", 30 | "Successfully connected to Reddit!" : "成功连接到Reddit!", 31 | "Reddit OAuth error:" : "Reddit OAuth错误:", 32 | "Nextcloud Reddit integration on {ncUrl}" : "{ncUrl}上的Nextcloud Reddit集成", 33 | "Reddit options saved" : "已保存Reddit选项", 34 | "Failed to save Reddit options" : "保存Reddit选项失败", 35 | "Failed to save Reddit OAuth state" : "保存Reddit OAuth状态失败", 36 | "If you have trouble authenticating, ask your Nextcloud administrator to check Reddit admin settings." : "如果您有验证困难,请询问您的Nextcloud管理员检查Reddit管理设置。", 37 | "Make sure to accept the protocol registration on top of this page to allow authentication to Reddit." : "请确保接受此页面顶部的协议注册,以允许Reddit身份验证 ", 38 | "With Chrome/Chromium, you should see a popup on browser top-left to authorize this page to open \"web+nextcloudreddit\" links." : "如果使用 Chrome/Chromium 浏览器,你应该会在浏览器左上角看到一个弹出窗口,授权本页面打开 “web+nextcloudtwitter” 链接。", 39 | "If you don't see the popup, you can still click on this icon in the address bar." : "如果你没有看到弹出窗口,你仍然可以在地址栏点击这个图标。", 40 | "Then authorize this page to open \"web+nextcloudreddit\" links." : "然后授权本页面打开“web+ nextcloudredit”链接。 ", 41 | "If you still don't manage to get the protocol registered, check your settings on this page:" : "如果您仍然不能成功注册协议,请在此页面检查您的设置:", 42 | "With Firefox, you should see a bar on top of this page to authorize this page to open \"web+nextcloudreddit\" links." : "在 Firefox 中,你应该会在页面顶部看到一个授权该页面打开 “web+nextcloudtwitter” 链接的栏。 ", 43 | "Connect to Reddit" : "连接到Reddit", 44 | "Connected as {user}" : "已作为{user}连接", 45 | "Disconnect from Reddit" : "从Reddit断开连接", 46 | "You must access this page with HTTPS to be able to authenticate to Reddit." : "您必须使用 HTTPS 访问此页面才能进行 Reddit 身份验证。", 47 | "No Reddit account connected" : "未连接至Reddit账号", 48 | "Error connecting to Reddit" : "连接到Reddit时出错", 49 | "No Reddit news!" : "没有Reddit新闻!" 50 | },"pluralForm" :"nplurals=1; plural=0;" 51 | } -------------------------------------------------------------------------------- /l10n/zh_HK.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "integration_reddit", 3 | { 4 | "Error during OAuth exchanges" : "OAuth 交換時發生錯誤", 5 | "Error getting OAuth access token" : "擷取 OAuth 存取權杖時發生錯誤", 6 | "Reddit news" : "Reddit 新聞", 7 | "Comment from %1$s in %2$s" : "於 %2$s 來自 %1$s 的評論", 8 | "Reddit publications and subreddits" : "Reddit 出版與子版塊", 9 | "By @%1$s in %2$s" : "由 @%1$s 在 %2$s 中", 10 | "Reddit posts" : "Reddit 帖文", 11 | "Subreddits" : "Reddits 子版塊", 12 | "Bad HTTP method" : "不正確的 HTTP 方法", 13 | "Bad credentials" : "錯誤的身分驗證", 14 | "Failed to get Reddit news" : "取得 Reddit 新聞失敗", 15 | "OAuth access token refused" : "OAuth 存取權杖被拒絕", 16 | "Connected accounts" : "已連線的帳號", 17 | "Reddit integration" : "Reddit 整合", 18 | "Integration of Reddit social news aggregation service" : "Reddit 社交新聞聚合服務的整合", 19 | "Reddit integration provides a dashboard widget displaying your recent subscribed news." : "Reddit集成提供了一個顯示您最近訂閱新聞的儀表板小部件。", 20 | "Reddit admin options saved" : "已儲存 Reddit 管理員選項", 21 | "Failed to save Reddit admin options" : "儲存 Reddit 管理員選項失敗", 22 | "There are 3 ways to allow your Nextcloud users to use OAuth to authenticate to Reddit:" : "您的Nextcloud用戶有3種使用OAuth進行身分驗證的方式:", 23 | "Leave all fields empty to use default Nextcloud Reddit OAuth app." : "將所有字段留空以使用默認的 Nextcloud Reddit OAuth 應用程式。", 24 | "Create your own Reddit \"web application\" in Reddit preferences and put the application ID and secret below." : "在Reddit首選項中創建您自己的Reddit“ Web應用程序”,並將應用程序ID和密碼放在下面。", 25 | "Reddit app settings" : "Reddit 應用程式設定", 26 | "Make sure you set the \"Redirection URI\" to" : "確保您將「重新導向 URI」設定為", 27 | "Create your own Reddit \"mobile application\" in Reddit preferences and put the application ID below. Leave the \"Application secret\" field empty." : "在Reddit偏好設置中創建自己的 Reddit “流動應用程序”,並將應用程序ID放在下面。將“應用程序機密”字段保留為空。", 28 | "Application ID" : "應用程式 ID", 29 | "Client ID of your Reddit application" : "您 Reddit 應用程式的客戶端 ID", 30 | "Application secret" : "應用程式密碼", 31 | "Client secret of your Reddit application" : "您 Reddit 應用程式的客戶端密碼", 32 | "Successfully connected to Reddit!" : "與 Reddit 連線成功!", 33 | "Reddit OAuth error:" : "Reddit OAuth 錯誤:", 34 | "Nextcloud Reddit integration on {ncUrl}" : "{ncUrl} 上的 Nextcloud Reddit 整合", 35 | "Reddit options saved" : "已儲存 Reddit 選項", 36 | "Failed to save Reddit options" : "儲存 Reddit 選項失敗", 37 | "Failed to save Reddit OAuth state" : "儲存 Reddit OAuth 狀態失敗", 38 | "If you have trouble authenticating, ask your Nextcloud administrator to check Reddit admin settings." : "如果您無法通過身分驗證,請讓您的Nextcloud管理員檢查Reddit管理員設置。", 39 | "Make sure to accept the protocol registration on top of this page to allow authentication to Reddit." : "確保接受此頁面頂部的協定註冊,以允許對 Reddit 進行身分驗證。", 40 | "With Chrome/Chromium, you should see a popup on browser top-left to authorize this page to open \"web+nextcloudreddit\" links." : "使用 Chrome / Chromium,您應該在瀏覽器的左上角看到一個彈出窗口,以授權該頁面打開 “web+nextcloudreddit” 連結。", 41 | "If you don't see the popup, you can still click on this icon in the address bar." : "如果沒有看到彈出窗口,您仍然可以在地址欄中單擊此圖標。", 42 | "Then authorize this page to open \"web+nextcloudreddit\" links." : "然後授權此頁面打開 “web+nextcloudreddit” 連結。", 43 | "If you still don't manage to get the protocol registered, check your settings on this page:" : "如果仍然無法註冊協定,請在此頁面上檢查設置:", 44 | "With Firefox, you should see a bar on top of this page to authorize this page to open \"web+nextcloudreddit\" links." : "使用Firefox,您應該在此頁面頂部看到一個欄,以授權該頁面打開 “web+nextcloudreddit” 連結。", 45 | "Connect to Reddit" : "連線至 Reddit", 46 | "Connected as {user}" : "以 {user} 身分連線", 47 | "Disconnect from Reddit" : "與 Reddit 斷開連線", 48 | "You must access this page with HTTPS to be able to authenticate to Reddit." : "您必須使用HTTPS訪問此頁面才能進行Reddit身分驗證。", 49 | "No Reddit account connected" : "未連線至 Reddit 帳號", 50 | "Error connecting to Reddit" : "連線至 Reddit 時發生錯誤", 51 | "No Reddit news!" : "沒有 Reddit 新聞!" 52 | }, 53 | "nplurals=1; plural=0;"); 54 | -------------------------------------------------------------------------------- /l10n/zh_HK.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Error during OAuth exchanges" : "OAuth 交換時發生錯誤", 3 | "Error getting OAuth access token" : "擷取 OAuth 存取權杖時發生錯誤", 4 | "Reddit news" : "Reddit 新聞", 5 | "Comment from %1$s in %2$s" : "於 %2$s 來自 %1$s 的評論", 6 | "Reddit publications and subreddits" : "Reddit 出版與子版塊", 7 | "By @%1$s in %2$s" : "由 @%1$s 在 %2$s 中", 8 | "Reddit posts" : "Reddit 帖文", 9 | "Subreddits" : "Reddits 子版塊", 10 | "Bad HTTP method" : "不正確的 HTTP 方法", 11 | "Bad credentials" : "錯誤的身分驗證", 12 | "Failed to get Reddit news" : "取得 Reddit 新聞失敗", 13 | "OAuth access token refused" : "OAuth 存取權杖被拒絕", 14 | "Connected accounts" : "已連線的帳號", 15 | "Reddit integration" : "Reddit 整合", 16 | "Integration of Reddit social news aggregation service" : "Reddit 社交新聞聚合服務的整合", 17 | "Reddit integration provides a dashboard widget displaying your recent subscribed news." : "Reddit集成提供了一個顯示您最近訂閱新聞的儀表板小部件。", 18 | "Reddit admin options saved" : "已儲存 Reddit 管理員選項", 19 | "Failed to save Reddit admin options" : "儲存 Reddit 管理員選項失敗", 20 | "There are 3 ways to allow your Nextcloud users to use OAuth to authenticate to Reddit:" : "您的Nextcloud用戶有3種使用OAuth進行身分驗證的方式:", 21 | "Leave all fields empty to use default Nextcloud Reddit OAuth app." : "將所有字段留空以使用默認的 Nextcloud Reddit OAuth 應用程式。", 22 | "Create your own Reddit \"web application\" in Reddit preferences and put the application ID and secret below." : "在Reddit首選項中創建您自己的Reddit“ Web應用程序”,並將應用程序ID和密碼放在下面。", 23 | "Reddit app settings" : "Reddit 應用程式設定", 24 | "Make sure you set the \"Redirection URI\" to" : "確保您將「重新導向 URI」設定為", 25 | "Create your own Reddit \"mobile application\" in Reddit preferences and put the application ID below. Leave the \"Application secret\" field empty." : "在Reddit偏好設置中創建自己的 Reddit “流動應用程序”,並將應用程序ID放在下面。將“應用程序機密”字段保留為空。", 26 | "Application ID" : "應用程式 ID", 27 | "Client ID of your Reddit application" : "您 Reddit 應用程式的客戶端 ID", 28 | "Application secret" : "應用程式密碼", 29 | "Client secret of your Reddit application" : "您 Reddit 應用程式的客戶端密碼", 30 | "Successfully connected to Reddit!" : "與 Reddit 連線成功!", 31 | "Reddit OAuth error:" : "Reddit OAuth 錯誤:", 32 | "Nextcloud Reddit integration on {ncUrl}" : "{ncUrl} 上的 Nextcloud Reddit 整合", 33 | "Reddit options saved" : "已儲存 Reddit 選項", 34 | "Failed to save Reddit options" : "儲存 Reddit 選項失敗", 35 | "Failed to save Reddit OAuth state" : "儲存 Reddit OAuth 狀態失敗", 36 | "If you have trouble authenticating, ask your Nextcloud administrator to check Reddit admin settings." : "如果您無法通過身分驗證,請讓您的Nextcloud管理員檢查Reddit管理員設置。", 37 | "Make sure to accept the protocol registration on top of this page to allow authentication to Reddit." : "確保接受此頁面頂部的協定註冊,以允許對 Reddit 進行身分驗證。", 38 | "With Chrome/Chromium, you should see a popup on browser top-left to authorize this page to open \"web+nextcloudreddit\" links." : "使用 Chrome / Chromium,您應該在瀏覽器的左上角看到一個彈出窗口,以授權該頁面打開 “web+nextcloudreddit” 連結。", 39 | "If you don't see the popup, you can still click on this icon in the address bar." : "如果沒有看到彈出窗口,您仍然可以在地址欄中單擊此圖標。", 40 | "Then authorize this page to open \"web+nextcloudreddit\" links." : "然後授權此頁面打開 “web+nextcloudreddit” 連結。", 41 | "If you still don't manage to get the protocol registered, check your settings on this page:" : "如果仍然無法註冊協定,請在此頁面上檢查設置:", 42 | "With Firefox, you should see a bar on top of this page to authorize this page to open \"web+nextcloudreddit\" links." : "使用Firefox,您應該在此頁面頂部看到一個欄,以授權該頁面打開 “web+nextcloudreddit” 連結。", 43 | "Connect to Reddit" : "連線至 Reddit", 44 | "Connected as {user}" : "以 {user} 身分連線", 45 | "Disconnect from Reddit" : "與 Reddit 斷開連線", 46 | "You must access this page with HTTPS to be able to authenticate to Reddit." : "您必須使用HTTPS訪問此頁面才能進行Reddit身分驗證。", 47 | "No Reddit account connected" : "未連線至 Reddit 帳號", 48 | "Error connecting to Reddit" : "連線至 Reddit 時發生錯誤", 49 | "No Reddit news!" : "沒有 Reddit 新聞!" 50 | },"pluralForm" :"nplurals=1; plural=0;" 51 | } -------------------------------------------------------------------------------- /l10n/zh_TW.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "integration_reddit", 3 | { 4 | "Error during OAuth exchanges" : "OAuth 交換時發生錯誤", 5 | "Error getting OAuth access token" : "取得 OAuth 存取權杖時發生錯誤", 6 | "Reddit news" : "Reddit 新聞", 7 | "Comment from %1$s in %2$s" : "於 %2$s 來自 %1$s 的評論", 8 | "Reddit publications and subreddits" : "Reddit 出版品與子版塊", 9 | "By @%1$s in %2$s" : "於 %2$s 由 @%1$s", 10 | "Reddit posts" : "Reddit 貼文", 11 | "Subreddits" : "子版塊", 12 | "Bad HTTP method" : "錯誤的 HTTP 方法", 13 | "Bad credentials" : "錯誤的憑證", 14 | "Failed to get Reddit news" : "取得 Reddit 新聞失敗", 15 | "OAuth access token refused" : "OAuth 存取權杖被拒絕", 16 | "Connected accounts" : "已連線的帳號", 17 | "Reddit integration" : "Reddit 整合", 18 | "Integration of Reddit social news aggregation service" : "Reddit 社交新聞聚合服務整合", 19 | "Reddit integration provides a dashboard widget displaying your recent subscribed news." : "Reddit 整合提供了儀表板小工具,其會顯示您最近訂閱的新聞。", 20 | "Reddit admin options saved" : "Reddit 管理員選項已儲存", 21 | "Failed to save Reddit admin options" : "儲存 Reddit 管理員選項失敗", 22 | "There are 3 ways to allow your Nextcloud users to use OAuth to authenticate to Reddit:" : "有三種方法允許您的 Nextcloud 使用者使用 OAuth 來認證 Reddit:", 23 | "Leave all fields empty to use default Nextcloud Reddit OAuth app." : "留空所有欄位以使用預設的 Nextcloud Reddit OAuth 應用程式。", 24 | "Create your own Reddit \"web application\" in Reddit preferences and put the application ID and secret below." : "在 Reddit 偏好設定中建立您自己的 Reddit「網路應用程式」,並將應用程式 ID 與密碼置於下方。", 25 | "Reddit app settings" : "Reddit 應用程式設定", 26 | "Make sure you set the \"Redirection URI\" to" : "確保您將「重新導向 URI」設定為", 27 | "Create your own Reddit \"mobile application\" in Reddit preferences and put the application ID below. Leave the \"Application secret\" field empty." : "在 Reddit 偏好設定中建立您自己的 Reddit「行動應用程式」,並將應用程式 ID 置於下方。將「應用程式密碼」欄位留空。", 28 | "Application ID" : "應用程式 ID", 29 | "Client ID of your Reddit application" : "您的 Reddit 應用程式客戶端 ID", 30 | "Application secret" : "應用程式密碼", 31 | "Client secret of your Reddit application" : "您 Reddit 應用程式的客戶端密碼", 32 | "Successfully connected to Reddit!" : "成功連結至 Reddit", 33 | "Reddit OAuth error:" : "Reddit OAuth 錯誤:", 34 | "Nextcloud Reddit integration on {ncUrl}" : "{ncUrl} 上的 Nextcloud Reddit 整合", 35 | "Reddit options saved" : "Reddit 選項已儲存", 36 | "Failed to save Reddit options" : "儲存 Reddit 選項失敗", 37 | "Failed to save Reddit OAuth state" : "儲存 Reddit OAuth 狀態失敗", 38 | "If you have trouble authenticating, ask your Nextcloud administrator to check Reddit admin settings." : "若您遇到驗證問題,請要求您的 Nextcloud 管理員檢查 Reddit 管理員設定。", 39 | "Make sure to accept the protocol registration on top of this page to allow authentication to Reddit." : "確保接受接受此頁面頂部的協定註冊,以允許對 Reddit 進行身份驗證。", 40 | "With Chrome/Chromium, you should see a popup on browser top-left to authorize this page to open \"web+nextcloudreddit\" links." : "若使用 Chrome/Chromium,您應該會在瀏覽器左上角看到一個彈出式視窗,授權本頁面開啟「web+nextcloudreddit」連結。", 41 | "If you don't see the popup, you can still click on this icon in the address bar." : "若您沒有看到彈出式視窗,您仍然可以點擊網址列中的此圖示。", 42 | "Then authorize this page to open \"web+nextcloudreddit\" links." : "然後授權本頁面開啟「web+nextcloudreddit」連結。", 43 | "If you still don't manage to get the protocol registered, check your settings on this page:" : "若您仍然無法註冊協定,請在此頁面上檢查您的設定:", 44 | "With Firefox, you should see a bar on top of this page to authorize this page to open \"web+nextcloudreddit\" links." : "若使用 Firefox,您應該會在本頁面頂部看到一個授權本頁面開啟「web+nextcloudreddit」連結的資訊列。", 45 | "Connect to Reddit" : "連結至 Reddit", 46 | "Connected as {user}" : "以 {user} 身份連結", 47 | "Disconnect from Reddit" : "取消 Reddit 連結", 48 | "You must access this page with HTTPS to be able to authenticate to Reddit." : "您必須使用 HTTPS 存取此頁面才能進行 Reddit 身份驗證。", 49 | "No Reddit account connected" : "未連結至 Reddit 帳號", 50 | "Error connecting to Reddit" : "連結至 Reddit 時發生錯誤", 51 | "No Reddit news!" : "無 Reddit 新聞!" 52 | }, 53 | "nplurals=1; plural=0;"); 54 | -------------------------------------------------------------------------------- /l10n/zh_TW.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Error during OAuth exchanges" : "OAuth 交換時發生錯誤", 3 | "Error getting OAuth access token" : "取得 OAuth 存取權杖時發生錯誤", 4 | "Reddit news" : "Reddit 新聞", 5 | "Comment from %1$s in %2$s" : "於 %2$s 來自 %1$s 的評論", 6 | "Reddit publications and subreddits" : "Reddit 出版品與子版塊", 7 | "By @%1$s in %2$s" : "於 %2$s 由 @%1$s", 8 | "Reddit posts" : "Reddit 貼文", 9 | "Subreddits" : "子版塊", 10 | "Bad HTTP method" : "錯誤的 HTTP 方法", 11 | "Bad credentials" : "錯誤的憑證", 12 | "Failed to get Reddit news" : "取得 Reddit 新聞失敗", 13 | "OAuth access token refused" : "OAuth 存取權杖被拒絕", 14 | "Connected accounts" : "已連線的帳號", 15 | "Reddit integration" : "Reddit 整合", 16 | "Integration of Reddit social news aggregation service" : "Reddit 社交新聞聚合服務整合", 17 | "Reddit integration provides a dashboard widget displaying your recent subscribed news." : "Reddit 整合提供了儀表板小工具,其會顯示您最近訂閱的新聞。", 18 | "Reddit admin options saved" : "Reddit 管理員選項已儲存", 19 | "Failed to save Reddit admin options" : "儲存 Reddit 管理員選項失敗", 20 | "There are 3 ways to allow your Nextcloud users to use OAuth to authenticate to Reddit:" : "有三種方法允許您的 Nextcloud 使用者使用 OAuth 來認證 Reddit:", 21 | "Leave all fields empty to use default Nextcloud Reddit OAuth app." : "留空所有欄位以使用預設的 Nextcloud Reddit OAuth 應用程式。", 22 | "Create your own Reddit \"web application\" in Reddit preferences and put the application ID and secret below." : "在 Reddit 偏好設定中建立您自己的 Reddit「網路應用程式」,並將應用程式 ID 與密碼置於下方。", 23 | "Reddit app settings" : "Reddit 應用程式設定", 24 | "Make sure you set the \"Redirection URI\" to" : "確保您將「重新導向 URI」設定為", 25 | "Create your own Reddit \"mobile application\" in Reddit preferences and put the application ID below. Leave the \"Application secret\" field empty." : "在 Reddit 偏好設定中建立您自己的 Reddit「行動應用程式」,並將應用程式 ID 置於下方。將「應用程式密碼」欄位留空。", 26 | "Application ID" : "應用程式 ID", 27 | "Client ID of your Reddit application" : "您的 Reddit 應用程式客戶端 ID", 28 | "Application secret" : "應用程式密碼", 29 | "Client secret of your Reddit application" : "您 Reddit 應用程式的客戶端密碼", 30 | "Successfully connected to Reddit!" : "成功連結至 Reddit", 31 | "Reddit OAuth error:" : "Reddit OAuth 錯誤:", 32 | "Nextcloud Reddit integration on {ncUrl}" : "{ncUrl} 上的 Nextcloud Reddit 整合", 33 | "Reddit options saved" : "Reddit 選項已儲存", 34 | "Failed to save Reddit options" : "儲存 Reddit 選項失敗", 35 | "Failed to save Reddit OAuth state" : "儲存 Reddit OAuth 狀態失敗", 36 | "If you have trouble authenticating, ask your Nextcloud administrator to check Reddit admin settings." : "若您遇到驗證問題,請要求您的 Nextcloud 管理員檢查 Reddit 管理員設定。", 37 | "Make sure to accept the protocol registration on top of this page to allow authentication to Reddit." : "確保接受接受此頁面頂部的協定註冊,以允許對 Reddit 進行身份驗證。", 38 | "With Chrome/Chromium, you should see a popup on browser top-left to authorize this page to open \"web+nextcloudreddit\" links." : "若使用 Chrome/Chromium,您應該會在瀏覽器左上角看到一個彈出式視窗,授權本頁面開啟「web+nextcloudreddit」連結。", 39 | "If you don't see the popup, you can still click on this icon in the address bar." : "若您沒有看到彈出式視窗,您仍然可以點擊網址列中的此圖示。", 40 | "Then authorize this page to open \"web+nextcloudreddit\" links." : "然後授權本頁面開啟「web+nextcloudreddit」連結。", 41 | "If you still don't manage to get the protocol registered, check your settings on this page:" : "若您仍然無法註冊協定,請在此頁面上檢查您的設定:", 42 | "With Firefox, you should see a bar on top of this page to authorize this page to open \"web+nextcloudreddit\" links." : "若使用 Firefox,您應該會在本頁面頂部看到一個授權本頁面開啟「web+nextcloudreddit」連結的資訊列。", 43 | "Connect to Reddit" : "連結至 Reddit", 44 | "Connected as {user}" : "以 {user} 身份連結", 45 | "Disconnect from Reddit" : "取消 Reddit 連結", 46 | "You must access this page with HTTPS to be able to authenticate to Reddit." : "您必須使用 HTTPS 存取此頁面才能進行 Reddit 身份驗證。", 47 | "No Reddit account connected" : "未連結至 Reddit 帳號", 48 | "Error connecting to Reddit" : "連結至 Reddit 時發生錯誤", 49 | "No Reddit news!" : "無 Reddit 新聞!" 50 | },"pluralForm" :"nplurals=1; plural=0;" 51 | } -------------------------------------------------------------------------------- /lib/AppInfo/Application.php: -------------------------------------------------------------------------------- 1 | registerDashboardWidget(RedditWidget::class); 35 | 36 | $context->registerSearchProvider(PublicationSearchProvider::class); 37 | $context->registerSearchProvider(SubredditSearchProvider::class); 38 | 39 | $context->registerReferenceProvider(PublicationReferenceProvider::class); 40 | $context->registerReferenceProvider(SubredditReferenceProvider::class); 41 | $context->registerReferenceProvider(CommentReferenceProvider::class); 42 | } 43 | 44 | public function boot(IBootContext $context): void { 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /lib/Controller/RedditAPIController.php: -------------------------------------------------------------------------------- 1 | config->getUserValue($this->userId, Application::APP_ID, 'token'); 38 | $this->accessToken = $accessToken === '' ? '' : $this->crypto->decrypt($accessToken); 39 | } 40 | 41 | /** 42 | * get notification list 43 | * 44 | * @param string|null $after 45 | * @return DataResponse 46 | * @throws PreConditionNotMetException 47 | */ 48 | #[NoAdminRequired] 49 | public function getNotifications(?string $after = null): DataResponse { 50 | if ($this->accessToken === '') { 51 | return new DataResponse(null, 400); 52 | } 53 | $result = $this->redditAPIService->getNotifications($this->userId, $after); 54 | if (!isset($result['error'])) { 55 | $response = new DataResponse($result); 56 | } else { 57 | $response = new DataResponse($result, 401); 58 | } 59 | return $response; 60 | } 61 | 62 | /** 63 | * get user avatar 64 | * 65 | * @param ?string $username 66 | * @param string|null $subreddit 67 | * @return DataDisplayResponse|RedirectResponse 68 | * @throws PreConditionNotMetException 69 | */ 70 | #[NoAdminRequired] 71 | #[NoCSRFRequired] 72 | public function getAvatar(?string $username = null, string $subreddit = null) { 73 | $avatarContent = $this->redditAPIService->getAvatar($this->userId, $username, $subreddit); 74 | if ($avatarContent !== '') { 75 | $response = new DataDisplayResponse($avatarContent); 76 | $response->cacheFor(60 * 60 * 24); 77 | return $response; 78 | } else { 79 | $fallbackAvatarUrl = $this->urlGenerator->linkToRouteAbsolute('core.GuestAvatar.getAvatar', ['guestName' => $username ?? $subreddit, 'size' => 44]); 80 | return new RedirectResponse($fallbackAvatarUrl); 81 | } 82 | } 83 | 84 | /** 85 | * get subreddit thumbnail 86 | * 87 | * @param string|null $url 88 | * @param string $subreddit 89 | * @return DataDisplayResponse|RedirectResponse 90 | */ 91 | #[NoAdminRequired] 92 | #[NoCSRFRequired] 93 | public function getThumbnail(string $url = null, string $subreddit = '??'): DataDisplayResponse|RedirectResponse { 94 | $thumbnailResponse = $this->redditAPIService->getThumbnail($url); 95 | if (isset($thumbnailResponse['body'], $thumbnailResponse['headers'])) { 96 | $response = new DataDisplayResponse( 97 | $thumbnailResponse['body'], 98 | Http::STATUS_OK, 99 | ['Content-Type' => $thumbnailResponse['headers']['Content-Type'][0] ?? 'image/jpeg'] 100 | ); 101 | $response->cacheFor(60 * 60 * 24); 102 | return $response; 103 | } else { 104 | $fallbackAvatarUrl = $this->urlGenerator->linkToRouteAbsolute('core.GuestAvatar.getAvatar', ['guestName' => $subreddit, 'size' => 44]); 105 | return new RedirectResponse($fallbackAvatarUrl); 106 | } 107 | } 108 | } 109 | -------------------------------------------------------------------------------- /lib/Dashboard/RedditWidget.php: -------------------------------------------------------------------------------- 1 | l10n->t('Reddit news'); 34 | } 35 | 36 | /** 37 | * @inheritDoc 38 | */ 39 | public function getOrder(): int { 40 | return 10; 41 | } 42 | 43 | /** 44 | * @inheritDoc 45 | */ 46 | public function getIconClass(): string { 47 | return 'icon-reddit'; 48 | } 49 | 50 | /** 51 | * @inheritDoc 52 | */ 53 | public function getUrl(): ?string { 54 | return $this->url->linkToRoute('settings.PersonalSettings.index', ['section' => 'connected-accounts']); 55 | } 56 | 57 | /** 58 | * @inheritDoc 59 | */ 60 | public function load(): void { 61 | Util::addScript(Application::APP_ID, Application::APP_ID . '-dashboard'); 62 | Util::addStyle(Application::APP_ID, 'dashboard'); 63 | } 64 | } 65 | -------------------------------------------------------------------------------- /lib/Migration/Version1200Date202410151354.php: -------------------------------------------------------------------------------- 1 | config->getAppValue(Application::APP_ID, 'client_secret'); 40 | if ($clientSecret !== '') { 41 | $clientSecret = $this->crypto->encrypt($clientSecret); 42 | $this->config->setAppValue(Application::APP_ID, 'client_secret', $clientSecret); 43 | } 44 | 45 | // encrypt user tokens 46 | $qbUpdate = $this->connection->getQueryBuilder(); 47 | $qbUpdate->update('preferences') 48 | ->set('configvalue', $qbUpdate->createParameter('updateValue')) 49 | ->where( 50 | $qbUpdate->expr()->eq('appid', $qbUpdate->createNamedParameter(Application::APP_ID, IQueryBuilder::PARAM_STR)) 51 | ) 52 | ->andWhere( 53 | $qbUpdate->expr()->eq('configkey', $qbUpdate->createParameter('updateConfigKey')) 54 | ); 55 | $qbUpdate->andWhere( 56 | $qbUpdate->expr()->eq('userid', $qbUpdate->createParameter('updateUserId')) 57 | ); 58 | 59 | $qbSelect = $this->connection->getQueryBuilder(); 60 | $qbSelect->select(['userid', 'configvalue', 'configkey']) 61 | ->from('preferences') 62 | ->where( 63 | $qbSelect->expr()->eq('appid', $qbSelect->createNamedParameter(Application::APP_ID, IQueryBuilder::PARAM_STR)) 64 | ); 65 | 66 | $or = $qbSelect->expr()->orx(); 67 | $or->add($qbSelect->expr()->eq('configkey', $qbSelect->createNamedParameter('token', IQueryBuilder::PARAM_STR))); 68 | $or->add($qbSelect->expr()->eq('configkey', $qbSelect->createNamedParameter('refresh_token', IQueryBuilder::PARAM_STR))); 69 | $qbSelect->andWhere($or); 70 | 71 | $qbSelect->andWhere( 72 | $qbSelect->expr()->nonEmptyString('configvalue') 73 | ) 74 | ->andWhere( 75 | $qbSelect->expr()->isNotNull('configvalue') 76 | ); 77 | $req = $qbSelect->executeQuery(); 78 | while ($row = $req->fetch()) { 79 | $userId = $row['userid']; 80 | $configKey = $row['configkey']; 81 | $storedClearValue = $row['configvalue']; 82 | $encryptedValue = $this->crypto->encrypt($storedClearValue); 83 | $qbUpdate->setParameter('updateUserId', $userId, IQueryBuilder::PARAM_STR); 84 | $qbUpdate->setParameter('updateConfigKey', $configKey, IQueryBuilder::PARAM_STR); 85 | $qbUpdate->setParameter('updateValue', $encryptedValue, IQueryBuilder::PARAM_STR); 86 | $qbUpdate->executeStatement(); 87 | } 88 | $req->closeCursor(); 89 | return null; 90 | } 91 | } 92 | -------------------------------------------------------------------------------- /lib/Reference/CommentReferenceProvider.php: -------------------------------------------------------------------------------- 1 | userId === null) { 41 | return false; 42 | } 43 | $linkPreviewEnabled = $this->config->getUserValue($this->userId, Application::APP_ID, 'link_preview_enabled', '1') === '1'; 44 | if (!$linkPreviewEnabled) { 45 | return false; 46 | } 47 | $adminLinkPreviewEnabled = $this->config->getAppValue(Application::APP_ID, 'link_preview_enabled', '1') === '1'; 48 | if (!$adminLinkPreviewEnabled) { 49 | return false; 50 | } 51 | return $this->getUrlInfo($referenceText) !== null; 52 | } 53 | 54 | /** 55 | * @inheritDoc 56 | */ 57 | public function resolveReference(string $referenceText): ?IReference { 58 | if ($this->matchReference($referenceText)) { 59 | $urlInfo = $this->getUrlInfo($referenceText); 60 | if ($urlInfo !== null) { 61 | $subreddit = $urlInfo['subreddit']; 62 | $postId = $urlInfo['post_id']; 63 | $commentId = $urlInfo['comment_id']; 64 | $commentInfo = $this->redditAPIService->getCommentInfo($this->userId, $commentId); 65 | $postInfo = $this->redditAPIService->getPostInfo($this->userId, $postId); 66 | if (isset($commentInfo['author'], $commentInfo['body'], $postInfo['title'])) { 67 | $reference = new Reference($referenceText); 68 | $title = $this->l10n->t('Comment from %1$s in %2$s', [$commentInfo['author'], 'r/' . $subreddit . '/' . $postInfo['title']]); 69 | $reference->setTitle($title); 70 | $description = $commentInfo['body']; 71 | $reference->setDescription($description); 72 | $thumbnailUrl = $this->urlGenerator->linkToRouteAbsolute(Application::APP_ID . '.redditAPI.getAvatar', ['username' => $commentInfo['author']]); 73 | $reference->setImageUrl($thumbnailUrl); 74 | /* 75 | $reference->setRichObject( 76 | self::RICH_OBJECT_TYPE, 77 | $postInfo 78 | ); 79 | */ 80 | return $reference; 81 | } 82 | // fallback to opengraph 83 | return $this->linkReferenceProvider->resolveReference($referenceText); 84 | } 85 | } 86 | 87 | return null; 88 | } 89 | 90 | /** 91 | * @param string $url 92 | * @return array|null 93 | */ 94 | private function getUrlInfo(string $url): ?array { 95 | // example url 96 | // https://www.reddit.com/r/rickandmorty/comments/11yul5n/comment/jd9tued/ 97 | preg_match('/^(?:https?:\/\/)?(?:www\.)?reddit\.com\/r\/([^\/\?]+)\/comments\/([0-9a-z]+)\/comment\/([0-9a-z]+)\/?/i', $url, $matches); 98 | return count($matches) > 3 99 | ? [ 100 | 'subreddit' => $matches[1], 101 | 'post_id' => $matches[2], 102 | 'comment_id' => $matches[3], 103 | ] 104 | : null; 105 | } 106 | 107 | /** 108 | * @inheritDoc 109 | */ 110 | public function getCachePrefix(string $referenceId): string { 111 | return $this->userId ?? ''; 112 | } 113 | 114 | /** 115 | * We don't use the userId here but rather a reference unique id 116 | * @inheritDoc 117 | */ 118 | public function getCacheKey(string $referenceId): ?string { 119 | return $referenceId; 120 | } 121 | 122 | /** 123 | * @param string $userId 124 | * @return void 125 | */ 126 | public function invalidateUserCache(string $userId): void { 127 | $this->referenceManager->invalidateCache($userId); 128 | } 129 | } 130 | -------------------------------------------------------------------------------- /lib/Reference/SubredditReferenceProvider.php: -------------------------------------------------------------------------------- 1 | userId === null) { 39 | return false; 40 | } 41 | $linkPreviewEnabled = $this->config->getUserValue($this->userId, Application::APP_ID, 'link_preview_enabled', '1') === '1'; 42 | if (!$linkPreviewEnabled) { 43 | return false; 44 | } 45 | $adminLinkPreviewEnabled = $this->config->getAppValue(Application::APP_ID, 'link_preview_enabled', '1') === '1'; 46 | if (!$adminLinkPreviewEnabled) { 47 | return false; 48 | } 49 | return $this->getUrlInfo($referenceText) !== null; 50 | } 51 | 52 | /** 53 | * @inheritDoc 54 | */ 55 | public function resolveReference(string $referenceText): ?IReference { 56 | if ($this->matchReference($referenceText)) { 57 | $urlInfo = $this->getUrlInfo($referenceText); 58 | if ($urlInfo !== null) { 59 | $subreddit = $urlInfo['subreddit']; 60 | $subredditInfo = $this->redditAPIService->getSubredditInfo($this->userId, $subreddit); 61 | if (isset($subredditInfo['title'], $subredditInfo['display_name_prefixed'], $subredditInfo['public_description'])) { 62 | $reference = new Reference($referenceText); 63 | $title = '/' . $subredditInfo['display_name_prefixed'] . ' [' . $subredditInfo['title'] . ']'; 64 | $reference->setTitle($title); 65 | $description = $subredditInfo['public_description']; 66 | $reference->setDescription($description); 67 | $thumbnailUrl = $this->urlGenerator->linkToRouteAbsolute(Application::APP_ID . '.redditAPI.getAvatar', ['subreddit' => $subreddit]); 68 | $reference->setImageUrl($thumbnailUrl); 69 | /* 70 | $reference->setRichObject( 71 | self::RICH_OBJECT_TYPE, 72 | $postInfo 73 | ); 74 | */ 75 | return $reference; 76 | } 77 | // fallback to opengraph 78 | return $this->linkReferenceProvider->resolveReference($referenceText); 79 | } 80 | } 81 | 82 | return null; 83 | } 84 | 85 | /** 86 | * @param string $url 87 | * @return array|null 88 | */ 89 | private function getUrlInfo(string $url): ?array { 90 | // example url 91 | // https://www.reddit.com/r/television/ 92 | preg_match('/^(?:https?:\/\/)?(?:www\.)?reddit\.com\/r\/([^\/\?]+)\/?$/i', $url, $matches); 93 | return count($matches) > 1 94 | ? [ 95 | 'subreddit' => $matches[1], 96 | ] 97 | : null; 98 | } 99 | 100 | /** 101 | * @inheritDoc 102 | */ 103 | public function getCachePrefix(string $referenceId): string { 104 | return $this->userId ?? ''; 105 | } 106 | 107 | /** 108 | * We don't use the userId here but rather a reference unique id 109 | * @inheritDoc 110 | */ 111 | public function getCacheKey(string $referenceId): ?string { 112 | return $referenceId; 113 | } 114 | 115 | /** 116 | * @param string $userId 117 | * @return void 118 | */ 119 | public function invalidateUserCache(string $userId): void { 120 | $this->referenceManager->invalidateCache($userId); 121 | } 122 | } 123 | -------------------------------------------------------------------------------- /lib/Search/PublicationSearchProvider.php: -------------------------------------------------------------------------------- 1 | l10n->t('Reddit posts'); 50 | } 51 | 52 | /** 53 | * @inheritDoc 54 | */ 55 | public function getOrder(string $route, array $routeParameters): int { 56 | if (strpos($route, Application::APP_ID . '.') === 0) { 57 | // Active app, prefer Zammad results 58 | return -1; 59 | } 60 | 61 | return 20; 62 | } 63 | 64 | /** 65 | * @inheritDoc 66 | */ 67 | public function search(IUser $user, ISearchQuery $query): SearchResult { 68 | if (!$this->appManager->isEnabledForUser(Application::APP_ID, $user)) { 69 | return SearchResult::complete($this->getName(), []); 70 | } 71 | 72 | $limit = $query->getLimit(); 73 | $term = $query->getTerm(); 74 | $after = $query->getCursor(); 75 | 76 | $accessToken = $this->config->getUserValue($user->getUID(), Application::APP_ID, 'token'); 77 | $accessToken = $accessToken === '' ? '' : $this->crypto->decrypt($accessToken); 78 | $searchEnabled = $this->config->getUserValue($user->getUID(), Application::APP_ID, 'search_enabled', '1') === '1'; 79 | if ($accessToken === '' || !$searchEnabled) { 80 | return SearchResult::paginated($this->getName(), [], 0); 81 | } 82 | 83 | $searchResults = $this->service->searchPublications($user->getUID(), $term, $after, $limit); 84 | 85 | if (isset($searchResults['error'])) { 86 | return SearchResult::paginated($this->getName(), [], 0); 87 | } 88 | 89 | $newAfter = $searchResults['data']['after'] ?? null; 90 | 91 | $formattedResults = array_map(function (array $entry): SearchResultEntry { 92 | return new SearchResultEntry( 93 | $this->getThumbnailUrl($entry), 94 | $this->getMainText($entry), 95 | $this->getSubline($entry), 96 | $this->getLink($entry), 97 | '', 98 | true 99 | ); 100 | }, $searchResults['data']['children']); 101 | 102 | return SearchResult::paginated( 103 | $this->getName(), 104 | $formattedResults, 105 | $newAfter 106 | ); 107 | } 108 | 109 | /** 110 | * @param array $entry 111 | * @return string 112 | */ 113 | protected function getMainText(array $entry): string { 114 | return $entry['data']['title'] ?? '??'; 115 | } 116 | 117 | /** 118 | * @param array $entry 119 | * @return string 120 | */ 121 | protected function getSubline(array $entry): string { 122 | try { 123 | // TRANSLATORS By @$author in $subreddit_name_prefixed 124 | return $this->l10n->t('By @%1$s in %2$s', [$entry['data']['author'], $entry['data']['subreddit_name_prefixed']]); 125 | } catch (Exception | Throwable $e) { 126 | } 127 | return '??'; 128 | } 129 | 130 | /** 131 | * @param array $entry 132 | * @return string 133 | */ 134 | protected function getLink(array $entry): string { 135 | return Application::REDDIT_BASE_WEB_URL . $entry['data']['permalink']; 136 | } 137 | 138 | /** 139 | * @param array $entry 140 | * @return string 141 | */ 142 | protected function getThumbnailUrl(array $entry): string { 143 | return isset($entry['data']['thumbnail']) 144 | ? (($entry['data']['thumbnail'] === 'self' || $entry['data']['thumbnail'] === 'spoiler') 145 | ? $this->urlGenerator->linkToRouteAbsolute(Application::APP_ID . '.redditAPI.getAvatar', ['subreddit' => $entry['data']['subreddit']]) 146 | : $this->urlGenerator->linkToRouteAbsolute(Application::APP_ID . '.redditAPI.getThumbnail', ['url' => $entry['data']['thumbnail']])) 147 | : ''; 148 | } 149 | } 150 | -------------------------------------------------------------------------------- /lib/Search/SubredditSearchProvider.php: -------------------------------------------------------------------------------- 1 | l10n->t('Subreddits'); 48 | } 49 | 50 | /** 51 | * @inheritDoc 52 | */ 53 | public function getOrder(string $route, array $routeParameters): int { 54 | if (strpos($route, Application::APP_ID . '.') === 0) { 55 | // Active app, prefer Zammad results 56 | return -1; 57 | } 58 | 59 | return 20; 60 | } 61 | 62 | /** 63 | * @inheritDoc 64 | */ 65 | public function search(IUser $user, ISearchQuery $query): SearchResult { 66 | if (!$this->appManager->isEnabledForUser(Application::APP_ID, $user)) { 67 | return SearchResult::complete($this->getName(), []); 68 | } 69 | 70 | $limit = $query->getLimit(); 71 | $term = $query->getTerm(); 72 | $after = $query->getCursor(); 73 | 74 | $accessToken = $this->config->getUserValue($user->getUID(), Application::APP_ID, 'token'); 75 | $accessToken = $accessToken === '' ? '' : $this->crypto->decrypt($accessToken); 76 | $searchEnabled = $this->config->getUserValue($user->getUID(), Application::APP_ID, 'search_enabled', '1') === '1'; 77 | if ($accessToken === '' || !$searchEnabled) { 78 | return SearchResult::paginated($this->getName(), [], 0); 79 | } 80 | 81 | $searchResults = $this->service->searchSubreddits($user->getUID(), $term, $after, $limit); 82 | 83 | if (isset($searchResults['error'])) { 84 | return SearchResult::paginated($this->getName(), [], 0); 85 | } 86 | 87 | $newAfter = $searchResults['data']['after'] ?? null; 88 | 89 | $formattedResults = array_map(function (array $entry): SearchResultEntry { 90 | return new SearchResultEntry( 91 | $this->getThumbnailUrl($entry), 92 | $this->getMainText($entry), 93 | $this->getSubline($entry), 94 | $this->getLink($entry), 95 | '', 96 | true 97 | ); 98 | }, $searchResults['data']['children']); 99 | 100 | return SearchResult::paginated( 101 | $this->getName(), 102 | $formattedResults, 103 | $newAfter 104 | ); 105 | } 106 | 107 | /** 108 | * @param array $entry 109 | * @return string 110 | */ 111 | protected function getMainText(array $entry): string { 112 | if (isset($entry['data']['title'], $entry['data']['display_name_prefixed'])) { 113 | return '/' . $entry['data']['display_name_prefixed'] . ' [' . $entry['data']['title'] . ']'; 114 | } 115 | return '??'; 116 | } 117 | 118 | /** 119 | * @param array $entry 120 | * @return string 121 | */ 122 | protected function getSubline(array $entry): string { 123 | return $entry['data']['public_description'] ?? '??'; 124 | } 125 | 126 | /** 127 | * @param array $entry 128 | * @return string 129 | */ 130 | protected function getLink(array $entry): string { 131 | return Application::REDDIT_BASE_WEB_URL . '/' . $entry['data']['display_name_prefixed']; 132 | } 133 | 134 | /** 135 | * @param array $entry 136 | * @return string 137 | */ 138 | protected function getThumbnailUrl(array $entry): string { 139 | return $this->urlGenerator->linkToRouteAbsolute(Application::APP_ID . '.redditAPI.getAvatar', ['subreddit' => $entry['data']['display_name']]); 140 | } 141 | } 142 | -------------------------------------------------------------------------------- /lib/Settings/Admin.php: -------------------------------------------------------------------------------- 1 | config->getAppValue(Application::APP_ID, 'client_id'); 29 | $clientSecret = $this->config->getAppValue(Application::APP_ID, 'client_secret'); 30 | 31 | $adminConfig = [ 32 | 'client_id' => $clientID, 33 | // Do not expose the saved client secret to the user 34 | 'client_secret' => $clientSecret !== '' ? 'dummySecret' : '', 35 | ]; 36 | $this->initialStateService->provideInitialState('admin-config', $adminConfig); 37 | return new TemplateResponse(Application::APP_ID, 'adminSettings'); 38 | } 39 | 40 | public function getSection(): string { 41 | return 'connected-accounts'; 42 | } 43 | 44 | public function getPriority(): int { 45 | return 10; 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /lib/Settings/AdminSection.php: -------------------------------------------------------------------------------- 1 | l->t('Connected accounts'); 36 | } 37 | 38 | /** 39 | * @return int whether the form should be rather on the top or bottom of 40 | * the settings navigation. The sections are arranged in ascending order of 41 | * the priority values. It is required to return a value between 0 and 99. 42 | */ 43 | public function getPriority(): int { 44 | return 80; 45 | } 46 | 47 | /** 48 | * @return ?string The relative path to a an icon describing the section 49 | */ 50 | public function getIcon(): ?string { 51 | return $this->urlGenerator->imagePath('core', 'categories/integration.svg'); 52 | } 53 | 54 | } 55 | -------------------------------------------------------------------------------- /lib/Settings/Personal.php: -------------------------------------------------------------------------------- 1 | config->getUserValue($this->userId, Application::APP_ID, 'user_name'); 30 | 31 | $clientID = $this->config->getAppValue(Application::APP_ID, 'client_id', Application::DEFAULT_REDDIT_CLIENT_ID) ?: Application::DEFAULT_REDDIT_CLIENT_ID; 32 | $clientSecret = $this->config->getAppValue(Application::APP_ID, 'client_secret'); 33 | 34 | $userConfig = [ 35 | 'client_id' => $clientID, 36 | // Do not expose the saved client secret to the user 37 | 'client_secret' => $clientSecret !== '' ? 'dummySecret' : '', 38 | 'user_name' => $userName, 39 | ]; 40 | $this->initialStateService->provideInitialState('user-config', $userConfig); 41 | return new TemplateResponse(Application::APP_ID, 'personalSettings'); 42 | } 43 | 44 | public function getSection(): string { 45 | return 'connected-accounts'; 46 | } 47 | 48 | public function getPriority(): int { 49 | return 10; 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /lib/Settings/PersonalSection.php: -------------------------------------------------------------------------------- 1 | l->t('Connected accounts'); 36 | } 37 | 38 | /** 39 | * @return int whether the form should be rather on the top or bottom of 40 | * the settings navigation. The sections are arranged in ascending order of 41 | * the priority values. It is required to return a value between 0 and 99. 42 | */ 43 | public function getPriority(): int { 44 | return 80; 45 | } 46 | 47 | /** 48 | * @return ?string The relative path to a an icon describing the section 49 | */ 50 | public function getIcon(): ?string { 51 | return $this->urlGenerator->imagePath('core', 'categories/integration.svg'); 52 | } 53 | 54 | } 55 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "integration_reddit", 3 | "version": "0.0.1", 4 | "description": "Reddit integration", 5 | "main": "index.js", 6 | "directories": { 7 | "test": "tests" 8 | }, 9 | "scripts": { 10 | "build": "NODE_ENV=production webpack --progress --config webpack.js", 11 | "dev": "NODE_ENV=development webpack --progress --config webpack.js", 12 | "watch": "NODE_ENV=development webpack --progress --watch --config webpack.js", 13 | "lint": "eslint --ext .js,.vue src", 14 | "lint:fix": "eslint --ext .js,.vue src --fix", 15 | "stylelint": "stylelint src", 16 | "stylelint:fix": "stylelint src --fix" 17 | }, 18 | "repository": { 19 | "type": "git", 20 | "url": "https://github.com/nextcloud/integration_reddit" 21 | }, 22 | "keywords": [ 23 | "reddit" 24 | ], 25 | "author": "Julien Veyssier", 26 | "license": "AGPL-3.0", 27 | "bugs": { 28 | "url": "https://github.com/nextcloud/integration_reddit/issues" 29 | }, 30 | "homepage": "https://github.com/nextcloud/integration_reddit", 31 | "browserslist": [ 32 | "extends @nextcloud/browserslist-config" 33 | ], 34 | "engines": { 35 | "node": "^20.0.0", 36 | "npm": "^9.0.0 || ^10.0.0" 37 | }, 38 | "dependencies": { 39 | "@nextcloud/auth": "^2.2.1", 40 | "@nextcloud/axios": "^2.4.0", 41 | "@nextcloud/dialogs": "^5.1.2", 42 | "@nextcloud/initial-state": "^2.1.0", 43 | "@nextcloud/l10n": "^2.2.0", 44 | "@nextcloud/moment": "^1.3.1", 45 | "@nextcloud/router": "^3.0.0", 46 | "@nextcloud/vue": "^8.8.1", 47 | "@nextcloud/vue-dashboard": "^2.0.1", 48 | "vue": "^2.7.16", 49 | "vue-material-design-icons": "^5.3.0", 50 | "@nextcloud/password-confirmation": "^5.1.1" 51 | }, 52 | "devDependencies": { 53 | "@nextcloud/babel-config": "^1.0.0", 54 | "@nextcloud/browserslist-config": "^3.0.0", 55 | "@nextcloud/eslint-config": "^8.3.0", 56 | "@nextcloud/stylelint-config": "^2.3.1", 57 | "@nextcloud/webpack-vue-config": "^6.0.1", 58 | "eslint-webpack-plugin": "^4.0.1", 59 | "stylelint-webpack-plugin": "^4.1.1" 60 | } 61 | } 62 | -------------------------------------------------------------------------------- /screenshots/screenshot1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nextcloud/integration_reddit/22d8f812a5e2e4bb31f15100dd4ad33ab55dfaab/screenshots/screenshot1.jpg -------------------------------------------------------------------------------- /src/adminSettings.js: -------------------------------------------------------------------------------- 1 | /* jshint esversion: 6 */ 2 | 3 | /** 4 | * SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors 5 | * SPDX-License-Identifier: AGPL-3.0-or-later 6 | */ 7 | 8 | import Vue from 'vue' 9 | import './bootstrap.js' 10 | import AdminSettings from './components/AdminSettings.vue' 11 | 12 | // eslint-disable-next-line 13 | 'use strict' 14 | 15 | // eslint-disable-next-line 16 | new Vue({ 17 | el: '#reddit_prefs', 18 | render: h => h(AdminSettings), 19 | }) 20 | -------------------------------------------------------------------------------- /src/bootstrap.js: -------------------------------------------------------------------------------- 1 | /** 2 | * SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors 3 | * SPDX-License-Identifier: AGPL-3.0-or-later 4 | */ 5 | 6 | import Vue from 'vue' 7 | import { translate, translatePlural } from '@nextcloud/l10n' 8 | 9 | Vue.prototype.t = translate 10 | Vue.prototype.n = translatePlural 11 | Vue.prototype.OC = window.OC 12 | Vue.prototype.OCA = window.OCA 13 | -------------------------------------------------------------------------------- /src/components/icons/RedditIcon.vue: -------------------------------------------------------------------------------- 1 | 5 | 6 | 26 | 27 | 46 | -------------------------------------------------------------------------------- /src/dashboard.js: -------------------------------------------------------------------------------- 1 | /** 2 | * SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors 3 | * SPDX-License-Identifier: AGPL-3.0-or-later 4 | */ 5 | 6 | __webpack_nonce__ = btoa(OC.requestToken) // eslint-disable-line 7 | __webpack_public_path__ = OC.linkTo('integration_reddit', 'js/') // eslint-disable-line 8 | 9 | OCA.Dashboard.register('reddit_news', async (el, { widget }) => { 10 | const { default: Vue } = await import(/* webpackChunkName: "dashboard-lazy" */'vue') 11 | const { default: Dashboard } = await import(/* webpackChunkName: "dashboard-lazy" */'./views/Dashboard.vue') 12 | Vue.mixin({ methods: { t, n } }) 13 | const View = Vue.extend(Dashboard) 14 | new View({ 15 | propsData: { title: widget.title }, 16 | }).$mount(el) 17 | }) 18 | -------------------------------------------------------------------------------- /src/personalSettings.js: -------------------------------------------------------------------------------- 1 | /** 2 | * SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors 3 | * SPDX-License-Identifier: AGPL-3.0-or-later 4 | */ 5 | 6 | import Vue from 'vue' 7 | import PersonalSettings from './components/PersonalSettings.vue' 8 | Vue.mixin({ methods: { t, n } }) 9 | 10 | const View = Vue.extend(PersonalSettings) 11 | new View().$mount('#reddit_prefs') 12 | -------------------------------------------------------------------------------- /src/utils.js: -------------------------------------------------------------------------------- 1 | /** 2 | * SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors 3 | * SPDX-License-Identifier: AGPL-3.0-or-later 4 | */ 5 | 6 | let mytimer = 0 7 | export function delay(callback, ms) { 8 | return function() { 9 | const context = this 10 | const args = arguments 11 | clearTimeout(mytimer) 12 | mytimer = setTimeout(function() { 13 | callback.apply(context, args) 14 | }, ms || 0) 15 | } 16 | } 17 | 18 | export function detectBrowser() { 19 | // Opera 8.0+ 20 | // eslint-disable-next-line 21 | if ((!!window.opr && !!opr.addons) || !!window.opera || navigator.userAgent.indexOf(' OPR/') >= 0) { 22 | return 'opera' 23 | } 24 | 25 | // Firefox 1.0+ 26 | if (typeof InstallTrigger !== 'undefined') { 27 | return 'firefox' 28 | } 29 | 30 | // Chrome 1 - 79 31 | // eslint-disable-next-line 32 | if (!!window.chrome && (!!window.chrome.webstore || !!window.chrome.runtime)) { 33 | return 'chrome' 34 | } 35 | 36 | // Safari 3.0+ "[object HTMLElementConstructor]" 37 | // eslint-disable-next-line 38 | if (/constructor/i.test(window.HTMLElement) || (function (p) { return p.toString() === '[object SafariRemoteNotification]'; })(!window['safari'] || (typeof safari !== 'undefined' && safari.pushNotification))) { 39 | return 'safari' 40 | } 41 | 42 | // Internet Explorer 6-11 43 | // eslint-disable-next-line 44 | if (/*@cc_on!@*/false || !!document.documentMode) { 45 | return 'ie' 46 | } 47 | 48 | // Edge 20+ 49 | // eslint-disable-next-line 50 | if ((typeof isIE === 'undefined' || !isIE) && !!window.StyleMedia) { 51 | return 'edge' 52 | } 53 | 54 | // Edge (based on chromium) detection 55 | // eslint-disable-next-line 56 | if (typeof isChrome !== 'undefined' && isChrome && (navigator.userAgent.indexOf('Edg') != -1)) { 57 | return 'edge-chromium' 58 | } 59 | 60 | // Blink engine detection 61 | // eslint-disable-next-line 62 | if (((typeof isChrome !== 'undefined' && isChrome) || (typeof isOpera !== 'undefined' && isOpera)) 63 | && !!window.CSS 64 | ) { 65 | return 'blink' 66 | } 67 | return 'unknown browser' 68 | } 69 | -------------------------------------------------------------------------------- /stylelint.config.js: -------------------------------------------------------------------------------- 1 | /** 2 | * SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors 3 | * SPDX-License-Identifier: AGPL-3.0-or-later 4 | */ 5 | module.exports = { 6 | extends: 'stylelint-config-recommended-vue', 7 | rules: { 8 | 'selector-type-no-unknown': null, 9 | 'number-leading-zero': null, 10 | 'rule-empty-line-before': [ 11 | 'always', 12 | { 13 | ignore: ['after-comment', 'inside-block'], 14 | }, 15 | ], 16 | 'declaration-empty-line-before': [ 17 | 'never', 18 | { 19 | ignore: ['after-declaration'], 20 | }, 21 | ], 22 | 'comment-empty-line-before': null, 23 | 'selector-type-case': null, 24 | 'no-descending-specificity': null, 25 | 'selector-pseudo-element-no-unknown': [ 26 | true, 27 | { 28 | ignorePseudoElements: ['v-deep'], 29 | }, 30 | ], 31 | }, 32 | plugins: ['stylelint-scss'], 33 | } 34 | -------------------------------------------------------------------------------- /templates/adminSettings.php: -------------------------------------------------------------------------------- 1 | 10 | 11 |
12 | -------------------------------------------------------------------------------- /templates/personalSettings.php: -------------------------------------------------------------------------------- 1 | 10 | 11 |
12 | -------------------------------------------------------------------------------- /webpack.js: -------------------------------------------------------------------------------- 1 | /** 2 | * SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors 3 | * SPDX-License-Identifier: AGPL-3.0-or-later 4 | */ 5 | const path = require('path') 6 | const webpackConfig = require('@nextcloud/webpack-vue-config') 7 | const ESLintPlugin = require('eslint-webpack-plugin') 8 | const StyleLintPlugin = require('stylelint-webpack-plugin') 9 | 10 | const buildMode = process.env.NODE_ENV 11 | const isDev = buildMode === 'development' 12 | webpackConfig.devtool = isDev ? 'cheap-source-map' : 'source-map' 13 | 14 | webpackConfig.stats = { 15 | colors: true, 16 | modules: false, 17 | } 18 | 19 | webpackConfig.entry = { 20 | personalSettings: { import: path.join(__dirname, 'src', 'personalSettings.js'), filename: 'integration_reddit-personalSettings.js' }, 21 | adminSettings: { import: path.join(__dirname, 'src', 'adminSettings.js'), filename: 'integration_reddit-adminSettings.js' }, 22 | dashboard: { import: path.join(__dirname, 'src', 'dashboard.js'), filename: 'integration_reddit-dashboard.js' }, 23 | } 24 | 25 | webpackConfig.plugins.push( 26 | new ESLintPlugin({ 27 | extensions: ['js', 'vue'], 28 | files: 'src', 29 | failOnError: !isDev, 30 | }) 31 | ) 32 | webpackConfig.plugins.push( 33 | new StyleLintPlugin({ 34 | files: 'src/**/*.{css,scss,vue}', 35 | failOnError: !isDev, 36 | }), 37 | ) 38 | 39 | module.exports = webpackConfig 40 | --------------------------------------------------------------------------------