Compare commits

..

7 Commits

Author SHA1 Message Date
Julian Lam
0df3ea8661 refactor: client-side to use flag notes API 2021-07-16 13:51:37 -04:00
Julian Lam
b6c84222c2 test: fix breaking test on mongo 2021-07-16 12:29:39 -04:00
Julian Lam
6bcc0d0ddc chore: remove debug line 2021-07-16 11:33:23 -04:00
Julian Lam
e219cf0226 feat: flag notes API + tests 2021-07-16 11:28:52 -04:00
Julian Lam
b5da3f136b fix: flag tests to use Write API instead of sockets 2021-07-14 16:39:55 -04:00
Julian Lam
8a02c66ed5 feat: tests for new flags API
added missing files for schema update
2021-07-14 15:41:01 -04:00
Julian Lam
66946be9f0 feat: new routes for flags API
+ flag get
+ flag creation, migration from socket method
+ flag update, migration from socket method
* fixed bug where you could not unassign someone from a flag
2021-07-14 15:21:25 -04:00
3618 changed files with 59546 additions and 80119 deletions

View File

@@ -10,7 +10,7 @@ checks:
threshold: 500 threshold: 500
method-lines: method-lines:
config: config:
threshold: 75 threshold: 50
method-complexity: method-complexity:
config: config:
threshold: 10 threshold: 10

114
.eslintrc
View File

@@ -1,3 +1,115 @@
{ {
"extends": "nodebb" "extends": "airbnb-base",
"parserOptions": {
"sourceType": "script"
},
"rules": {
// === Configure rules for our style ===
// imports must be resolvable
"import/no-unresolved": "error",
// use single quotes,
// unless a different style allows avoiding escapes
"quotes": ["error", "single", {
"avoidEscape": true,
"allowTemplateLiterals": true
}],
// allow else-if return
"no-else-return": [ "error", { "allowElseIf": true } ],
// expressions split over multiple lines
// should break after the operator
"operator-linebreak": [ "error", "after" ],
// require arrow parens only when needed
// and whenever the body is a block
"arrow-parens": ["error", "as-needed", { "requireForBlockBody": true }],
// what variables are errors in callbacks
"handle-callback-err": [ "error","^(e$|(e|(.*(_e|E)))rr)" ],
// allow dangling commas in functions
// require them everywhere else
"comma-dangle": ["error", {
"arrays": "always-multiline",
"objects": "always-multiline",
"imports": "always-multiline",
"exports": "always-multiline",
"functions": "only-multiline"
}],
// we actually encourage `return await`
"no-return-await": "off",
// allow `while (true)`
"no-constant-condition": ["error", { "checkLoops": false }],
// allow ignoring an error with `catch`
"no-empty": ["error", { "allowEmptyCatch": true }],
// allow `3 + 5 - 1`, but not `3 * 5 - 1`
"no-mixed-operators": ["error", { "allowSamePrecedence": true }],
// require `'use strict';`
"strict": ["error", "global"],
// we actually use tabs for indentation
"indent": ["error", "tab", { "SwitchCase": 1 }],
"no-tabs": "off",
// we want `== null` to also handle undefined
"no-eq-null": "off",
// allow `for (..; i++)`
"no-plusplus": ["error", { "allowForLoopAfterthoughts": true }],
// allow using functions defined later
"no-use-before-define": ["error", "nofunc"],
// require consistent newlines before and after braces
// if contents are multiline
"object-curly-newline": ["error", { "consistent": true, "multiline": true }],
// require consistent linebreaks inline function parenthesis (arguments or params)
"function-paren-newline": ["error", "consistent"],
// only require const if all parts of destructuring can be const
"prefer-const": ["error", { "destructuring": "all" }],
// don't require destructuring for arrays or assignment
"prefer-destructuring": ["error", {
"VariableDeclarator": { "array": false, "object": true },
"AssignmentExpression": { "array": false, "object": false }
}],
// identical to airbnb rule, except for allowing for..of, because we want to use it
"no-restricted-syntax": [
"error",
{
"selector": "ForInStatement",
"message": "for..in loops iterate over the entire prototype chain, which is virtually never what you want. Use Object.{keys,values,entries}, and iterate over the resulting array."
},
{
"selector": "LabeledStatement",
"message": "Labels are a form of GOTO; using them makes code confusing and hard to maintain and understand."
},
{
"selector": "WithStatement",
"message": "`with` is disallowed in strict mode because it makes code impossible to predict and optimize."
}
],
// allow lines of up to 120 characters
"max-len": ["error", { "code": 120, "tabWidth": 2, "ignoreUrls": true, "ignoreStrings": true, "ignoreTemplateLiterals": true, "ignoreRegExpLiterals": true }],
// === Disable rules ===
// more liberal naming
"camelcase": "off",
"no-underscore-dangle": "off",
// don't require anonymous function names
"func-names": "off",
// allow console
"no-console": "off",
// allow new for side effects
// allow new with non-capitalized
"no-new": "off",
"new-cap": "off",
// allow shadowing variables (usually callbacks)
"no-shadow": "off",
// allow multiple empty lines in a row
"no-multiple-empty-lines": "off",
// allow not using object shorthand
"object-shorthand": "off",
// TODO
"consistent-return": "off",
"no-restricted-globals": "off",
"no-prototype-builtins": "off",
"import/no-extraneous-dependencies": "off",
"import/no-dynamic-require": "off",
"global-require": "off",
"no-param-reassign": "off",
"default-case": "off"
}
} }

32
.github/ISSUE_TEMPLATE.md vendored Normal file
View File

@@ -0,0 +1,32 @@
<!--
== Github Issues are for bug reports and feature requests only ==
== Please visit https://community.nodebb.org for other support ==
== Found a security exploit? Please email us at security@nodebb.org instead for immediate attention ==
== → DO NOT SUBMIT VULNERABILITIES TO THE PUBLIC BUG TRACKER ==
-->
<!-- ++ Please include the following information when submitting a bug report ++ -->
- **NodeBB version:**
- **NodeBB git hash:**
- **NodeJS version:**
<!-- (to find your git hash, execute `git rev-parse HEAD` from the main NodeBB directory) -->
- **Installed NodeBB Plugins:**
<!-- (to find installed plugins run ./nodebb plugins) -->
- **Database type:** mongo, redis, or postgres
- **Database version:**
<!-- `mongod --version`, `redis-server --version`, or `postgres --version` -->
- **Exact steps to cause this issue:**
<!--
1. First I did this...
2. Then, I clicked on this item...
A quick note: MP4 and MOV formatted video files are now allowed to be uploaded to GH.
Please upload if reproduction steps are hard to describe or reproduce reliably.
-->
- **What you expected:**
<!-- e.g. I expected *abc* to *xyz* -->
- **What happened instead:**
<!-- e.g. Instead, I got *zyx* and NodeBB set fire to my house -->
<!-- Thank you! -->

View File

@@ -1,81 +0,0 @@
name: Bug Report
description: File a bug report
labels: ["bug"]
body:
- type: markdown
attributes:
value: |
Github Issues are for bug reports and feature requests only
Please visit https://community.nodebb.org for other support
Found a security exploit? Please email us at security@nodebb.org instead for immediate attention
### → DO NOT SUBMIT VULNERABILITIES TO THE PUBLIC BUG TRACKER ←
- type: input
attributes:
label: NodeBB version
placeholder: e.g. v2.2.0
- type: input
attributes:
label: NodeBB git hash
description: to find your git hash, execute `git rev-parse HEAD` from the main NodeBB directory
placeholder: e.g. 783250ee6f8c51cdc243ce3b8d9f1a080517247e
- type: input
attributes:
label: NodeJS version
placeholder: e.g. v16.15.1
- type: textarea
attributes:
label: Installed NodeBB plugins
description: to find installed plugins run `./nodebb plugins`
placeholder: |
e.g.
* nodebb-plugin-2factor@5.0.1 (installed, disabled)
* nodebb-plugin-composer-default@8.0.0 (installed, enabled)
* nodebb-plugin-dbsearch@5.1.5 (installed, disabled)
* nodebb-plugin-emoji@4.0.4 (installed, enabled)
* nodebb-plugin-emoji-android@3.0.0 (installed, enabled)
* nodebb-plugin-markdown@10.0.0 (installed, enabled)
* nodebb-plugin-mentions@3.0.11 (installed, enabled)
* nodebb-plugin-spam-be-gone@1.0.0 (installed, disabled)
* nodebb-rewards-essentials@0.2.1 (installed, enabled)
* nodebb-theme-lavender@6.0.0 (installed, disabled)
* nodebb-theme-persona@12.0.11 (installed, enabled)
* nodebb-theme-slick@2.0.2 (installed, disabled)
* nodebb-theme-vanilla@12.1.18 (installed, disabled)
* nodebb-widget-essentials@6.0.0 (installed, enabled)
- type: dropdown
attributes:
label: Database type
multiple: true
options:
- MongoDB
- Redis
- PostgreSQL
- type: input
attributes:
label: Database version
description: "`mongod --version`, `redis-server --version`, or `postgres --version`"
placeholder: e.g. v5.0.9
- type: textarea
attributes:
label: Exact steps to cause this issue
placeholder: |
1. First I did this...
2. Then, I clicked on this item...
A quick note: MP4 and MOV formatted video files are now allowed to be uploaded to GH.
Please upload if reproduction steps are hard to describe or reproduce reliably.
- type: textarea
attributes:
label: What you expected
placeholder: e.g. I expected *abc* to *xyz*
- type: textarea
attributes:
label: What happened instead
placeholder: e.g. Instead, I got *zyx* and NodeBB set fire to my house
- type: textarea
attributes:
label: Anything else?
description: Any additional context about the issue you're encountering
- type: markdown
attributes:
value: "**Thank you!**"

View File

@@ -1,5 +0,0 @@
blank_issues_enabled: true
contact_links:
- name: Community Forum
url: https://community.nodebb.org
about: Github Issues are for bug reports and feature requests only, please use community forum for other support

View File

@@ -1,24 +0,0 @@
name: Feature Request
description: Suggest a new feature
labels: ["enhancement"]
body:
- type: markdown
attributes:
value: |
Github Issues are for bug reports and feature requests only
Please visit https://community.nodebb.org for other support
Found a security exploit? Please email us at security@nodebb.org instead for immediate attention
### → DO NOT SUBMIT VULNERABILITIES TO THE PUBLIC BUG TRACKER ←
- type: textarea
attributes:
label: Description
validations:
required: true
- type: input
attributes:
label: Community forum reference
description: If this feature was already discussed on the Community Forum link it here
placeholder: https://community.nodebb.org/topic/0/example-feature-request
- type: markdown
attributes:
value: "**Thank you!**"

4
.github/SECURITY.md vendored
View File

@@ -2,8 +2,8 @@
NodeBB's security policy is based around a private bug bounty program. Users are invited to explore NodeBB for vulnerabilities, and report them to the NodeBB team so that they can be patched. NodeBB's security policy is based around a private bug bounty program. Users are invited to explore NodeBB for vulnerabilities, and report them to the NodeBB team so that they can be patched.
If you have found a security vulnerability, **do not post it onto our GitHub tracker**. Some security vulnerabilities are quite severe and discretion is recommended. Email the NodeBB Security Team at security@nodebb.org, instead, even if you are not sure whether something qualifies. If you have found a security vulnerability, **do not post it onto our GitHub tracker**. Some security vulnerabilities are quite severe and discretion is recommended. Email the NodeBB Security Team at security@nodebb.org, instead.
# Bug Bounty Program # Bug Bounty Program
Security vulnerability reports may be eligible for a bounty based on severity and confirmation from NodeBB team members. For full details regarding our bug bounty program, including the bounty amounts, please consult the [dedicated page for our Bug Bounty Program](https://nodebb.org/bounty). Security vulnerability reports may be eligible for a bounty based on severity and confirmation from NodeBB team members. For full details regarding our bug bounty program, including the bounty amounts, please consult the following page: https://blog.nodebb.org/bounty

View File

@@ -1,60 +0,0 @@
name: Run Docker
# Controls when the workflow will run
on:
push:
branches:
- 'master'
- 'v*.x'
tags:
- 'v*'
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
permissions:
contents: read
packages: write
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Docker meta
id: meta
uses: docker/metadata-action@v4
with:
images: ghcr.io/${{ github.repository }}
tags: |
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}.x
type=raw,value=latest,enable={{is_default_branch}}
- name: Build and push Docker images
uses: docker/build-push-action@v4
with:
context: .
file: ./Dockerfile
push: true
tags: ${{ steps.meta.outputs.tags }}
platforms: linux/amd64,linux/arm64,linux/arm/v7
cache-from: type=gha
cache-to: type=gha,mode=max

View File

@@ -5,43 +5,35 @@ on:
branches: branches:
- master - master
- develop - develop
- bootstrap5
pull_request: pull_request:
branches: branches:
- master - master
- develop - develop
- bootstrap5
defaults: defaults:
run: run:
shell: bash shell: bash
permissions:
contents: read
jobs: jobs:
test: test:
permissions:
checks: write # for coverallsapp/github-action to create new checks
contents: read # for actions/checkout to fetch code
name: Lint and test name: Lint and test
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
os: [ubuntu-latest] os: [ubuntu-latest]
node: [16, 18] node: [12, 14]
database: [mongo-dev, mongo, redis, postgres] database: [mongo-dev, mongo, redis, postgres]
include: include:
# only run coverage once # only run coverage once
- os: ubuntu-latest - os: ubuntu-latest
node: 16 node: 14
coverage: true coverage: true
# test under development once # test under development once
- database: mongo-dev - database: mongo-dev
test_env: development test_env: development
# only run eslint once # only run eslint once
- os: ubuntu-latest - os: ubuntu-latest
node: 16 node: 14
database: mongo-dev database: mongo-dev
lint: true lint: true
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
@@ -50,7 +42,7 @@ jobs:
services: services:
postgres: postgres:
image: 'postgres:15-alpine' image: 'postgres:10-alpine'
env: env:
POSTGRES_USER: postgres POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres POSTGRES_PASSWORD: postgres
@@ -65,7 +57,7 @@ jobs:
- 5432:5432 - 5432:5432
redis: redis:
image: 'redis:2.8.23' image: 'redis:2.8.9'
# Set health checks to wait until redis has started # Set health checks to wait until redis has started
options: >- options: >-
--health-cmd "redis-cli ping" --health-cmd "redis-cli ping"
@@ -77,7 +69,7 @@ jobs:
- 6379:6379 - 6379:6379
mongo: mongo:
image: 'mongo:3.7' image: 'mongo:3.2'
ports: ports:
# Maps port 27017 on service container to the host # Maps port 27017 on service container to the host
- 27017:27017 - 27017:27017
@@ -194,7 +186,7 @@ jobs:
run: npm run coverage run: npm run coverage
- name: Test coverage - name: Test coverage
uses: coverallsapp/github-action@v2.1.2 uses: coverallsapp/github-action@1.1.3
if: matrix.coverage if: matrix.coverage
with: with:
github-token: ${{ secrets.GITHUB_TOKEN }} github-token: ${{ secrets.GITHUB_TOKEN }}
@@ -202,13 +194,11 @@ jobs:
parallel: true parallel: true
finish: finish:
permissions:
checks: write # for coverallsapp/github-action to create new checks
needs: test needs: test
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Coveralls Finished - name: Coveralls Finished
uses: coverallsapp/github-action@v2.1.2 uses: coverallsapp/github-action@1.1.3
with: with:
github-token: ${{ secrets.GITHUB_TOKEN }} github-token: ${{ secrets.GITHUB_TOKEN }}
parallel-finished: true parallel-finished: true

3
.gitignore vendored
View File

@@ -68,5 +68,4 @@ test/files/normalise-resized.jpg
package-lock.json package-lock.json
/package.json /package.json
*.mongodb *.mongodb
link-plugins.sh link-plugins.sh
test.sh

17
.jsbeautifyrc Normal file
View File

@@ -0,0 +1,17 @@
{
"indent_size": 4,
"indent_char": " ",
"indent_level": 0,
"indent_with_tabs": true,
"preserve_newlines": true,
"max_preserve_newlines": 10,
"jslint_happy": true,
"brace_style": "collapse",
"keep_array_indentation": false,
"keep_function_indentation": false,
"space_before_conditional": true,
"break_chained_methods": false,
"eval_code": false,
"unescape_strings": false,
"wrap_line_length": 0
}

91
.jshintrc Normal file
View File

@@ -0,0 +1,91 @@
{
// JSHint Default Configuration File (as on JSHint website)
// See http://jshint.com/docs/ for more details
"maxerr" : 50, // {int} Maximum error before stopping
"esversion": 6,
// Enforcing
"bitwise" : true, // true: Prohibit bitwise operators (&, |, ^, etc.)
"camelcase" : false, // true: Identifiers must be in camelCase
"curly" : true, // true: Require {} for every new block or scope
"eqeqeq" : true, // true: Require triple equals (===) for comparison
"forin" : true, // true: Require filtering for..in loops with obj.hasOwnProperty()
"immed" : false, // true: Require immediate invocations to be wrapped in parens e.g. `(function () { } ());`
"indent" : 4, // {int} Number of spaces to use for indentation
"latedef" : false, // true: Require variables/functions to be defined before being used
"newcap" : false, // true: Require capitalization of all constructor functions e.g. `new F()`
"noarg" : true, // true: Prohibit use of `arguments.caller` and `arguments.callee`
"noempty" : true, // true: Prohibit use of empty blocks
"nonew" : false, // true: Prohibit use of constructors for side-effects (without assignment)
"plusplus" : false, // true: Prohibit use of `++` & `--`
"quotmark" : false, // Quotation mark consistency:
// false : do nothing (default)
// true : ensure whatever is used is consistent
// "single" : require single quotes
// "double" : require double quotes
"undef" : true, // true: Require all non-global variables to be declared (prevents global leaks)
"unused" : true, // true: Require all defined variables be used
"strict" : true, // true: Requires all functions run in ES5 Strict Mode
"trailing" : false, // true: Prohibit trailing whitespaces
"maxparams" : false, // {int} Max number of formal params allowed per function
"maxdepth" : false, // {int} Max depth of nested blocks (within functions)
"maxstatements" : false, // {int} Max number statements per function
"maxcomplexity" : false, // {int} Max cyclomatic complexity per function
"maxlen" : false, // {int} Max number of characters per line
// Relaxing
"asi" : false, // true: Tolerate Automatic Semicolon Insertion (no semicolons)
"boss" : false, // true: Tolerate assignments where comparisons would be expected
"debug" : false, // true: Allow debugger statements e.g. browser breakpoints.
"eqnull" : false, // true: Tolerate use of `== null`
"es5" : false, // true: Allow ES5 syntax (ex: getters and setters)
"esnext" : false, // true: Allow ES.next (ES6) syntax (ex: `const`)
"moz" : false, // true: Allow Mozilla specific syntax (extends and overrides esnext features)
// (ex: `for each`, multiple try/catch, function expression…)
"evil" : false, // true: Tolerate use of `eval` and `new Function()`
"expr" : false, // true: Tolerate `ExpressionStatement` as Programs
"funcscope" : false, // true: Tolerate defining variables inside control statements"
"globalstrict" : false, // true: Allow global "use strict" (also enables 'strict')
"iterator" : false, // true: Tolerate using the `__iterator__` property
"lastsemic" : false, // true: Tolerate omitting a semicolon for the last statement of a 1-line block
"laxbreak" : false, // true: Tolerate possibly unsafe line breakings
"laxcomma" : false, // true: Tolerate comma-first style coding
"loopfunc" : false, // true: Tolerate functions being defined in loops
"multistr" : false, // true: Tolerate multi-line strings
"proto" : false, // true: Tolerate using the `__proto__` property
"scripturl" : false, // true: Tolerate script-targeted URLs
"smarttabs" : false, // true: Tolerate mixed tabs/spaces when used for alignment
"shadow" : false, // true: Allows re-define variables later in code e.g. `var x=1; x=2;`
"sub" : false, // true: Tolerate using `[]` notation when it can still be expressed in dot notation
"supernew" : false, // true: Tolerate `new function () { ... };` and `new Object;`
"validthis" : false, // true: Tolerate using this in a non-constructor function
// Environments
"browser" : true, // Web Browser (window, document, etc)
"couch" : false, // CouchDB
"devel" : true, // Development/debugging (alert, confirm, etc)
"dojo" : false, // Dojo Toolkit
"jquery" : true, // jQuery
"mootools" : false, // MooTools
"node" : true, // Node.js
"nonstandard" : false, // Widely adopted globals (escape, unescape, etc)
"prototypejs" : false, // Prototype and Scriptaculous
"rhino" : false, // Rhino
"worker" : false, // Web Workers
"wsh" : false, // Windows Scripting Host
"yui" : false, // Yahoo User Interface
"mocha": true,
// Legacy
"nomen" : false, // true: Prohibit dangling `_` in variables
"onevar" : false, // true: Allow only one `var` statement per function
"passfail" : false, // true: Stop on first error
"white" : false, // true: Check against strict whitespace and indentation rules
// Custom Globals
"globals" : {
"Promise": true
} // additional predefined global variables
}

7422
.tx/config

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -1,36 +1,17 @@
FROM --platform=$BUILDPLATFORM node:lts as npm
RUN mkdir -p /usr/src/build && \
chown -R node:node /usr/src/build
WORKDIR /usr/src/build
ARG NODE_ENV
ENV NODE_ENV $NODE_ENV
COPY --chown=node:node install/package.json /usr/src/build/package.json
USER node
RUN npm install --omit=dev
FROM node:lts FROM node:lts
RUN mkdir -p /usr/src/app && \ RUN mkdir -p /usr/src/app
chown -R node:node /usr/src/app
WORKDIR /usr/src/app WORKDIR /usr/src/app
ARG NODE_ENV ARG NODE_ENV
ENV NODE_ENV $NODE_ENV ENV NODE_ENV $NODE_ENV
COPY --chown=node:node --from=npm /usr/src/build /usr/src/app COPY install/package.json /usr/src/app/package.json
USER node RUN npm install --only=prod && \
RUN npm rebuild && \
npm cache clean --force npm cache clean --force
COPY --chown=node:node . /usr/src/app COPY . /usr/src/app
ENV NODE_ENV=production \ ENV NODE_ENV=production \
daemon=false \ daemon=false \
@@ -38,4 +19,4 @@ ENV NODE_ENV=production \
EXPOSE 4567 EXPOSE 4567
CMD test -n "${SETUP}" && ./nodebb setup || node ./nodebb build; node ./nodebb start CMD node ./nodebb build ; node ./nodebb start

View File

@@ -20,7 +20,6 @@ const prestart = require('./src/prestart');
prestart.loadConfig(configFile); prestart.loadConfig(configFile);
const db = require('./src/database'); const db = require('./src/database');
const plugins = require('./src/plugins');
module.exports = function (grunt) { module.exports = function (grunt) {
const args = []; const args = [];
@@ -41,39 +40,53 @@ module.exports = function (grunt) {
grunt.registerTask('init', async function () { grunt.registerTask('init', async function () {
const done = this.async(); const done = this.async();
let pluginList = []; let plugins = [];
if (!process.argv.includes('--core')) { if (!process.argv.includes('--core')) {
await db.init(); await db.init();
pluginList = await plugins.getActive(); plugins = await db.getSortedSetRange('plugins:active', 0, -1);
addBaseThemes(pluginList); addBaseThemes(plugins);
if (!pluginList.includes('nodebb-plugin-composer-default')) { if (!plugins.includes('nodebb-plugin-composer-default')) {
pluginList.push('nodebb-plugin-composer-default'); plugins.push('nodebb-plugin-composer-default');
} }
if (!pluginList.includes('nodebb-theme-persona')) { if (!plugins.includes('nodebb-theme-persona')) {
pluginList.push('nodebb-theme-persona'); plugins.push('nodebb-theme-persona');
} }
} }
const styleUpdated_Client = pluginList.map(p => `node_modules/${p}/*.scss`) const styleUpdated_Client = plugins.map(p => `node_modules/${p}/*.less`)
.concat(pluginList.map(p => `node_modules/${p}/*.css`)) .concat(plugins.map(p => `node_modules/${p}/*.css`))
.concat(pluginList.map(p => `node_modules/${p}/+(public|static|scss)/**/*.scss`)) .concat(plugins.map(p => `node_modules/${p}/+(public|static|less)/**/*.less`))
.concat(pluginList.map(p => `node_modules/${p}/+(public|static)/**/*.css`)); .concat(plugins.map(p => `node_modules/${p}/+(public|static)/**/*.css`));
const clientUpdated = pluginList.map(p => `node_modules/${p}/+(public|static)/**/*.js`); const styleUpdated_Admin = plugins.map(p => `node_modules/${p}/*.less`)
const serverUpdated = pluginList.map(p => `node_modules/${p}/*.js`) .concat(plugins.map(p => `node_modules/${p}/*.css`))
.concat(pluginList.map(p => `node_modules/${p}/+(lib|src)/**/*.js`)); .concat(plugins.map(p => `node_modules/${p}/+(public|static|less)/**/*.less`))
.concat(plugins.map(p => `node_modules/${p}/+(public|static)/**/*.css`));
const clientUpdated = plugins.map(p => `node_modules/${p}/+(public|static)/**/*.js`);
const serverUpdated = plugins.map(p => `node_modules/${p}/*.js`)
.concat(plugins.map(p => `node_modules/${p}/+(lib|src)/**/*.js`));
const templatesUpdated = plugins.map(p => `node_modules/${p}/+(public|static|templates)/**/*.tpl`);
const langUpdated = plugins.map(p => `node_modules/${p}/+(public|static|languages)/**/*.json`);
const templatesUpdated = pluginList.map(p => `node_modules/${p}/+(public|static|templates)/**/*.tpl`);
const langUpdated = pluginList.map(p => `node_modules/${p}/+(public|static|languages)/**/*.json`);
const interval = 100;
grunt.config(['watch'], { grunt.config(['watch'], {
styleUpdated: { styleUpdated_Client: {
files: [ files: [
'public/scss/**/*.scss', 'public/less/**/*.less',
...styleUpdated_Client, ...styleUpdated_Client,
], ],
options: { options: {
interval: interval, interval: 1000,
},
},
styleUpdated_Admin: {
files: [
'public/less/**/*.less',
...styleUpdated_Admin,
],
options: {
interval: 1000,
}, },
}, },
clientUpdated: { clientUpdated: {
@@ -84,7 +97,7 @@ module.exports = function (grunt) {
'node_modules/benchpressjs/build/benchpress.js', 'node_modules/benchpressjs/build/benchpress.js',
], ],
options: { options: {
interval: interval, interval: 1000,
}, },
}, },
serverUpdated: { serverUpdated: {
@@ -92,14 +105,14 @@ module.exports = function (grunt) {
'app.js', 'app.js',
'install/*.js', 'install/*.js',
'src/**/*.js', 'src/**/*.js',
'public/src/modules/translator.common.js', 'public/src/modules/translator.js',
'public/src/modules/helpers.common.js', 'public/src/modules/helpers.js',
'public/src/utils.common.js', 'public/src/utils.js',
serverUpdated, serverUpdated,
'!src/upgrades/**', '!src/upgrades/**',
], ],
options: { options: {
interval: interval, interval: 1000,
}, },
}, },
templatesUpdated: { templatesUpdated: {
@@ -108,7 +121,7 @@ module.exports = function (grunt) {
...templatesUpdated, ...templatesUpdated,
], ],
options: { options: {
interval: interval, interval: 1000,
}, },
}, },
langUpdated: { langUpdated: {
@@ -118,13 +131,13 @@ module.exports = function (grunt) {
...langUpdated, ...langUpdated,
], ],
options: { options: {
interval: interval, interval: 1000,
}, },
}, },
}); });
const build = require('./src/meta/build'); const build = require('./src/meta/build');
if (!grunt.option('skip')) { if (!grunt.option('skip')) {
await build.build(true, { watch: true }); await build.build(true);
} }
run(); run();
done(); done();
@@ -153,14 +166,16 @@ module.exports = function (grunt) {
grunt.event.removeAllListeners('watch'); grunt.event.removeAllListeners('watch');
grunt.event.on('watch', (action, filepath, target) => { grunt.event.on('watch', (action, filepath, target) => {
let compiling; let compiling;
if (target === 'styleUpdated') { if (target === 'styleUpdated_Client') {
compiling = ['clientCSS', 'acpCSS']; compiling = 'clientCSS';
} else if (target === 'styleUpdated_Admin') {
compiling = 'acpCSS';
} else if (target === 'clientUpdated') { } else if (target === 'clientUpdated') {
compiling = ['js']; compiling = 'js';
} else if (target === 'templatesUpdated') { } else if (target === 'templatesUpdated') {
compiling = ['tpl']; compiling = 'tpl';
} else if (target === 'langUpdated') { } else if (target === 'langUpdated') {
compiling = ['lang']; compiling = 'lang';
} else if (target === 'serverUpdated') { } else if (target === 'serverUpdated') {
// empty require cache // empty require cache
const paths = ['./src/meta/build.js', './src/meta/index.js']; const paths = ['./src/meta/build.js', './src/meta/index.js'];
@@ -168,7 +183,7 @@ module.exports = function (grunt) {
return run(); return run();
} }
require('./src/meta/build').build(compiling, { webpack: false }, (err) => { require('./src/meta/build').build([compiling], (err) => {
if (err) { if (err) {
winston.error(err.stack); winston.error(err.stack);
} }
@@ -179,10 +194,10 @@ module.exports = function (grunt) {
}); });
}; };
function addBaseThemes(pluginList) { function addBaseThemes(plugins) {
let themeId = pluginList.find(p => p.includes('nodebb-theme-')); let themeId = plugins.find(p => p.includes('nodebb-theme-'));
if (!themeId) { if (!themeId) {
return pluginList; return plugins;
} }
let baseTheme; let baseTheme;
do { do {
@@ -193,9 +208,9 @@ function addBaseThemes(pluginList) {
} }
if (baseTheme) { if (baseTheme) {
pluginList.push(baseTheme); plugins.push(baseTheme);
themeId = baseTheme; themeId = baseTheme;
} }
} while (baseTheme); } while (baseTheme);
return pluginList; return plugins;
} }

View File

@@ -1,15 +1,22 @@
# ![NodeBB](public/images/sm-card.png) # ![NodeBB](public/images/logo.svg)
[![Workflow](https://github.com/NodeBB/NodeBB/actions/workflows/test.yaml/badge.svg)](https://github.com/NodeBB/NodeBB/actions/workflows/test.yaml) [![Build Status](https://travis-ci.org/NodeBB/NodeBB.svg?branch=master)](https://travis-ci.org/NodeBB/NodeBB)
[![Coverage Status](https://coveralls.io/repos/github/NodeBB/NodeBB/badge.svg?branch=master)](https://coveralls.io/github/NodeBB/NodeBB?branch=master) [![Coverage Status](https://coveralls.io/repos/github/NodeBB/NodeBB/badge.svg?branch=master)](https://coveralls.io/github/NodeBB/NodeBB?branch=master)
[![Dependency Status](https://david-dm.org/nodebb/nodebb.svg?path=install)](https://david-dm.org/nodebb/nodebb?path=install)
[![Code Climate](https://codeclimate.com/github/NodeBB/NodeBB/badges/gpa.svg)](https://codeclimate.com/github/NodeBB/NodeBB) [![Code Climate](https://codeclimate.com/github/NodeBB/NodeBB/badges/gpa.svg)](https://codeclimate.com/github/NodeBB/NodeBB)
[![](https://dcbadge.vercel.app/api/server/p6YKPXu7er?style=flat)](https://discord.gg/p6YKPXu7er)
[**NodeBB Forum Software**](https://nodebb.org) is powered by Node.js and supports either Redis, MongoDB, or a PostgreSQL database. It utilizes web sockets for instant interactions and real-time notifications. NodeBB takes the best of the modern web: real-time streaming discussions, mobile responsiveness, and rich RESTful read/write APIs, while staying true to the original bulletin board/forum format &rarr; categorical hierarchies, local user accounts, and asynchronous messaging. [**NodeBB Forum Software**](https://nodebb.org) is powered by Node.js and supports either Redis, MongoDB, or a PostgreSQL database. It utilizes web sockets for instant interactions and real-time notifications. NodeBB has many modern features out of the box such as social network integration and streaming discussions, while still making sure to be compatible with older browsers.
NodeBB by itself contains a "common core" of basic functionality, while additional functionality and integrations are enabled through the use of third-party plugins. Additional functionality is enabled through the use of third-party plugins.
### [Try it now](//try.nodebb.org) | [Documentation](//docs.nodebb.org) * [Demo](https://try.nodebb.org)
* [Developer Community](http://community.nodebb.org)
* [Documentation & Installation Instructions](http://docs.nodebb.org)
* [Help translate NodeBB](https://www.transifex.com/projects/p/nodebb/)
* [NodeBB Blog](http://blog.nodebb.org)
* [Premium Hosting for NodeBB](http://www.nodebb.org/ "NodeBB")
* [Follow us on Twitter](http://www.twitter.com/NodeBB/ "NodeBB Twitter")
* [Like us on Facebook](http://www.facebook.com/NodeBB/ "NodeBB Facebook")
## Screenshots ## Screenshots
@@ -24,23 +31,26 @@ NodeBB's theming engine is highly flexible and does not restrict your design cho
[![](http://i.imgur.com/LmHtPhob.png)](http://i.imgur.com/LmHtPho.png) [![](http://i.imgur.com/LmHtPhob.png)](http://i.imgur.com/LmHtPho.png)
[![](http://i.imgur.com/paiJPJkb.jpg)](http://i.imgur.com/paiJPJk.jpg) [![](http://i.imgur.com/paiJPJkb.jpg)](http://i.imgur.com/paiJPJk.jpg)
Our minimalist "Harmony" theme gets you going right away, no coding experience required. Our minimalist "Persona" theme gets you going right away, no coding experience required.
[![](http://i.imgur.com/HwNEXGu.png)](http://i.imgur.com/HwNEXGu.png)
[![](http://i.imgur.com/II1byYs.png)](http://i.imgur.com/II1byYs.png)
![Rendering of a NodeBB install on desktop and mobile devices](https://user-images.githubusercontent.com/923011/228570420-2a4db745-b20d-474a-a571-1b59259508ef.png)
## How can I follow along/contribute? ## How can I follow along/contribute?
* If you are a developer, feel free to check out the source and submit pull requests. We also have a wide array of [plugins](http://community.nodebb.org/category/7/nodebb-plugins) which would be a great starting point for learning the codebase. * If you are a developer, feel free to check out the source and submit pull requests. We also have a wide array of [plugins](http://community.nodebb.org/category/7/nodebb-plugins) which would be a great starting point for learning the codebase.
* If you are a designer, [NodeBB needs themes](http://community.nodebb.org/category/10/nodebb-themes)! NodeBB's theming system allows extension of the base templates as well as styling via SCSS or CSS. NodeBB's base theme utilizes [Bootstrap 5](http://getbootstrap.com/) as a frontend toolkit. * If you are a designer, [NodeBB needs themes](http://community.nodebb.org/category/10/nodebb-themes)! NodeBB's theming system allows extension of the base templates as well as styling via LESS or CSS. NodeBB's base theme utilizes [Bootstrap 3](http://getbootstrap.com/) but themes can choose to use a different framework altogether.
* If you know languages other than English you can help us translate NodeBB. We use [Transifex](https://explore.transifex.com/nodebb/nodebb/) for internationalization. * If you know languages other than English you can help us translate NodeBB. We use [Transifex](https://www.transifex.com/projects/p/nodebb/) for internationalization.
* Please don't forget to **like**, **follow**, and **star our repo**! Join our growing [community](http://community.nodebb.org) to keep up to date with the latest NodeBB development. * Please don't forget to **like**, **follow**, and **star our repo**! Join our growing [community](http://community.nodebb.org) to keep up to date with the latest NodeBB development.
## Requirements ## Requirements
NodeBB requires the following software to be installed: NodeBB requires the following software to be installed:
* A version of Node.js at least 16 or greater ([installation/upgrade instructions](https://github.com/nodesource/distributions)) * A version of Node.js at least 12 or greater ([installation/upgrade instructions](https://github.com/nodesource/distributions))
* MongoDB, version 3.6 or greater **or** Redis, version 2.8.9 or greater * MongoDB, version 2.6 or greater **or** Redis, version 2.8.9 or greater
* If you are using [clustering](https://docs.nodebb.org/configuring/scaling/) you need Redis installed and configured. * If you are using [clustering](https://docs.nodebb.org/configuring/scaling/) you need Redis installed and configured.
* nginx, version 1.3.13 or greater (**only if** intending to use nginx to proxy requests to a NodeBB) * nginx, version 1.3.13 or greater (**only if** intending to use nginx to proxy requests to a NodeBB)
@@ -68,15 +78,3 @@ Detailed upgrade instructions are listed in [Upgrading NodeBB](https://docs.node
NodeBB is licensed under the **GNU General Public License v3 (GPL-3)** (http://www.gnu.org/copyleft/gpl.html). NodeBB is licensed under the **GNU General Public License v3 (GPL-3)** (http://www.gnu.org/copyleft/gpl.html).
Interested in a sublicense agreement for use of NodeBB in a non-free/restrictive environment? Contact us at sales@nodebb.org. Interested in a sublicense agreement for use of NodeBB in a non-free/restrictive environment? Contact us at sales@nodebb.org.
## More Information/Links
* [Demo](https://try.nodebb.org)
* [Developer Community](http://community.nodebb.org)
* [Documentation & Installation Instructions](https://docs.nodebb.org)
* [Help translate NodeBB](https://explore.transifex.com/nodebb/nodebb/)
* [NodeBB Blog](https://nodebb.org/blog)
* [Premium Hosting for NodeBB](https://www.nodebb.org/ "NodeBB")
* Unofficial IRC community &ndash; channel `#nodebb` on Libera.chat
* [Follow us on Twitter](http://www.twitter.com/NodeBB/ "NodeBB Twitter")
* [Like us on Facebook](http://www.facebook.com/NodeBB/ "NodeBB Facebook")

4
app.js
View File

@@ -1,7 +1,7 @@
/* /*
NodeBB - A better forum platform for the modern web NodeBB - A better forum platform for the modern web
https://github.com/NodeBB/NodeBB/ https://github.com/NodeBB/NodeBB/
Copyright (C) 2013-2021 NodeBB Inc. Copyright (C) 2013-2017 NodeBB Inc.
This program is free software: you can redistribute it and/or modify This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by it under the terms of the GNU General Public License as published by
@@ -71,7 +71,7 @@ if (nconf.get('setup') || nconf.get('install')) {
}); });
} else if (nconf.get('activate')) { } else if (nconf.get('activate')) {
require('./src/cli/manage').activate(nconf.get('activate')); require('./src/cli/manage').activate(nconf.get('activate'));
} else if (nconf.get('plugins') && typeof nconf.get('plugins') !== 'object') { } else if (nconf.get('plugins')) {
require('./src/cli/manage').listPlugins(); require('./src/cli/manage').listPlugins();
} else if (nconf.get('build')) { } else if (nconf.get('build')) {
require('./src/cli/manage').build(nconf.get('build')); require('./src/cli/manage').build(nconf.get('build'));

View File

@@ -4,7 +4,6 @@
"defaultLang": "en-GB", "defaultLang": "en-GB",
"loginDays": 14, "loginDays": 14,
"loginSeconds": 0, "loginSeconds": 0,
"sessionDuration": 0,
"loginAttempts": 5, "loginAttempts": 5,
"lockoutDuration": 60, "lockoutDuration": 60,
"adminReloginDuration": 60, "adminReloginDuration": 60,
@@ -15,8 +14,7 @@
"newbiePostEditDuration": 3600, "newbiePostEditDuration": 3600,
"postDeleteDuration": 0, "postDeleteDuration": 0,
"enablePostHistory": 1, "enablePostHistory": 1,
"topicBacklinks": 1, "postCacheSize": 10485760,
"postCacheSize": 20971520,
"disableChat": 0, "disableChat": 0,
"chatEditDuration": 0, "chatEditDuration": 0,
"chatDeleteDuration": 0, "chatDeleteDuration": 0,
@@ -26,7 +24,6 @@
"postQueue": 0, "postQueue": 0,
"postQueueReputationThreshold": 0, "postQueueReputationThreshold": 0,
"groupsExemptFromPostQueue": ["administrators", "Global Moderators"], "groupsExemptFromPostQueue": ["administrators", "Global Moderators"],
"groupsExemptFromMaintenanceMode": ["administrators", "Global Moderators"],
"minimumPostLength": 8, "minimumPostLength": 8,
"maximumPostLength": 32767, "maximumPostLength": 32767,
"systemTags": "", "systemTags": "",
@@ -47,7 +44,6 @@
"allowMultipleBadges": 0, "allowMultipleBadges": 0,
"maximumFileSize": 2048, "maximumFileSize": 2048,
"stripEXIFData": 1, "stripEXIFData": 1,
"orphanExpiryDays": 0,
"resizeImageWidthThreshold": 2000, "resizeImageWidthThreshold": 2000,
"resizeImageWidth": 760, "resizeImageWidth": 760,
"rejectImageWidth": 5000, "rejectImageWidth": 5000,
@@ -69,10 +65,10 @@
"profileImageDimension": 200, "profileImageDimension": 200,
"profile:convertProfileImageToPNG": 0, "profile:convertProfileImageToPNG": 0,
"profile:keepAllUserImages": 0, "profile:keepAllUserImages": 0,
"requireEmailConfirmation": 0,
"gdpr_enabled": 1, "gdpr_enabled": 1,
"allowProfileImageUploads": 1, "allowProfileImageUploads": 1,
"teaserPost": "last-reply", "teaserPost": "last-reply",
"showPostPreviewsOnHover": 1,
"allowPrivateGroups": 1, "allowPrivateGroups": 1,
"unreadCutoff": 2, "unreadCutoff": 2,
"bookmarkThreshold": 5, "bookmarkThreshold": 5,
@@ -80,14 +76,9 @@
"reputation:disabled": 0, "reputation:disabled": 0,
"downvote:disabled": 0, "downvote:disabled": 0,
"disableSignatures": 0, "disableSignatures": 0,
"signatures:hideDuplicates": 0,
"upvotesPerDay": 20,
"upvotesPerUserPerDay": 6,
"downvotesPerDay": 10, "downvotesPerDay": 10,
"downvotesPerUserPerDay": 3, "downvotesPerUserPerDay": 3,
"min:rep:chat": 0,
"min:rep:downvote": 0, "min:rep:downvote": 0,
"min:rep:upvote": 0,
"min:rep:flag": 0, "min:rep:flag": 0,
"min:rep:profile-picture": 0, "min:rep:profile-picture": 0,
"min:rep:cover-picture": 0, "min:rep:cover-picture": 0,
@@ -95,9 +86,6 @@
"min:rep:aboutme": 0, "min:rep:aboutme": 0,
"min:rep:signature": 0, "min:rep:signature": 0,
"flags:limitPerTarget": 0, "flags:limitPerTarget": 0,
"flags:autoFlagOnDownvoteThreshold": 0,
"flags:actionOnResolve": "rescind",
"flags:actionOnReject": "rescind",
"notificationType_upvote": "notification", "notificationType_upvote": "notification",
"notificationType_new-topic": "notification", "notificationType_new-topic": "notification",
"notificationType_new-reply": "notification", "notificationType_new-reply": "notification",
@@ -120,9 +108,6 @@
"postsPerPage": 20, "postsPerPage": 20,
"categoriesPerPage": 50, "categoriesPerPage": 50,
"userSearchResultsPerPage": 50, "userSearchResultsPerPage": 50,
"searchDefaultSortBy": "relevance",
"searchDefaultIn": "titlesposts",
"searchDefaultInQuick": "titles",
"maximumGroupNameLength": 255, "maximumGroupNameLength": 255,
"maximumGroupTitleLength": 40, "maximumGroupTitleLength": 40,
"preventTopicDeleteAfterReplies": 0, "preventTopicDeleteAfterReplies": 0,
@@ -148,20 +133,11 @@
"maximumRelatedTopics": 0, "maximumRelatedTopics": 0,
"disableEmailSubscriptions": 0, "disableEmailSubscriptions": 0,
"emailConfirmInterval": 10, "emailConfirmInterval": 10,
"emailConfirmExpiry": 24,
"removeEmailNotificationImages": 0, "removeEmailNotificationImages": 0,
"sendValidationEmail": 1,
"includeUnverifiedEmails": 0,
"emailPrompt": 1,
"sendEmailToBanned": 0,
"requireEmailAddress": 0,
"inviteExpiration": 7, "inviteExpiration": 7,
"dailyDigestFreq": "off", "dailyDigestFreq": "off",
"digestHour": 17, "digestHour": 17,
"passwordExpiryDays": 0, "passwordExpiryDays": 0,
"cross-origin-embedder-policy": 0,
"cross-origin-opener-policy": "same-origin",
"cross-origin-resource-policy": "same-origin",
"hsts-maxage": 31536000, "hsts-maxage": 31536000,
"hsts-subdomains": 0, "hsts-subdomains": 0,
"hsts-preload": 0, "hsts-preload": 0,
@@ -182,6 +158,5 @@
"composer:showHelpTab": 1, "composer:showHelpTab": 1,
"composer:allowPluginHelp": 1, "composer:allowPluginHelp": 1,
"maxReconnectionAttempts": 5, "maxReconnectionAttempts": 5,
"reconnectionDelay": 1500, "reconnectionDelay": 1500
"disableCustomUserSkins": 0
} }

View File

@@ -2,7 +2,7 @@
{ {
"widget": "html", "widget": "html",
"data" : { "data" : {
"html": "<footer id=\"footer\" class=\"container footer d-flex flex-column align-items-center gap-1 mb-2\">\n\t<span>Powered by <a class=\"link-secondary text-decoration-underline\" target=\"_blank\" href=\"https://nodebb.org\">NodeBB</a></span>\n\t<span><a class=\"link-secondary\" target=\"_blank\" href=\"//github.com/NodeBB/NodeBB/graphs/contributors\"><i class=\"fa fa-users\"></i> <span class=\"text-decoration-underline\">Contributors<span></a></span>\n</footer>", "html": "<footer id=\"footer\" class=\"container footer\">\r\n\t<div>\r\n\t\tPowered by <a target=\"_blank\" href=\"https://nodebb.org\">NodeBB</a> | <a target=\"_blank\" href=\"//github.com/NodeBB/NodeBB/graphs/contributors\">Contributors</a>\r\n\t</div>\r\n</footer>",
"title":"", "title":"",
"container":"" "container":""
} }

View File

@@ -4,7 +4,7 @@
"title": "[[global:header.categories]]", "title": "[[global:header.categories]]",
"enabled": true, "enabled": true,
"iconClass": "fa-list", "iconClass": "fa-list",
"textClass": "d-lg-none", "textClass": "visible-xs-inline",
"text": "[[global:header.categories]]" "text": "[[global:header.categories]]"
}, },
{ {
@@ -13,7 +13,7 @@
"title": "[[global:header.unread]]", "title": "[[global:header.unread]]",
"enabled": true, "enabled": true,
"iconClass": "fa-inbox", "iconClass": "fa-inbox",
"textClass": "d-lg-none", "textClass": "visible-xs-inline",
"text": "[[global:header.unread]]", "text": "[[global:header.unread]]",
"groups": ["registered-users"] "groups": ["registered-users"]
}, },
@@ -22,7 +22,7 @@
"title": "[[global:header.recent]]", "title": "[[global:header.recent]]",
"enabled": true, "enabled": true,
"iconClass": "fa-clock-o", "iconClass": "fa-clock-o",
"textClass": "d-lg-none", "textClass": "visible-xs-inline",
"text": "[[global:header.recent]]" "text": "[[global:header.recent]]"
}, },
{ {
@@ -30,7 +30,7 @@
"title": "[[global:header.tags]]", "title": "[[global:header.tags]]",
"enabled": true, "enabled": true,
"iconClass": "fa-tags", "iconClass": "fa-tags",
"textClass": "d-lg-none", "textClass": "visible-xs-inline",
"text": "[[global:header.tags]]" "text": "[[global:header.tags]]"
}, },
{ {
@@ -38,7 +38,7 @@
"title": "[[global:header.popular]]", "title": "[[global:header.popular]]",
"enabled": true, "enabled": true,
"iconClass": "fa-fire", "iconClass": "fa-fire",
"textClass": "d-lg-none", "textClass": "visible-xs-inline",
"text": "[[global:header.popular]]" "text": "[[global:header.popular]]"
}, },
{ {
@@ -46,7 +46,7 @@
"title": "[[global:header.users]]", "title": "[[global:header.users]]",
"enabled": true, "enabled": true,
"iconClass": "fa-user", "iconClass": "fa-user",
"textClass": "d-lg-none", "textClass": "visible-xs-inline",
"text": "[[global:header.users]]" "text": "[[global:header.users]]"
}, },
{ {
@@ -54,7 +54,7 @@
"title": "[[global:header.groups]]", "title": "[[global:header.groups]]",
"enabled": true, "enabled": true,
"iconClass": "fa-group", "iconClass": "fa-group",
"textClass": "d-lg-none", "textClass": "visible-xs-inline",
"text": "[[global:header.groups]]" "text": "[[global:header.groups]]"
}, },
{ {
@@ -62,8 +62,11 @@
"title": "[[global:header.admin]]", "title": "[[global:header.admin]]",
"enabled": true, "enabled": true,
"iconClass": "fa-cogs", "iconClass": "fa-cogs",
"textClass": "d-lg-none", "textClass": "visible-xs-inline",
"text": "[[global:header.admin]]", "text": "[[global:header.admin]]",
"groups": ["administrators"] "groups": ["administrators"],
"properties": {
"targetBlank": false
}
} }
] ]

View File

@@ -3,6 +3,10 @@
const prompt = require('prompt'); const prompt = require('prompt');
const winston = require('winston'); const winston = require('winston');
const util = require('util');
const promptGet = util.promisify((schema, callback) => prompt.get(schema, callback));
const questions = { const questions = {
redis: require('../src/database/redis').questions, redis: require('../src/database/redis').questions,
mongo: require('../src/database/mongo').questions, mongo: require('../src/database/mongo').questions,
@@ -24,17 +28,17 @@ async function getDatabaseConfig(config) {
if (config['redis:host'] && config['redis:port']) { if (config['redis:host'] && config['redis:port']) {
return config; return config;
} }
return await prompt.get(questions.redis); return await promptGet(questions.redis);
} else if (config.database === 'mongo') { } else if (config.database === 'mongo') {
if ((config['mongo:host'] && config['mongo:port']) || config['mongo:uri']) { if ((config['mongo:host'] && config['mongo:port']) || config['mongo:uri']) {
return config; return config;
} }
return await prompt.get(questions.mongo); return await promptGet(questions.mongo);
} else if (config.database === 'postgres') { } else if (config.database === 'postgres') {
if (config['postgres:host'] && config['postgres:port']) { if (config['postgres:host'] && config['postgres:port']) {
return config; return config;
} }
return await prompt.get(questions.postgres); return await promptGet(questions.postgres);
} }
throw new Error(`unknown database : ${config.database}`); throw new Error(`unknown database : ${config.database}`);
} }

View File

@@ -2,8 +2,8 @@
"name": "nodebb", "name": "nodebb",
"license": "GPL-3.0", "license": "GPL-3.0",
"description": "NodeBB Forum", "description": "NodeBB Forum",
"version": "3.1.2", "version": "1.17.2",
"homepage": "https://www.nodebb.org", "homepage": "http://www.nodebb.org",
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://github.com/NodeBB/NodeBB/" "url": "https://github.com/NodeBB/NodeBB/"
@@ -28,152 +28,136 @@
] ]
}, },
"dependencies": { "dependencies": {
"@adactive/bootstrap-tagsinput": "0.8.2", "@adactive/bootstrap-tagsinput": "^0.8.2",
"@isaacs/ttlcache": "1.4.0", "ace-builds": "^1.4.12",
"@popperjs/core": "2.11.7", "archiver": "^5.2.0",
"ace-builds": "1.19.0", "async": "^3.2.0",
"archiver": "5.3.1", "autoprefixer": "10.3.1",
"async": "3.2.4",
"autoprefixer": "10.4.14",
"bcryptjs": "2.4.3", "bcryptjs": "2.4.3",
"benchpressjs": "2.5.1", "benchpressjs": "2.4.3",
"body-parser": "1.20.2", "body-parser": "^1.19.0",
"bootbox": "6.0.0", "bootbox": "5.5.2",
"bootstrap": "5.2.3", "bootstrap": "^3.4.1",
"bootswatch": "5.2.3", "chart.js": "^2.9.4",
"chalk": "4.1.2", "cli-graph": "^3.2.2",
"chart.js": "2.9.4", "clipboard": "^2.0.6",
"cli-graph": "3.2.2", "colors": "^1.4.0",
"clipboard": "2.0.11", "commander": "^7.1.0",
"colors": "1.4.0", "compare-versions": "3.6.0",
"commander": "10.0.1", "compression": "^1.7.4",
"compare-versions": "5.0.3", "connect-flash": "^0.1.1",
"compression": "1.7.4", "connect-mongo": "4.4.1",
"connect-flash": "0.1.1", "connect-multiparty": "^2.2.0",
"connect-mongo": "5.0.0", "connect-pg-simple": "^6.2.1",
"connect-multiparty": "2.2.0", "connect-redis": "6.0.0",
"connect-pg-simple": "8.0.0", "cookie-parser": "^1.4.5",
"connect-redis": "7.0.1", "cron": "^1.8.2",
"cookie-parser": "1.4.6", "cropperjs": "^1.5.11",
"cron": "2.3.0", "csurf": "^1.11.0",
"cropperjs": "1.5.13", "daemon": "^1.1.0",
"csrf-sync": "4.0.1", "diff": "^5.0.0",
"daemon": "1.1.0", "express": "^4.17.1",
"diff": "5.1.0", "express-session": "^1.17.1",
"esbuild": "0.17.18", "express-useragent": "^1.0.15",
"express": "4.18.2", "graceful-fs": "^4.2.6",
"express-session": "1.17.3", "helmet": "^4.4.1",
"express-useragent": "1.0.15", "html-to-text": "7.1.1",
"file-loader": "6.2.0", "ipaddr.js": "^2.0.0",
"fs-extra": "11.1.1", "jquery": "3.6.0",
"graceful-fs": "4.2.11", "jquery-deserialize": "2.0.0-rc1",
"helmet": "6.2.0",
"html-to-text": "9.0.5",
"ipaddr.js": "2.0.1",
"jquery": "3.6.4",
"jquery-deserialize": "2.0.0",
"jquery-form": "4.3.0", "jquery-form": "4.3.0",
"jquery-serializeobject": "1.0.0", "jquery-serializeobject": "1.0.0",
"jquery-ui": "1.13.2", "jquery-ui": "1.12.1",
"jsesc": "3.0.2", "jsesc": "3.0.2",
"json2csv": "5.0.7", "json2csv": "5.0.6",
"jsonwebtoken": "9.0.0", "jsonwebtoken": "^8.5.1",
"less": "4.1.3", "less": "^3.11.1",
"lodash": "4.17.21", "lodash": "^4.17.21",
"logrotate-stream": "0.2.9", "logrotate-stream": "^0.2.7",
"lru-cache": "9.1.1", "lru-cache": "6.0.0",
"material-design-lite": "1.3.0", "material-design-lite": "^1.3.0",
"mime": "3.0.0", "mime": "^2.5.2",
"mkdirp": "3.0.1", "mkdirp": "^1.0.4",
"mongodb": "5.4.0", "mongodb": "3.6.10",
"morgan": "1.10.0", "morgan": "^1.10.0",
"mousetrap": "1.6.5", "mousetrap": "^1.6.5",
"multiparty": "4.2.3", "multiparty": "4.2.2",
"nconf": "0.12.0", "@nodebb/bootswatch": "3.4.2",
"nodebb-plugin-2factor": "7.0.5", "nconf": "^0.11.2",
"nodebb-plugin-composer-default": "10.1.5", "nodebb-plugin-composer-default": "6.5.34",
"nodebb-plugin-dbsearch": "6.0.1", "nodebb-plugin-dbsearch": "5.0.2",
"nodebb-plugin-emoji": "5.0.10", "nodebb-plugin-emoji": "^3.5.0",
"nodebb-plugin-emoji-android": "4.0.0", "nodebb-plugin-emoji-android": "2.0.5",
"nodebb-plugin-markdown": "12.0.3", "nodebb-plugin-markdown": "8.14.2",
"nodebb-plugin-mentions": "4.1.1", "nodebb-plugin-mentions": "2.13.11",
"nodebb-plugin-ntfy": "1.0.15", "nodebb-plugin-spam-be-gone": "0.7.9",
"nodebb-plugin-spam-be-gone": "2.0.7", "nodebb-rewards-essentials": "0.1.5",
"nodebb-rewards-essentials": "0.2.3", "nodebb-theme-lavender": "5.2.1",
"nodebb-theme-harmony": "1.0.24", "nodebb-theme-persona": "11.0.26",
"nodebb-theme-lavender": "7.0.9", "nodebb-theme-slick": "1.4.7",
"nodebb-theme-peace": "2.0.22", "nodebb-theme-vanilla": "12.0.8",
"nodebb-theme-persona": "13.0.65", "nodebb-widget-essentials": "5.0.4",
"nodebb-widget-essentials": "7.0.12", "nodemailer": "^6.5.0",
"nodemailer": "6.9.1",
"nprogress": "0.2.0", "nprogress": "0.2.0",
"passport": "0.6.0", "passport": "^0.4.1",
"passport-http-bearer": "1.0.1", "passport-http-bearer": "^1.0.1",
"passport-local": "1.0.0", "passport-local": "1.0.0",
"pg": "8.10.0", "pg": "^8.5.1",
"pg-cursor": "2.9.0", "pg-cursor": "^2.5.2",
"postcss": "8.4.23", "postcss": "8.3.5",
"postcss-clean": "1.2.0", "postcss-clean": "1.2.0",
"progress-webpack-plugin": "1.0.16", "prompt": "^1.1.0",
"prompt": "1.3.0", "ioredis": "4.27.6",
"ioredis": "5.3.2",
"request": "2.88.2", "request": "2.88.2",
"request-promise-native": "1.0.9", "request-promise-native": "^1.0.9",
"rimraf": "5.0.0", "requirejs": "2.3.6",
"rss": "1.2.2", "rimraf": "3.0.2",
"rtlcss": "4.1.0", "rss": "^1.2.2",
"sanitize-html": "2.10.0", "sanitize-html": "^2.3.2",
"sass": "1.62.1", "semver": "^7.3.4",
"semver": "7.5.0", "serve-favicon": "^2.5.0",
"serve-favicon": "2.5.0", "sharp": "0.28.3",
"sharp": "0.32.1", "sitemap": "^7.0.0",
"sitemap": "7.1.1",
"slideout": "1.0.1", "slideout": "1.0.1",
"socket.io": "4.6.1", "socket.io": "4.1.3",
"socket.io-client": "4.6.1", "socket.io-adapter-cluster": "^1.0.1",
"@socket.io/redis-adapter": "8.2.0", "socket.io-client": "4.1.3",
"sortablejs": "1.15.0", "@socket.io/redis-adapter": "7.0.0",
"spdx-license-list": "6.6.0", "sortablejs": "1.14.0",
"spdx-license-list": "^6.4.0",
"spider-detector": "2.0.0", "spider-detector": "2.0.0",
"terser-webpack-plugin": "5.3.8", "textcomplete": "^0.18.0",
"textcomplete": "0.18.2", "textcomplete.contenteditable": "^0.1.1",
"textcomplete.contenteditable": "0.1.1", "timeago": "^1.6.7",
"timeago": "1.6.7",
"tinycon": "0.6.8", "tinycon": "0.6.8",
"toobusy-js": "0.5.1", "toobusy-js": "^0.5.1",
"validator": "13.9.0", "uglify-es": "^3.3.9",
"webpack": "5.82.0", "validator": "13.6.0",
"webpack-merge": "5.8.0", "visibilityjs": "2.0.2",
"winston": "3.8.2", "winston": "3.3.3",
"xml": "1.0.1", "xml": "^1.0.1",
"xregexp": "5.1.1", "xregexp": "^5.0.1",
"yargs": "17.7.2", "yargs": "16.2.0",
"zxcvbn": "4.4.2" "zxcvbn": "^4.4.2"
}, },
"devDependencies": { "devDependencies": {
"@apidevtools/swagger-parser": "10.1.0", "@apidevtools/swagger-parser": "10.0.2",
"@commitlint/cli": "17.6.3", "@commitlint/cli": "12.1.4",
"@commitlint/config-angular": "17.6.3", "@commitlint/config-angular": "12.1.4",
"coveralls": "3.1.1", "coveralls": "3.1.1",
"eslint": "8.40.0", "eslint": "7.30.0",
"eslint-config-nodebb": "0.2.1", "eslint-config-airbnb-base": "14.2.1",
"eslint-plugin-import": "2.27.5", "eslint-plugin-import": "2.23.4",
"grunt": "1.6.1", "grunt": "1.4.1",
"grunt-contrib-watch": "1.1.0", "grunt-contrib-watch": "1.1.0",
"husky": "8.0.3", "husky": "6.0.0",
"jsdom": "22.0.0", "jsdom": "16.6.0",
"lint-staged": "13.2.2", "lint-staged": "11.0.1",
"mocha": "10.2.0", "mocha": "8.4.0",
"mocha-lcov-reporter": "1.3.0", "mocha-lcov-reporter": "1.3.0",
"mockdate": "3.0.5", "mockdate": "3.0.5",
"nyc": "15.1.0", "nyc": "15.1.0",
"smtp-server": "3.11.0" "smtp-server": "3.9.0"
},
"optionalDependencies": {
"sass-embedded": "1.62.0"
},
"resolutions": {
"*/jquery": "3.6.4"
}, },
"bugs": { "bugs": {
"url": "https://github.com/NodeBB/NodeBB/issues" "url": "https://github.com/NodeBB/NodeBB/issues"
@@ -182,6 +166,11 @@
"node": ">=12" "node": ">=12"
}, },
"maintainers": [ "maintainers": [
{
"name": "Andrew Rodrigues",
"email": "andrew@nodebb.org",
"url": "https://github.com/psychobunny"
},
{ {
"name": "Julian Lam", "name": "Julian Lam",
"email": "julian@nodebb.org", "email": "julian@nodebb.org",
@@ -193,4 +182,4 @@
"url": "https://github.com/barisusakli" "url": "https://github.com/barisusakli"
} }
] ]
} }

View File

@@ -6,14 +6,18 @@ const bodyParser = require('body-parser');
const fs = require('fs'); const fs = require('fs');
const path = require('path'); const path = require('path');
const childProcess = require('child_process'); const childProcess = require('child_process');
const less = require('less');
const util = require('util');
const webpack = require('webpack'); const lessRenderAsync = util.promisify(
(style, opts, cb) => less.render(String(style), opts, cb)
);
const uglify = require('uglify-es');
const nconf = require('nconf'); const nconf = require('nconf');
const Benchpress = require('benchpressjs'); const Benchpress = require('benchpressjs');
const { mkdirp } = require('mkdirp'); const mkdirp = require('mkdirp');
const { paths } = require('../src/constants'); const { paths } = require('../src/constants');
const sass = require('../src/utils').getSass();
const app = express(); const app = express();
let server; let server;
@@ -46,6 +50,16 @@ winston.configure({
}); });
const web = module.exports; const web = module.exports;
const scripts = [
'node_modules/jquery/dist/jquery.js',
'node_modules/xregexp/xregexp-all.js',
'public/src/modules/slugify.js',
'public/src/utils.js',
'public/src/installer/install.js',
'node_modules/zxcvbn/dist/zxcvbn.js',
];
let installing = false; let installing = false;
let success = false; let success = false;
let error = false; let error = false;
@@ -58,8 +72,6 @@ web.install = async function (port) {
winston.info(`Launching web installer on port ${port}`); winston.info(`Launching web installer on port ${port}`);
app.use(express.static('public', {})); app.use(express.static('public', {}));
app.use('/assets', express.static(path.join(__dirname, '../build/public'), {}));
app.engine('tpl', (filepath, options, callback) => { app.engine('tpl', (filepath, options, callback) => {
filepath = filepath.replace(/\.tpl$/, '.js'); filepath = filepath.replace(/\.tpl$/, '.js');
@@ -73,8 +85,8 @@ web.install = async function (port) {
try { try {
await Promise.all([ await Promise.all([
compileTemplate(), compileTemplate(),
compileSass(), compileLess(),
runWebpack(), compileJS(),
copyCSS(), copyCSS(),
loadDefaults(), loadDefaults(),
]); ]);
@@ -85,13 +97,6 @@ web.install = async function (port) {
} }
}; };
async function runWebpack() {
const util = require('util');
const webpackCfg = require('../webpack.installer');
const compiler = webpack(webpackCfg);
const webpackRun = util.promisify(compiler.run).bind(compiler);
await webpackRun();
}
function launchExpress(port) { function launchExpress(port) {
server = app.listen(port, () => { server = app.listen(port, () => {
@@ -112,7 +117,7 @@ function ping(req, res) {
} }
function welcome(req, res) { function welcome(req, res) {
const dbs = ['mongo', 'redis', 'postgres']; const dbs = ['redis', 'mongo', 'postgres'];
const databases = dbs.map((databaseName) => { const databases = dbs.map((databaseName) => {
const questions = require(`../src/database/${databaseName}`).questions.filter(question => question && !question.hideOnWebInstall); const questions = require(`../src/database/${databaseName}`).questions.filter(question => question && !question.hideOnWebInstall);
@@ -145,27 +150,29 @@ function install(req, res) {
} }
req.setTimeout(0); req.setTimeout(0);
installing = true; installing = true;
const setupEnvVars = nconf.get();
for (const [key, value] of Object.entries(req.body)) {
if (!process.env.hasOwnProperty(key)) {
setupEnvVars[key.replace(':', '__')] = value;
}
}
const database = nconf.get('database') || req.body.database || 'mongo'; // Flatten any objects in setupEnvVars
const setupEnvVars = { const pushToRoot = function (parentKey, key) {
...process.env, setupEnvVars[`${parentKey}__${key}`] = setupEnvVars[parentKey][key];
NODEBB_URL: nconf.get('url') || req.body.url || (`${req.protocol}://${req.get('host')}`),
NODEBB_PORT: nconf.get('port') || 4567,
NODEBB_ADMIN_USERNAME: nconf.get('admin:username') || req.body['admin:username'],
NODEBB_ADMIN_PASSWORD: nconf.get('admin:password') || req.body['admin:password'],
NODEBB_ADMIN_EMAIL: nconf.get('admin:email') || req.body['admin:email'],
NODEBB_DB: database,
NODEBB_DB_HOST: nconf.get(`${database}:host`) || req.body[`${database}:host`],
NODEBB_DB_PORT: nconf.get(`${database}:port`) || req.body[`${database}:port`],
NODEBB_DB_USER: nconf.get(`${database}:username`) || req.body[`${database}:username`],
NODEBB_DB_PASSWORD: nconf.get(`${database}:password`) || req.body[`${database}:password`],
NODEBB_DB_NAME: nconf.get(`${database}:database`) || req.body[`${database}:database`],
NODEBB_DB_SSL: nconf.get(`${database}:ssl`) || req.body[`${database}:ssl`],
defaultPlugins: JSON.stringify(nconf.get('defaultplugins') || nconf.get('defaultPlugins') || []),
}; };
for (const [parentKey, value] of Object.entries(setupEnvVars)) {
if (typeof value === 'object' && value !== null && !Array.isArray(value)) {
Object.keys(value).forEach(key => pushToRoot(parentKey, key));
delete setupEnvVars[parentKey];
} else if (Array.isArray(value)) {
setupEnvVars[parentKey] = JSON.stringify(value);
}
}
winston.info('Starting setup process'); winston.info('Starting setup process');
launchUrl = setupEnvVars.NODEBB_URL; winston.info(setupEnvVars);
launchUrl = setupEnvVars.url;
const child = require('child_process').fork('app', ['--setup'], { const child = require('child_process').fork('app', ['--setup'], {
env: setupEnvVars, env: setupEnvVars,
@@ -206,20 +213,15 @@ async function launch(req, res) {
} }
const filesToDelete = [ const filesToDelete = [
path.join(__dirname, '../public', 'installer.css'), 'installer.css',
path.join(__dirname, '../public', 'bootstrap.min.css'), 'installer.min.js',
path.join(__dirname, '../build/public', 'installer.min.js'), 'bootstrap.min.css',
]; ];
try { await Promise.all(
await Promise.all( filesToDelete.map(
filesToDelete.map( filename => fs.promises.unlink(path.join(__dirname, '../public', filename))
filename => fs.promises.unlink(filename) )
) );
);
} catch (err) {
console.log(err.stack);
}
child.unref(); child.unref();
process.exit(0); process.exit(0);
} catch (err) { } catch (err) {
@@ -247,42 +249,51 @@ async function compileTemplate() {
]); ]);
} }
async function compileSass() { async function compileLess() {
try { try {
const installSrc = path.join(__dirname, '../public/scss/install.scss'); const installSrc = path.join(__dirname, '../public/less/install.less');
const style = await fs.promises.readFile(installSrc); const style = await fs.promises.readFile(installSrc);
const scssOutput = sass.compileString(String(style), { const css = await lessRenderAsync(style, { filename: path.resolve(installSrc) });
loadPaths: [ await fs.promises.writeFile(path.join(__dirname, '../public/installer.css'), css.css);
path.join(__dirname, '../public/scss'),
],
});
await fs.promises.writeFile(path.join(__dirname, '../public/installer.css'), scssOutput.css.toString());
} catch (err) { } catch (err) {
winston.error(`Unable to compile SASS: \n${err.stack}`); winston.error(`Unable to compile LESS: \n${err.stack}`);
throw err; throw err;
} }
} }
async function compileJS() {
let code = '';
for (const srcPath of scripts) {
// eslint-disable-next-line no-await-in-loop
const buffer = await fs.promises.readFile(path.join(__dirname, '..', srcPath));
code += buffer.toString();
}
const minified = uglify.minify(code, {
compress: false,
});
if (!minified.code) {
throw new Error('[[error:failed-to-minify]]');
}
await fs.promises.writeFile(path.join(__dirname, '../public/installer.min.js'), minified.code);
}
async function copyCSS() { async function copyCSS() {
await fs.promises.copyFile( const src = await fs.promises.readFile(
path.join(__dirname, '../node_modules/bootstrap/dist/css/bootstrap.min.css'), path.join(__dirname, '../node_modules/bootstrap/dist/css/bootstrap.min.css'), 'utf8'
path.join(__dirname, '../public/bootstrap.min.css'),
); );
await fs.promises.writeFile(path.join(__dirname, '../public/bootstrap.min.css'), src);
} }
async function loadDefaults() { async function loadDefaults() {
const setupDefaultsPath = path.join(__dirname, '../setup.json'); const setupDefaultsPath = path.join(__dirname, '../setup.json');
try { try {
// eslint-disable-next-line no-bitwise await fs.promises.access(setupDefaultsPath, fs.constants.F_OK + fs.constants.R_OK);
await fs.promises.access(setupDefaultsPath, fs.constants.F_OK | fs.constants.R_OK);
} catch (err) { } catch (err) {
// setup.json not found or inaccessible, proceed with no defaults // setup.json not found or inaccessible, proceed with no defaults
if (err.code !== 'ENOENT') { if (err.code !== 'ENOENT') {
throw err; throw err;
} }
return;
} }
winston.info('[installer] Found setup.json, populating default values'); winston.info('[installer] Found setup.json, populating default values');
nconf.file({ nconf.file({

View File

@@ -5,8 +5,9 @@ const fs = require('fs');
const url = require('url'); const url = require('url');
const path = require('path'); const path = require('path');
const { fork } = require('child_process'); const { fork } = require('child_process');
const async = require('async');
const logrotate = require('logrotate-stream'); const logrotate = require('logrotate-stream');
const { mkdirp } = require('mkdirp'); const mkdirp = require('mkdirp');
const file = require('./src/file'); const file = require('./src/file');
const pkg = require('./package.json'); const pkg = require('./package.json');
@@ -30,10 +31,12 @@ const output = logrotate({ file: outputLogFilePath, size: '1m', keep: 3, compres
const silent = nconf.get('silent') === 'false' ? false : nconf.get('silent') !== false; const silent = nconf.get('silent') === 'false' ? false : nconf.get('silent') !== false;
let numProcs; let numProcs;
const workers = []; const workers = [];
const Loader = {}; const Loader = {
timesStarted: 0,
};
const appPath = path.join(__dirname, 'app.js'); const appPath = path.join(__dirname, 'app.js');
Loader.init = function () { Loader.init = function (callback) {
if (silent) { if (silent) {
console.log = (...args) => { console.log = (...args) => {
output.write(`${args.join(' ')}\n`); output.write(`${args.join(' ')}\n`);
@@ -42,19 +45,36 @@ Loader.init = function () {
process.on('SIGHUP', Loader.restart); process.on('SIGHUP', Loader.restart);
process.on('SIGTERM', Loader.stop); process.on('SIGTERM', Loader.stop);
callback();
}; };
Loader.displayStartupMessages = function () { Loader.displayStartupMessages = function (callback) {
console.log(''); console.log('');
console.log(`NodeBB v${pkg.version} Copyright (C) 2013-${(new Date()).getFullYear()} NodeBB Inc.`); console.log(`NodeBB v${pkg.version} Copyright (C) 2013-2014 NodeBB Inc.`);
console.log('This program comes with ABSOLUTELY NO WARRANTY.'); console.log('This program comes with ABSOLUTELY NO WARRANTY.');
console.log('This is free software, and you are welcome to redistribute it under certain conditions.'); console.log('This is free software, and you are welcome to redistribute it under certain conditions.');
console.log('For the full license, please visit: http://www.gnu.org/copyleft/gpl.html'); console.log('For the full license, please visit: http://www.gnu.org/copyleft/gpl.html');
console.log(''); console.log('');
callback();
}; };
Loader.addWorkerEvents = function (worker) { Loader.addWorkerEvents = function (worker) {
worker.on('exit', (code, signal) => { worker.on('exit', (code, signal) => {
if (code !== 0) {
if (Loader.timesStarted < numProcs * 3) {
Loader.timesStarted += 1;
if (Loader.crashTimer) {
clearTimeout(Loader.crashTimer);
}
Loader.crashTimer = setTimeout(() => {
Loader.timesStarted = 0;
}, 10000);
} else {
console.log(`${numProcs * 3} restarts in 10 seconds, most likely an error on startup. Halting.`);
process.exit();
}
}
console.log(`[cluster] Child Process (${worker.pid}) has exited (code: ${code}, signal: ${signal})`); console.log(`[cluster] Child Process (${worker.pid}) has exited (code: ${code}, signal: ${signal})`);
if (!(worker.suicide || code === 0)) { if (!(worker.suicide || code === 0)) {
console.log('[cluster] Spinning up another process...'); console.log('[cluster] Spinning up another process...');
@@ -87,13 +107,17 @@ Loader.addWorkerEvents = function (worker) {
}); });
}; };
Loader.start = function () { Loader.start = function (callback) {
numProcs = getPorts().length; numProcs = getPorts().length;
console.log(`Clustering enabled: Spinning up ${numProcs} process(es).\n`); console.log(`Clustering enabled: Spinning up ${numProcs} process(es).\n`);
for (let x = 0; x < numProcs; x += 1) { for (let x = 0; x < numProcs; x += 1) {
forkWorker(x, x === 0); forkWorker(x, x === 0);
} }
if (callback) {
callback();
}
}; };
function forkWorker(index, isPrimary) { function forkWorker(index, isPrimary) {
@@ -191,25 +215,12 @@ fs.open(pathToConfig, 'r', (err) => {
if (nconf.get('daemon') !== 'false' && nconf.get('daemon') !== false) { if (nconf.get('daemon') !== 'false' && nconf.get('daemon') !== false) {
if (file.existsSync(pidFilePath)) { if (file.existsSync(pidFilePath)) {
let pid = 0;
try { try {
pid = fs.readFileSync(pidFilePath, { encoding: 'utf-8' }); const pid = fs.readFileSync(pidFilePath, { encoding: 'utf-8' });
if (pid) { process.kill(pid, 0);
process.kill(pid, 0); process.exit();
console.info(`Process "${pid}" from pidfile already running, exiting`); } catch (e) {
process.exit(); fs.unlinkSync(pidFilePath);
} else {
console.info(`Invalid pid "${pid}" from pidfile, deleting pidfile`);
fs.unlinkSync(pidFilePath);
}
} catch (err) {
if (err.code === 'ESRCH') {
console.info(`Process "${pid}" from pidfile not found, deleting pidfile`);
fs.unlinkSync(pidFilePath);
} else {
console.error(err.stack);
throw err;
}
} }
} }
@@ -221,12 +232,15 @@ fs.open(pathToConfig, 'r', (err) => {
fs.writeFileSync(pidFilePath, String(process.pid)); fs.writeFileSync(pidFilePath, String(process.pid));
} }
try {
Loader.init(); async.series([
Loader.displayStartupMessages(); Loader.init,
Loader.start(); Loader.displayStartupMessages,
} catch (err) { Loader.start,
console.error('[loader] Error during startup'); ], (err) => {
throw err; if (err) {
} console.error('[loader] Error during startup');
throw err;
}
});
}); });

View File

@@ -1,3 +1,82 @@
{ {
"extends": "nodebb/public" "globals": {
"app": true,
"io": true,
"socket": true,
"ajaxify": true,
"config": true,
"utils": true,
"overrides": true,
"componentHandler": true,
"bootbox": true,
"Visibility": true,
"Tinycon": true,
"Promise": true
},
"env": {
"jquery": true,
"amd": true,
"browser": true,
"es6": true
},
"rules": {
"comma-dangle": ["error", {
"arrays": "always-multiline",
"objects": "always-multiline",
"imports": "always-multiline",
"exports": "always-multiline",
"functions": "never"
}],
"block-scoped-var": "off",
"no-dupe-class-members": "off",
"prefer-object-spread": "off",
"prefer-reflect": "off",
// ES6
"prefer-rest-params": "off",
"prefer-spread": "off",
"prefer-arrow-callback": "off",
"prefer-template": "off",
"no-var": "off",
"object-shorthand": "off",
"vars-on-top": "off",
"prefer-destructuring": "off",
// identical to airbnb rule
// except for allowing for..in, because for..of is unavailable on some clients
"no-restricted-syntax": [
"error",
{
"selector": "ForOfStatement",
"message": "iterators/generators require regenerator-runtime, which is too heavyweight for this guide to allow them. Separately, loops should be avoided in favor of array iterations."
},
{
"selector": "LabeledStatement",
"message": "Labels are a form of GOTO; using them makes code confusing and hard to maintain and understand."
},
{
"selector": "WithStatement",
"message": "`with` is disallowed in strict mode because it makes code impossible to predict and optimize."
}
]
},
"parserOptions": {
"ecmaVersion": 2018,
"ecmaFeatures": {
"classes": false,
"defaultParams": false,
"blockBindings": false,
"forOf": false,
"generators": false,
"globalReturn": false,
"jsx": false,
"modules": false,
"objectLiteralComputedProperties": false,
"objectLiteralDuplicateProperties": false,
"objectLiteralShorthandMethods": false,
"objectLiteralShorthandProperties": false,
"impliedStrict": false,
"restParams": false,
"superInFunctions": false
}
}
} }

83
public/.jshintrc Normal file
View File

@@ -0,0 +1,83 @@
{
"maxerr" : 50, // {int} Maximum error before stopping
// Enforcing
"bitwise" : true, // true: Prohibit bitwise operators (&, |, ^, etc.)
"camelcase" : false, // true: Identifiers must be in camelCase
"curly" : true, // true: Require {} for every new block or scope
"eqeqeq" : true, // true: Require triple equals (===) for comparison
"forin" : true, // true: Require filtering for..in loops with obj.hasOwnProperty()
"immed" : false, // true: Require immediate invocations to be wrapped in parens e.g. `(function () { } ());`
"indent" : 4, // {int} Number of spaces to use for indentation
"latedef" : false, // true: Require variables/functions to be defined before being used
"newcap" : false, // true: Require capitalization of all constructor functions e.g. `new F()`
"noarg" : true, // true: Prohibit use of `arguments.caller` and `arguments.callee`
"noempty" : true, // true: Prohibit use of empty blocks
"nonew" : false, // true: Prohibit use of constructors for side-effects (without assignment)
"plusplus" : false, // true: Prohibit use of `++` & `--`
"quotmark" : false, // Quotation mark consistency:
// false : do nothing (default)
// true : ensure whatever is used is consistent
// "single" : require single quotes
// "double" : require double quotes
"undef" : true, // true: Require all non-global variables to be declared (prevents global leaks)
"unused" : true, // true: Require all defined variables be used
"strict" : true, // true: Requires all functions run in ES5 Strict Mode
"trailing" : false, // true: Prohibit trailing whitespaces
"maxparams" : false, // {int} Max number of formal params allowed per function
"maxdepth" : false, // {int} Max depth of nested blocks (within functions)
"maxstatements" : false, // {int} Max number statements per function
"maxcomplexity" : false, // {int} Max cyclomatic complexity per function
"maxlen" : false, // {int} Max number of characters per line
// Relaxing
"asi" : false, // true: Tolerate Automatic Semicolon Insertion (no semicolons)
"boss" : false, // true: Tolerate assignments where comparisons would be expected
"debug" : false, // true: Allow debugger statements e.g. browser breakpoints.
"eqnull" : false, // true: Tolerate use of `== null`
"es5" : false, // true: Allow ES5 syntax (ex: getters and setters)
"esnext" : false, // true: Allow ES.next (ES6) syntax (ex: `const`)
"moz" : false, // true: Allow Mozilla specific syntax (extends and overrides esnext features)
// (ex: `for each`, multiple try/catch, function expression…)
"evil" : false, // true: Tolerate use of `eval` and `new Function()`
"expr" : false, // true: Tolerate `ExpressionStatement` as Programs
"funcscope" : false, // true: Tolerate defining variables inside control statements"
"globalstrict" : false, // true: Allow global "use strict" (also enables 'strict')
"iterator" : false, // true: Tolerate using the `__iterator__` property
"lastsemic" : false, // true: Tolerate omitting a semicolon for the last statement of a 1-line block
"laxbreak" : false, // true: Tolerate possibly unsafe line breakings
"laxcomma" : false, // true: Tolerate comma-first style coding
"loopfunc" : false, // true: Tolerate functions being defined in loops
"multistr" : false, // true: Tolerate multi-line strings
"proto" : false, // true: Tolerate using the `__proto__` property
"scripturl" : false, // true: Tolerate script-targeted URLs
"smarttabs" : false, // true: Tolerate mixed tabs/spaces when used for alignment
"shadow" : false, // true: Allows re-define variables later in code e.g. `var x=1; x=2;`
"sub" : false, // true: Tolerate using `[]` notation when it can still be expressed in dot notation
"supernew" : false, // true: Tolerate `new function () { ... };` and `new Object;`
"validthis" : false, // true: Tolerate using this in a non-constructor function
"globals": {
"app": true,
"io": true,
"socket": true,
"ajaxify": true,
"config": true,
"utils": true,
"overrides": true,
"componentHandler": true,
"bootbox": true,
"templates": true,
"Visibility": true,
"Tinycon": true,
"require": true,
"define": true,
"ace": true,
"Sortable": true,
"Slideout": true,
"NProgress": true
},
"jquery": true,
"browser": true
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 215 KiB

View File

@@ -3,7 +3,7 @@
The files here are read-only and overwritten daily (if there are changes) by the The files here are read-only and overwritten daily (if there are changes) by the
helper bot [Misty](https://github.com/nodebb-misty). helper bot [Misty](https://github.com/nodebb-misty).
Our localisation efforts are handled via [our Transifex Project](https://explore.transifex.com/nodebb/nodebb/), Our localisation efforts are handled via [our Transifex Project](https://www.transifex.com/nodebb/nodebb/),
and any pull requests made to this directory will be automatically closed because and any pull requests made to this directory will be automatically closed because
localisations can go out-of-sync when edited directly. localisations can go out-of-sync when edited directly.

View File

@@ -1,3 +0,0 @@
# The files here are not meant to be edited directly
Please see the &rarr; [Internalization README](../README.md).

View File

@@ -3,7 +3,5 @@
"alert.confirm-restart": "هل تريد بالتأكيد إعادة تشغيل NodeBB؟", "alert.confirm-restart": "هل تريد بالتأكيد إعادة تشغيل NodeBB؟",
"acp-title": "لوحة تحكم إدارة NodeBB | %1", "acp-title": "لوحة تحكم إدارة NodeBB | %1",
"settings-header-contents": "محتويات", "settings-header-contents": "محتويات"
"changes-not-saved": "لم يتم حفظ التغييرات",
"changes-not-saved-message": "حدثت مشكلة أثناء حفظ التغييرات في NodeBB. (%1)"
} }

View File

@@ -1,8 +1,5 @@
{ {
"post-cache": "التخزين المؤقت للمشاركات", "post-cache": "التخزين المؤقت للمشاركات",
"group-cache": "التخزين المؤقت للمجموعات",
"local-cache": "تخزين مؤقت محلي",
"object-cache": "تخزين مؤقت للأشياء",
"percent-full": "1% كاملة", "percent-full": "1% كاملة",
"post-cache-size": "حجم التخزين المؤقت للمشاركات", "post-cache-size": "حجم التخزين المؤقت للمشاركات",
"items-in-cache": "العناصر في التخزين المؤقت" "items-in-cache": "العناصر في التخزين المؤقت"

View File

@@ -1,52 +1,52 @@
{ {
"x-b": "٪1 بايت", "x-b": "%1 b",
"x-mb": "٪1 ميقا بايت", "x-mb": "%1 mb",
"x-gb": "٪1 قيقا بايت", "x-gb": "%1 gb",
"uptime-seconds": "مدة التشغيل بالثواني", "uptime-seconds": "Uptime in Seconds",
"uptime-days": "مدة التشغيل بالأيام", "uptime-days": "Uptime in Days",
"mongo": "Mongo", "mongo": "Mongo",
"mongo.version": "اصدار MongoDB", "mongo.version": "MongoDB Version",
"mongo.storage-engine": "محرك التخزين", "mongo.storage-engine": "Storage Engine",
"mongo.collections": "التجميعات", "mongo.collections": "Collections",
"mongo.objects": "العناصر", "mongo.objects": "Objects",
"mongo.avg-object-size": "معدل حجم العناصر", "mongo.avg-object-size": "Avg. Object Size",
"mongo.data-size": "حجم البيانات", "mongo.data-size": "Data Size",
"mongo.storage-size": "حجم التخرين", "mongo.storage-size": "Storage Size",
"mongo.index-size": "حجم الفهرس", "mongo.index-size": "Index Size",
"mongo.file-size": "حجم الملف", "mongo.file-size": "File Size",
"mongo.resident-memory": "الذاكرة الساكنة", "mongo.resident-memory": "Resident Memory",
"mongo.virtual-memory": "الذاكرة الإفتراضية", "mongo.virtual-memory": "الذاكرة الإفتراضية",
"mongo.mapped-memory": "الذاكرة المعينة", "mongo.mapped-memory": "Mapped Memory",
"mongo.bytes-in": "البايتات الواردة", "mongo.bytes-in": "Bytes In",
"mongo.bytes-out": "البايتات الصادرة", "mongo.bytes-out": "Bytes Out",
"mongo.num-requests": "عدد الطلبات", "mongo.num-requests": "Number of Requests",
"mongo.raw-info": "معلومات MongoDB الأولية", "mongo.raw-info": "MongoDB Raw Info",
"mongo.unauthorized": "لم يستطع NodeBB من الاستعلام عن احصاءات قواعد البيانات ل MongoDB. الرجاء التأكد من أن المستخدم في NodeBB يحتوي على دور &quot;clusterMonitor&quot; ال &quot;admin&quot; لقواعد البيانات.", "mongo.unauthorized": "NodeBB was unable to query the MongoDB database for relevant statistics. Please ensure that the user in use by NodeBB contains the &quot;clusterMonitor&quot; role for the &quot;admin&quot; database.",
"redis": "Redis", "redis": "Redis",
"redis.version": "إصدار Redis", "redis.version": "Redis Version",
"redis.keys": "المفاتيح", "redis.keys": "Keys",
"redis.expires": "ينتهي ", "redis.expires": "Expires",
"redis.avg-ttl": "متوسط وقت الانعاش", "redis.avg-ttl": "Average TTL",
"redis.connected-clients": "العميل المتصل", "redis.connected-clients": "Connected Clients",
"redis.connected-slaves": "البدلاء المتصلين", "redis.connected-slaves": "Connected Slaves",
"redis.blocked-clients": "العملاء المحظورون", "redis.blocked-clients": "Blocked Clients",
"redis.used-memory": "الذاكرة المستخدمة", "redis.used-memory": "الذاكرة المستخدمة",
"redis.memory-frag-ratio": "نسبة تجزئة الذاكرة", "redis.memory-frag-ratio": "Memory Fragmentation Ratio",
"redis.total-connections-recieved": "إجمالي الاتصالات المستلمة", "redis.total-connections-recieved": "إجمالي الاتصالات المستلمة",
"redis.total-commands-processed": "إجمالي الأوامر التي تمت معالجتها", "redis.total-commands-processed": "إجمالي الأوامر التي تمت معالجتها",
"redis.iops": "العمليات اللحظية في الثانية", "redis.iops": "Instantaneous Ops. Per Second",
"redis.iinput": "الإدخال الفوري في الثانية", "redis.iinput": "Instantaneous Input Per Second",
"redis.ioutput": "المخرجات الفورية في الثانية", "redis.ioutput": "Instantaneous Output Per Second",
"redis.total-input": "مجموع المدخلات", "redis.total-input": "Total Input",
"redis.total-output": "مجموع المخرجات", "redis.total-output": "Total Ouput",
"redis.keyspace-hits": "المفاتيح المضغوطة", "redis.keyspace-hits": "Keyspace Hits",
"redis.keyspace-misses": "المفاتيح المخفقة", "redis.keyspace-misses": "Keyspace Misses",
"redis.raw-info": "معلومات Redis الأولية", "redis.raw-info": "Redis Raw Info",
"postgres": "Postgres", "postgres": "Postgres",
"postgres.version": "إصدار PostgreSQL", "postgres.version": "PostgreSQL Version",
"postgres.raw-info": "معلومات Postgres الأولية" "postgres.raw-info": "Postgres Raw Info"
} }

View File

@@ -3,7 +3,6 @@
"no-events": "لا توجد أحداث", "no-events": "لا توجد أحداث",
"control-panel": "لوحة تحكم الأحداث", "control-panel": "لوحة تحكم الأحداث",
"delete-events": "حذف الاحداث", "delete-events": "حذف الاحداث",
"confirm-delete-all-events": "هل أنت متاكد أنك تريد حذف كل سجل اﻻحداث؟",
"filters": "تصفية", "filters": "تصفية",
"filters-apply": "تطبيق التصفية", "filters-apply": "تطبيق التصفية",
"filter-type": "نوع الحدث", "filter-type": "نوع الحدث",

View File

@@ -1,14 +1,14 @@
{ {
"custom-css": "Custom CSS/SASS", "custom-css": "Custom CSS/LESS",
"custom-css.description": "Enter your own CSS/SASS declarations here, which will be applied after all other styles.", "custom-css.description": "Enter your own CSS/LESS declarations here, which will be applied after all other styles.",
"custom-css.enable": "Enable Custom CSS/SASS", "custom-css.enable": "Enable Custom CSS/LESS",
"custom-js": "Javascript مخصصة", "custom-js": "Javascript مخصصة",
"custom-js.description": "أدخل Javascript الخاص بك هنا. سيتم تنفيذها بعد تحميل الصفحة بالكامل.", "custom-js.description": "أدخل Javascript الخاص بك هنا. سيتم تنفيذها بعد تحميل الصفحة بالكامل.",
"custom-js.enable": "تفعيل Javascript المخصصة", "custom-js.enable": "تفعيل Javascript المخصصة",
"custom-header": "ترويسة مخصصة", "custom-header": "ترويسة مخصصة",
"custom-header.description": "أدخل وسوم HTML المخصصة هنا (مثل: Meta Tags, وغيرها)، والتي سيتم تضمينها لجزئية <code>&lt;head&gt;</code> من ترميز المنتدى. يُسمح بعلامات البرمجة النصية، ولكن لا يُنصح بها ، نظرًا لأن علامة التبويب <a href=\"#custom-js\" data-toggle=\"tab\"> Custom Javascript </a> متاحة.", "custom-header.description": "Enter custom HTML here (ex. Meta Tags, etc.), which will be appended to the <code>&lt;head&gt;</code> section of your forum's markup. Script tags are allowed, but are discouraged, as the <a href=\"#custom-js\" data-toggle=\"tab\">Custom Javascript</a> tab is available.",
"custom-header.enable": "تفعيل الترويسة المخصصة", "custom-header.enable": "تفعيل الترويسة المخصصة",
"custom-css.livereload": "تفعيل إعادة التحميل المباشرة", "custom-css.livereload": "تفعيل إعادة التحميل المباشرة",

View File

@@ -7,5 +7,5 @@
"revert-confirm": "هل أنت متأكد من أنك ترغب في استعادة قااب NodeBB الافتراضي؟", "revert-confirm": "هل أنت متأكد من أنك ترغب في استعادة قااب NodeBB الافتراضي؟",
"theme-changed": "تم تغيير القالب", "theme-changed": "تم تغيير القالب",
"revert-success": "لقد قمت بنجاح بإستعادة القالب الأساسي لـNodeBB", "revert-success": "لقد قمت بنجاح بإستعادة القالب الأساسي لـNodeBB",
"restart-to-activate": "يرجى إعادة بناء وإعادة تشغيل NodeBB لتنشيط هذا الثيم." "restart-to-activate": "Please rebuild and restart your NodeBB to fully activate this theme."
} }

View File

@@ -1,9 +1,9 @@
{ {
"forum-traffic": "حركة المنتدى", "forum-traffic": "Forum Traffic",
"page-views": "مشاهدات الصفحات", "page-views": "مشاهدات الصفحات",
"unique-visitors": "زائرين فريدين", "unique-visitors": "زائرين فريدين",
"logins": "عمليات تسجيل الدخول", "logins": "Logins",
"new-users": "مستخدم جديد", "new-users": "New Users",
"posts": "مشاركات", "posts": "مشاركات",
"topics": "مواضيع", "topics": "مواضيع",
"page-views-seven": "آخر 7 ايام", "page-views-seven": "آخر 7 ايام",
@@ -15,24 +15,24 @@
"page-views-custom-help": "أدخل نطاقا زمنيا لمرات مشاهدة الصفحات التي ترغب في عرضها. إذا لم يظهر منتقي التاريخ، فإن التنسيق المقبول هو <code>YYYY-MM-DD</code>", "page-views-custom-help": "أدخل نطاقا زمنيا لمرات مشاهدة الصفحات التي ترغب في عرضها. إذا لم يظهر منتقي التاريخ، فإن التنسيق المقبول هو <code>YYYY-MM-DD</code>",
"page-views-custom-error": "الرجاء إدخال نطاق تاريخ صالح بالتنسيق <code>YYYY-MM-DD</code>", "page-views-custom-error": "الرجاء إدخال نطاق تاريخ صالح بالتنسيق <code>YYYY-MM-DD</code>",
"stats.yesterday": "الأمس", "stats.yesterday": "Yesterday",
"stats.today": "اليوم", "stats.today": "Today",
"stats.last-week": "الاسبوع الماضي", "stats.last-week": "Last Week",
"stats.this-week": "هذا الاسبوع", "stats.this-week": "This Week",
"stats.last-month": "الشهر الماضي", "stats.last-month": "Last Month",
"stats.this-month": "هذا الشهر", "stats.this-month": "This Month",
"stats.all": "كل الوقت", "stats.all": "كل الوقت",
"updates": "تحديثات", "updates": "تحديثات",
"running-version": "المنتدى يعمل حاليا على <strong>NodeBB الإصدار<span id=\"version\">%1</span></strong>.", "running-version": "المنتدى يعمل حاليا على <strong>NodeBB الإصدار<span id=\"version\">%1</span></strong>.",
"keep-updated": "تأكد دائما من أن NodeBB يعمل على احدث إصدار للحصول على أحدث التصحيحات الأمنية وإصلاحات الأخطاء.", "keep-updated": "تأكد دائما من أن NodeBB يعمل على احدث إصدار للحصول على أحدث التصحيحات الأمنية وإصلاحات الأخطاء.",
"up-to-date": "<p>المنتدى <strong>يعمل على أحدث إصدار</strong> <i class=\"fa fa-check\"></i></p>", "up-to-date": "<p>المنتدى <strong>يعمل على أحدث إصدار</strong> <i class=\"fa fa-check\"></i></p>",
"upgrade-available": "<p> هناك إصدار جديد برقم (v%1). خذ بعين الاعتبار <a href=\"https://docs.nodebb.org/configuring/upgrade/\" target=\"_blank\"> ترقية NodeBB </a>.</p>", "upgrade-available": "<p>A new version (v%1) has been released. Consider <a href=\"https://docs.nodebb.org/configuring/upgrade/\" target=\"_blank\">upgrading your NodeBB</a>.</p>",
"prerelease-upgrade-available": "<p>هذا إصدار منتهي من الاصدارات المسبقة من NodeBB. هناك إصدار جديد برقم (v٪ 1). ضع في اعتبارك <a href=\"https://docs.nodebb.org/configuring/upgrade/\" target=\"_blank\">ترقية NodeBB إليه</a>.</p>", "prerelease-upgrade-available": "<p>This is an outdated pre-release version of NodeBB. A new version (v%1) has been released. Consider <a href=\"https://docs.nodebb.org/configuring/upgrade/\" target=\"_blank\">upgrading your NodeBB</a>.</p>",
"prerelease-warning": "<p>هذه نسخة <strong>ماقبل الإصدار</strong> من NodeBB. قد تحدث أخطاء غير مقصودة. <i class=\"fa fa-exclamation-triangle\"></i></p>", "prerelease-warning": "<p>هذه نسخة <strong>ماقبل الإصدار</strong> من NodeBB. قد تحدث أخطاء غير مقصودة. <i class=\"fa fa-exclamation-triangle\"></i></p>",
"fallback-emailer-not-found": "مرسل البريد الإلكتروني الاحتياطي غير موجود!", "fallback-emailer-not-found": "Fallback emailer not found!",
"running-in-development": "المنتدى قيد التشغيل في وضع \"المطورين\". وقد تكون هناك ثغرات أمنية مفتوحة؛ من فضلك تواصل مع مسؤول نظامك.", "running-in-development": "المنتدى قيد التشغيل في وضع \"المطورين\". وقد تكون هناك ثغرات أمنية مفتوحة؛ من فضلك تواصل مع مسؤول نظامك.",
"latest-lookup-failed": "<p>فشل البحث عن أحدث إصدار متوفر من NodeBB</p>", "latest-lookup-failed": "<p>Failed to look up latest available version of NodeBB</p>",
"notices": "إشعارات", "notices": "إشعارات",
"restart-not-required": "إعادة التشغيل غير مطلوب", "restart-not-required": "إعادة التشغيل غير مطلوب",
@@ -42,10 +42,10 @@
"search-plugin-tooltip": "نصب إضافة البحث من صفحة الإضافات البرمجية لتنشيط وظيفة البحث", "search-plugin-tooltip": "نصب إضافة البحث من صفحة الإضافات البرمجية لتنشيط وظيفة البحث",
"control-panel": "التحكم بالنظام", "control-panel": "التحكم بالنظام",
"rebuild-and-restart": "أعد البناء &amp; وأعد التشغيل", "rebuild-and-restart": "Rebuild &amp; Restart",
"restart": "أعد التشغيل", "restart": "Restart",
"restart-warning": "ستؤدي إعادة بناء أو إعادة تشغيل NodeBB إلى إنقطاع الاتصال بالمنتدى لبضع ثوان.", "restart-warning": "Rebuilding or Restarting your NodeBB will drop all existing connections for a few seconds.",
"restart-disabled": "تم تعطيل إعادة بناء NodeBB وإعادة تشغيله حيث لا يبدو أنك تقوم بتشغيله عبر البرنامج الخفي المناسب.", "restart-disabled": "Rebuilding and Restarting your NodeBB has been disabled as you do not seem to be running it via the appropriate daemon.",
"maintenance-mode": "وضع الصيانة", "maintenance-mode": "وضع الصيانة",
"maintenance-mode-title": "انقر هنا لإعداد وضع الصيانة لـNodeBB", "maintenance-mode-title": "انقر هنا لإعداد وضع الصيانة لـNodeBB",
"realtime-chart-updates": "التحديث الفوري للرسم البياني", "realtime-chart-updates": "التحديث الفوري للرسم البياني",
@@ -54,10 +54,10 @@
"active-users.users": "الأعضاء", "active-users.users": "الأعضاء",
"active-users.guests": "الزوار", "active-users.guests": "الزوار",
"active-users.total": "المجموع", "active-users.total": "المجموع",
"active-users.connections": "روابط الاتصال", "active-users.connections": "Connections",
"guest-registered-users": "الزائر مقابل المستخدمين المسجلين", "anonymous-registered-users": "المجهولين مقابل المستخدمين المسجلين",
"guest": "الزائر", "anonymous": "مجهول",
"registered": "مسجل", "registered": "مسجل",
"user-presence": "تواجد المستخدمين", "user-presence": "تواجد المستخدمين",
@@ -68,26 +68,21 @@
"unread": "غير مقروء", "unread": "غير مقروء",
"high-presence-topics": "مواضيع ذات حضور قوي", "high-presence-topics": "مواضيع ذات حضور قوي",
"popular-searches": "عمليات البحث الشائعة",
"graphs.page-views": "مشاهدات الصفحة", "graphs.page-views": "مشاهدات الصفحة",
"graphs.page-views-registered": "زيارات الصفحات المسجلة", "graphs.page-views-registered": "Page Views Registered",
"graphs.page-views-guest": "زيارات الصفحات للزوار", "graphs.page-views-guest": "Page Views Guest",
"graphs.page-views-bot": "زيارات الصفحات الآلية", "graphs.page-views-bot": "Page Views Bot",
"graphs.unique-visitors": "زوار فريدين", "graphs.unique-visitors": "زوار فريدين",
"graphs.registered-users": "مستخدمين مسجلين", "graphs.registered-users": "مستخدمين مسجلين",
"graphs.guest-users": "المستخدمين الزوار", "graphs.anonymous-users": "مستخدمين مجهولين",
"last-restarted-by": "آخر إعادة تشغيل بواسطة", "last-restarted-by": "Last restarted by",
"no-users-browsing": "لا يوجد مستخدمين يتصفحون", "no-users-browsing": "No users browsing",
"back-to-dashboard": "العودة للوحة التحكم", "back-to-dashboard": "Back to Dashboard",
"details.no-users": "لم ينضم أي مستخدم خلال الإطار الزمني المحدد", "details.no-users": "No users have joined within the selected timeframe",
"details.no-topics": "لم يتم نشر أي مواضيع خلال الإطار الزمني المحدد", "details.no-topics": "No topics have been posted within the selected timeframe",
"details.no-searches": "لم يتم إجراء أي بحث خلال الإطار الزمني المحدد", "details.no-logins": "No logins have been recorded within the selected timeframe",
"details.no-logins": "لم يوثق أي تسجيل دخول خلال الإطار الزمني المحدد", "details.logins-static": "NodeBB only saves session data for %1 days, and so this table below will only show the most recently active sessions",
"details.logins-static": "يقوم NodeBB بحفظ بيانات الجلسة لمدة ٪1 يوم/أيام فقط، ولذا فإن هذا الجدول أدناه سيعرض فقط أحدث الجلسات النشطة", "details.logins-login-time": "Login Time"
"details.logins-login-time": "وقت تسجيل الدخول",
"start": "بدء",
"end": "إنهاء",
"filter": "تصفية"
} }

View File

@@ -1,18 +1,14 @@
{ {
"you-are-on": "أنت في <strong> %1:%2 </strong>", "you-are-on": "You are on <strong>%1:%2</strong>",
"ip": "رقم الآي بي <strong> %1 </strong>", "ip": "IP <strong>%1</strong>",
"nodes-responded": "عدد %1 نقطة/نقاط استجابوا خلال %2 جزء من الثانية.", "nodes-responded": "%1 nodes responded within %2ms!",
"host": "المضيف", "host": "host",
"primary": "primary / run jobs", "primary": "primary / run jobs",
"pid": "pid", "pid": "pid",
"nodejs": "nodejs", "nodejs": "nodejs",
"online": "online", "online": "online",
"git": "git", "git": "git",
"process-memory": "process memory", "memory": "memory",
"system-memory": "system memory",
"used-memory-process": "Used memory by process",
"used-memory-os": "Used system memory",
"total-memory-os": "Total system memory",
"load": "system load", "load": "system load",
"cpu-usage": "cpu usage", "cpu-usage": "cpu usage",
"uptime": "uptime", "uptime": "uptime",

View File

@@ -1,12 +1,12 @@
{ {
"logger-settings": "إعدادات المسجِّل", "logger-settings": "Logger Settings",
"description": "من خلال تمكين مربعات الاختيار ، ستتلقى سجلات إلى جهازك الطرفي. إذا حددت مسارًا ، فسيتم بعد ذلك حفظ السجلات في ملف بدلاً من ذلك. يعد تسجيل HTTP مفيدًا لجمع الإحصائيات حول من ومتى وماذا يصل الأشخاص في المنتدى. بالإضافة إلى تسجيل طلبات HTTP ، يمكننا أيضًا تسجيل أحداث socket.io. يمكن أن يكون تسجيل Socket.io ، جنبًا إلى جنب مع شاشة redis-cli ، مفيدًا جدًا في تعلم العناصر الداخلية لـ NodeBB.", "description": "By enabling the check boxes, you will receive logs to your terminal. If you specify a path, logs will then be saved to a file instead. HTTP logging is useful for collecting statistics about who, when, and what people access on your forum. In addition to logging HTTP requests, we can also log socket.io events. Socket.io logging, in combination with redis-cli monitor, can be very helpful for learning NodeBB's internals.",
"explanation": "ما عليك سوى تحديدأو/ إلغاء تحديد إعدادات التسجيل لتمكين أو تعطيل التسجيل أثناء التنقل. لا حاجة لإعادة التشغيل.", "explanation": "Simply check/uncheck the logging settings to enable or disable logging on the fly. No restart needed.",
"enable-http": "تمكين سجلات HTTP", "enable-http": "Enable HTTP logging",
"enable-socket": "تفعيل تسجيل أحداث socket.io", "enable-socket": "Enable socket.io event logging",
"file-path": "مسار ملف السجل", "file-path": "Path to log file",
"file-path-placeholder": "/path/to/log/file.log ::: اتركه فارغا لاظهار السجلات لنافذة الطرفية", "file-path-placeholder": "/path/to/log/file.log ::: leave blank to log to your terminal",
"control-panel": "لوحة تحكم المسجل", "control-panel": "Logger Control Panel",
"update-settings": "تحديث إعدادات المسجل" "update-settings": "Update Logger Settings"
} }

View File

@@ -1,15 +1,17 @@
{ {
"rewards": "المكافآت", "rewards": "Rewards",
"condition-if-users": "إذا كان للمستخدم", "condition-if-users": "If User's",
"condition-is": "يكون: ", "condition-is": "Is:",
"condition-then": "عندئذ:", "condition-then": "Then:",
"max-claims": "عدد المرات التي يمكن فيها المطالبة بالمكافأة", "max-claims": "Amount of times reward is claimable",
"zero-infinite": "أدخل 0 للقيمة اللانهائية", "zero-infinite": "Enter 0 for infinite",
"delete": "احذف", "delete": "Delete",
"enable": "مكّن", "enable": "Enable",
"disable": "عطّل", "disable": "Disable",
"control-panel": "Rewards Control",
"new-reward": "New Reward",
"alert.delete-success": "المكافآت المحذوفة بنجاح", "alert.delete-success": "Successfully deleted reward",
"alert.no-inputs-found": "مكافأة غير قانونية - لم يتم العثور على مدخلات!", "alert.no-inputs-found": "Illegal reward - no inputs found!",
"alert.save-success": "المكافآت المحفوظة بنجاح" "alert.save-success": "Successfully saved rewards"
} }

View File

@@ -8,9 +8,9 @@
"containers.none": "None", "containers.none": "None",
"container.well": "Well", "container.well": "Well",
"container.jumbotron": "Jumbotron", "container.jumbotron": "Jumbotron",
"container.card": "Card", "container.panel": "Panel",
"container.card-header": "Card Header", "container.panel-header": "Panel Header",
"container.card-body": "Card Body", "container.panel-body": "Panel Body",
"container.alert": "Alert", "container.alert": "Alert",
"alert.confirm-delete": "Are you sure you wish to delete this widget?", "alert.confirm-delete": "Are you sure you wish to delete this widget?",
@@ -26,7 +26,5 @@
"container.placeholder": "Drag and drop a container or enter HTML here.", "container.placeholder": "Drag and drop a container or enter HTML here.",
"show-to-groups": "Show to groups", "show-to-groups": "Show to groups",
"hide-from-groups": "Hide from groups", "hide-from-groups": "Hide from groups",
"start-date": "Start date",
"end-date": "End date",
"hide-on-mobile": "Hide on mobile" "hide-on-mobile": "Hide on mobile"
} }

View File

@@ -0,0 +1,79 @@
{
"forum-traffic": "Forum Traffic",
"page-views": "مشاهدات الصفحات",
"unique-visitors": "زائرين فريدين",
"new-users": "New Users",
"posts": "مشاركات",
"topics": "مواضيع",
"page-views-seven": "آخر 7 ايام",
"page-views-thirty": "آخر 30 يوماً",
"page-views-last-day": "آخر 24 ساعة",
"page-views-custom": "مدة زمنية مخصصة",
"page-views-custom-start": "بداية المدة",
"page-views-custom-end": "نهاية المده",
"page-views-custom-help": "أدخل نطاقا زمنيا لمرات مشاهدة الصفحات التي ترغب في عرضها. إذا لم يظهر منتقي التاريخ، فإن التنسيق المقبول هو <code>YYYY-MM-DD</code>",
"page-views-custom-error": "الرجاء إدخال نطاق تاريخ صالح بالتنسيق <code>YYYY-MM-DD</code>",
"stats.yesterday": "Yesterday",
"stats.today": "Today",
"stats.last-week": "Last Week",
"stats.this-week": "This Week",
"stats.last-month": "Last Month",
"stats.this-month": "This Month",
"stats.all": "كل الوقت",
"updates": "تحديثات",
"running-version": "المنتدى يعمل حاليا على <strong>NodeBB الإصدار<span id=\"version\">%1</span></strong>.",
"keep-updated": "تأكد دائما من أن NodeBB يعمل على احدث إصدار للحصول على أحدث التصحيحات الأمنية وإصلاحات الأخطاء.",
"up-to-date": "<p>المنتدى <strong>يعمل على أحدث إصدار</strong> <i class=\"fa fa-check\"></i></p>",
"upgrade-available": "<p>A new version (v%1) has been released. Consider <a href=\"https://docs.nodebb.org/configuring/upgrade/\" target=\"_blank\">upgrading your NodeBB</a>.</p>",
"prerelease-upgrade-available": "<p>This is an outdated pre-release version of NodeBB. A new version (v%1) has been released. Consider <a href=\"https://docs.nodebb.org/configuring/upgrade/\" target=\"_blank\">upgrading your NodeBB</a>.</p>",
"prerelease-warning": "<p>هذه نسخة <strong>ماقبل الإصدار</strong> من NodeBB. قد تحدث أخطاء غير مقصودة. <i class=\"fa fa-exclamation-triangle\"></i></p>",
"running-in-development": "المنتدى قيد التشغيل في وضع \"المطورين\". وقد تكون هناك ثغرات أمنية مفتوحة؛ من فضلك تواصل مع مسؤول نظامك.",
"latest-lookup-failed": "<p>Failed to look up latest available version of NodeBB</p>",
"notices": "إشعارات",
"restart-not-required": "إعادة التشغيل غير مطلوب",
"restart-required": "إعادة التشغيل مطلوبة",
"search-plugin-installed": "إضافة البحث منصبة",
"search-plugin-not-installed": "إضافة البحث غير منصبة",
"search-plugin-tooltip": "نصب إضافة البحث من صفحة الإضافات البرمجية لتنشيط وظيفة البحث",
"control-panel": "التحكم بالنظام",
"rebuild-and-restart": "Rebuild &amp; Restart",
"restart": "Restart",
"restart-warning": "Rebuilding or Restarting your NodeBB will drop all existing connections for a few seconds.",
"restart-disabled": "Rebuilding and Restarting your NodeBB has been disabled as you do not seem to be running it via the appropriate daemon.",
"maintenance-mode": "وضع الصيانة",
"maintenance-mode-title": "انقر هنا لإعداد وضع الصيانة لـNodeBB",
"realtime-chart-updates": "التحديث الفوري للرسم البياني",
"active-users": "المستخدمين النشطين",
"active-users.users": "الأعضاء",
"active-users.guests": "الزوار",
"active-users.total": "المجموع",
"active-users.connections": "Connections",
"anonymous-registered-users": "المجهولين مقابل المستخدمين المسجلين",
"anonymous": "مجهول",
"registered": "مسجل",
"user-presence": "تواجد المستخدمين",
"on-categories": "في قائمة الأقسام",
"reading-posts": "قراءة المشاركات",
"browsing-topics": "تصفح المواضيع",
"recent": "الأخيرة",
"unread": "غير مقروء",
"high-presence-topics": "مواضيع ذات حضور قوي",
"graphs.page-views": "مشاهدات الصفحة",
"graphs.page-views-registered": "Page Views Registered",
"graphs.page-views-guest": "Page Views Guest",
"graphs.page-views-bot": "Page Views Bot",
"graphs.unique-visitors": "زوار فريدين",
"graphs.registered-users": "مستخدمين مسجلين",
"graphs.anonymous-users": "مستخدمين مجهولين",
"last-restarted-by": "Last restarted by",
"no-users-browsing": "No users browsing"
}

View File

@@ -0,0 +1,6 @@
{
"language-settings": "اعدادات اللغة",
"description": "تُحدد اللغة الافتراضية إعدادات اللغة لجميع المستخدمين الذين يزورون المنتدى. <br />يمكن للأعضاء تجاوز اللغة الافتراضية من خلال صفحة إعدادات الحساب الخاصة بهم.",
"default-language": "اللغة الافتراضية",
"auto-detect": "الكشف عن إعدادات اللغة للزوار بشكل آلي"
}

View File

@@ -11,8 +11,6 @@
"properties": "Properties:", "properties": "Properties:",
"groups": "Groups:", "groups": "Groups:",
"open-new-window": "Open in a new window", "open-new-window": "Open in a new window",
"dropdown": "Dropdown",
"dropdown-placeholder": "Place your dropdown menu items below, ie: <br/>&lt;li&gt;&lt;a class=&quot;dropdown-item&quot; href&#x3D;&quot;https://myforum.com&quot;&gt;Link 1&lt;/a&gt;&lt;/li&gt;",
"btn.delete": "Delete", "btn.delete": "Delete",
"btn.disable": "Disable", "btn.disable": "Disable",
@@ -22,4 +20,4 @@
"custom-route": "Custom Route", "custom-route": "Custom Route",
"core": "core", "core": "core",
"plugin": "plugin" "plugin": "plugin"
} }

View File

@@ -0,0 +1,9 @@
{
"notifications": "التنبيهات",
"chat-messages": "Chat Messages",
"play-sound": "Play",
"incoming-message": "Incoming Message",
"outgoing-message": "Outgoing Message",
"upload-new-sound": "Upload New Sound",
"saved": "Settings Saved"
}

View File

@@ -1,10 +1,8 @@
{ {
"administrators": "Administrators", "administrators": "Administrators",
"global-moderators": "Global Moderators", "global-moderators": "Global Moderators",
"moderators": "Moderators",
"no-global-moderators": "No Global Moderators", "no-global-moderators": "No Global Moderators",
"no-sub-categories": "No subcategories", "moderators-of-category": "%1 Moderators",
"subcategories": "%1 subcategories",
"no-moderators": "No Moderators", "no-moderators": "No Moderators",
"add-administrator": "Add Administrator", "add-administrator": "Add Administrator",
"add-global-moderator": "Add Global Moderator", "add-global-moderator": "Add Global Moderator",

View File

@@ -13,7 +13,6 @@
"resent-single": "Manual digest resend completed", "resent-single": "Manual digest resend completed",
"resent-day": "Daily digest resent", "resent-day": "Daily digest resent",
"resent-week": "Weekly digest resent", "resent-week": "Weekly digest resent",
"resent-biweek": "Bi-Weekly digest resent",
"resent-month": "Monthly digest resent", "resent-month": "Monthly digest resent",
"null": "<em>Never</em>", "null": "<em>Never</em>",
"manual-run": "Manual digest run:", "manual-run": "Manual digest run:",

View File

@@ -39,5 +39,6 @@
"revert": "Revert", "revert": "Revert",
"edit.no-users-found": "No Users Found", "edit.no-users-found": "No Users Found",
"edit.confirm-remove-user": "Are you sure you want to remove this user?" "edit.confirm-remove-user": "Are you sure you want to remove this user?",
"edit.save-success": "Changes saved!"
} }

View File

@@ -10,7 +10,6 @@
"upload-files": "Upload Files", "upload-files": "Upload Files",
"signature": "Signature", "signature": "Signature",
"ban": "Ban", "ban": "Ban",
"mute": "Mute",
"invite": "Invite", "invite": "Invite",
"search-content": "Search Content", "search-content": "Search Content",
"search-users": "Search Users", "search-users": "Search Users",
@@ -49,15 +48,13 @@
"alert.confirm-moderate": "<strong>Are you sure you wish to grant the moderation privilege to this user group?</strong> This group is public, and any users can join at will.", "alert.confirm-moderate": "<strong>Are you sure you wish to grant the moderation privilege to this user group?</strong> This group is public, and any users can join at will.",
"alert.confirm-admins-mods": "<strong>Are you sure you wish to grant the &quot;Admins &amp; Mods&quot; privilege to this user/group?</strong> Users with this privilege are able to promote and demote other users into privileged positions, <em>including super administrator</em>", "alert.confirm-admins-mods": "<strong>Are you sure you wish to grant the &quot;Admins &amp; Mods&quot; privilege to this user/group?</strong> Users with this privilege are able to promote and demote other users into privileged positions, <em>including super administrator</em>",
"alert.confirm-save": "Please confirm your intention to save these privileges", "alert.confirm-save": "Please confirm your intention to save these privileges",
"alert.saved": "Privilege changes saved and applied",
"alert.confirm-discard": "Are you sure you wish to discard your privilege changes?", "alert.confirm-discard": "Are you sure you wish to discard your privilege changes?",
"alert.discarded": "Privilege changes discarded", "alert.discarded": "Privilege changes discarded",
"alert.confirm-copyToAll": "Are you sure you wish to apply this set of <strong>%1</strong> to <strong>all categories</strong>?", "alert.confirm-copyToAll": "Are you sure you wish to apply this privilege set to <strong>all categories</strong>?",
"alert.confirm-copyToAllGroup": "Are you sure you wish to apply this group's set of <strong>%1</strong> to <strong>all categories</strong>?", "alert.confirm-copyToAllGroup": "Are you sure you wish to apply this group's privilege set to <strong>all categories</strong>?",
"alert.confirm-copyToChildren": "Are you sure you wish to apply this set of <strong>%1</strong> to <strong>all descendant (child) categories</strong>?", "alert.confirm-copyToChildren": "Are you sure you wish to apply this privilege set to <strong>all descendant (child) categories</strong>?",
"alert.confirm-copyToChildrenGroup": "Are you sure you wish to apply this group's set of <strong>%1</strong> to <strong>all descendant (child) categories</strong>?", "alert.confirm-copyToChildrenGroup": "Are you sure you wish to apply this group's privilege set to <strong>all descendant (child) categories</strong>?",
"alert.no-undo": "<em>This action cannot be undone.</em>", "alert.no-undo": "<em>This action cannot be undone.</em>",
"alert.admin-warning": "Administrators implicitly get all privileges", "alert.admin-warning": "Administrators implicitly get all privileges"
"alert.copyPrivilegesFrom-title": "Select a category to copy from",
"alert.copyPrivilegesFrom-warning": "This will copy <strong>%1</strong> from the selected category.",
"alert.copyPrivilegesFromGroup-warning": "This will copy this group's set of <strong>%1</strong> from the selected category."
} }

View File

@@ -1,20 +1,20 @@
{ {
"queue": "الطابور", "queue": "Queue",
"description": "There are no users in the registration queue. <br> To enable this feature, go to <a href=\"%1\">Settings &rarr; User &rarr; User Registration</a> and set <strong>Registration Type</strong> to \"Admin Approval\".", "description": "There are no users in the registration queue. <br> To enable this feature, go to <a href=\"%1\">Settings &rarr; User &rarr; User Registration</a> and set <strong>Registration Type</strong> to \"Admin Approval\".",
"list.name": "اﻹسم", "list.name": "Name",
"list.email": "البريد الإلكتروني", "list.email": "Email",
"list.ip": "IP", "list.ip": "IP",
"list.time": "التوقيت", "list.time": "Time",
"list.username-spam": "Frequency: %1 Appears: %2 Confidence: %3", "list.username-spam": "Frequency: %1 Appears: %2 Confidence: %3",
"list.email-spam": "Frequency: %1 Appears: %2", "list.email-spam": "Frequency: %1 Appears: %2",
"list.ip-spam": "Frequency: %1 Appears: %2", "list.ip-spam": "Frequency: %1 Appears: %2",
"invitations": "الدعوات", "invitations": "Invitations",
"invitations.description": "Below is a complete list of invitations sent. Use ctrl-f to search through the list by email or username. <br><br>The username will be displayed to the right of the emails for users who have redeemed their invitations.", "invitations.description": "Below is a complete list of invitations sent. Use ctrl-f to search through the list by email or username. <br><br>The username will be displayed to the right of the emails for users who have redeemed their invitations.",
"invitations.inviter-username": "أسم المستخدم الداعي", "invitations.inviter-username": "Inviter Username",
"invitations.invitee-email": "البريد اﻻلكتروني للمدعو", "invitations.invitee-email": "Invitee Email",
"invitations.invitee-username": "اسم المستخم للمدعو (اذا كان مسجل)", "invitations.invitee-username": "Invitee Username (if registered)",
"invitations.confirm-delete": "هل أنت متأكد من أنك تريد حذف هذه الدعوة؟" "invitations.confirm-delete": "Are you sure you wish to delete this invitation?"
} }

View File

@@ -5,7 +5,5 @@
"orphaned": "Orphaned", "orphaned": "Orphaned",
"size/filecount": "Size / Filecount", "size/filecount": "Size / Filecount",
"confirm-delete": "Do you really want to delete this file?", "confirm-delete": "Do you really want to delete this file?",
"filecount": "%1 files", "filecount": "%1 files"
"new-folder": "New Folder",
"name-new-folder": "Enter a name for new the folder"
} }

View File

@@ -18,8 +18,7 @@
"download-csv": "Download CSV", "download-csv": "Download CSV",
"manage-groups": "Manage Groups", "manage-groups": "Manage Groups",
"add-group": "Add Group", "add-group": "Add Group",
"create": "Create User", "invite": "Invite",
"invite": "Invite by Email",
"new": "New User", "new": "New User",
"filter-by": "Filter by", "filter-by": "Filter by",
"pills.unvalidated": "Not Validated", "pills.unvalidated": "Not Validated",
@@ -48,7 +47,6 @@
"users.uid": "uid", "users.uid": "uid",
"users.username": "username", "users.username": "username",
"users.email": "email", "users.email": "email",
"users.no-email": "(no email)",
"users.ip": "IP", "users.ip": "IP",
"users.postcount": "postcount", "users.postcount": "postcount",
"users.reputation": "reputation", "users.reputation": "reputation",
@@ -63,7 +61,7 @@
"create.password": "Password", "create.password": "Password",
"create.password-confirm": "Confirm Password", "create.password-confirm": "Confirm Password",
"temp-ban.length": "Length", "temp-ban.length": "Ban Length",
"temp-ban.reason": "Reason <span class=\"text-muted\">(Optional)</span>", "temp-ban.reason": "Reason <span class=\"text-muted\">(Optional)</span>",
"temp-ban.hours": "Hours", "temp-ban.hours": "Hours",
"temp-ban.days": "Days", "temp-ban.days": "Days",
@@ -91,7 +89,6 @@
"alerts.validate-email-success": "Emails validated", "alerts.validate-email-success": "Emails validated",
"alerts.validate-force-password-reset-success": "User(s) passwords have been reset and their existing sessions have been revoked.", "alerts.validate-force-password-reset-success": "User(s) passwords have been reset and their existing sessions have been revoked.",
"alerts.password-reset-confirm": "Do you want to send password reset email(s) to these user(s)?", "alerts.password-reset-confirm": "Do you want to send password reset email(s) to these user(s)?",
"alerts.password-reset-email-sent": "Password reset email sent.",
"alerts.confirm-delete": "<strong>Warning!</strong><p>Do you really want to delete <strong>user(s)</strong>?</p><p>This action is not reversible! Only the user account will be deleted, their posts and topics will remain.</p>", "alerts.confirm-delete": "<strong>Warning!</strong><p>Do you really want to delete <strong>user(s)</strong>?</p><p>This action is not reversible! Only the user account will be deleted, their posts and topics will remain.</p>",
"alerts.delete-success": "User(s) Deleted!", "alerts.delete-success": "User(s) Deleted!",
"alerts.confirm-delete-content": "<strong>Warning!</strong><p>Do you really want to delete these user(s) <strong>content</strong>?</p><p>This action is not reversible! The users' accounts will remain, but their posts and topics will be deleted.</p>", "alerts.confirm-delete-content": "<strong>Warning!</strong><p>Do you really want to delete these user(s) <strong>content</strong>?</p><p>This action is not reversible! The users' accounts will remain, but their posts and topics will be deleted.</p>",

View File

@@ -4,7 +4,6 @@
"dashboard/logins": "Logins", "dashboard/logins": "Logins",
"dashboard/users": "Users", "dashboard/users": "Users",
"dashboard/topics": "Topics", "dashboard/topics": "Topics",
"dashboard/searches": "Searches",
"section-general": "عام", "section-general": "عام",
"section-manage": "إدارة", "section-manage": "إدارة",
@@ -76,7 +75,7 @@
"logout": "Log out", "logout": "Log out",
"view-forum": "View Forum", "view-forum": "View Forum",
"search.placeholder": "Search settings", "search.placeholder": "Press &quot;/&quot; to search for settings",
"search.no-results": "No results...", "search.no-results": "No results...",
"search.search-forum": "Search the forum for <strong></strong>", "search.search-forum": "Search the forum for <strong></strong>",
"search.keep-typing": "Type more to see results...", "search.keep-typing": "Type more to see results...",

View File

@@ -3,7 +3,6 @@
"maintenance-mode.help": "When the forum is in maintenance mode, all requests will be redirected to a static holding page. Administrators are exempt from this redirection, and are able to access the site normally.", "maintenance-mode.help": "When the forum is in maintenance mode, all requests will be redirected to a static holding page. Administrators are exempt from this redirection, and are able to access the site normally.",
"maintenance-mode.status": "Maintenance Mode Status Code", "maintenance-mode.status": "Maintenance Mode Status Code",
"maintenance-mode.message": "Maintenance Message", "maintenance-mode.message": "Maintenance Message",
"maintenance-mode.groups-exempt-from-maintenance-mode": "Select groups that should be exempt from maintenance mode",
"headers": "Headers", "headers": "Headers",
"headers.allow-from": "Set ALLOW-FROM to Place NodeBB in an iFrame", "headers.allow-from": "Set ALLOW-FROM to Place NodeBB in an iFrame",
"headers.csp-frame-ancestors": "Set Content-Security-Policy frame-ancestors header to Place NodeBB in an iFrame", "headers.csp-frame-ancestors": "Set Content-Security-Policy frame-ancestors header to Place NodeBB in an iFrame",
@@ -16,12 +15,6 @@
"headers.acac": "Access-Control-Allow-Credentials", "headers.acac": "Access-Control-Allow-Credentials",
"headers.acam": "Access-Control-Allow-Methods", "headers.acam": "Access-Control-Allow-Methods",
"headers.acah": "Access-Control-Allow-Headers", "headers.acah": "Access-Control-Allow-Headers",
"headers.coep": "Cross-Origin-Embedder-Policy",
"headers.coep-help": "When enabled (default), will set the header to <code>require-corp</code>",
"headers.coop": "Cross-Origin-Opener-Policy",
"headers.corp": "Cross-Origin-Resource-Policy",
"headers.permissions-policy": "Permissions-Policy",
"headers.permissions-policy-help": "Allows setting permissions policy header, for example \"geolocation=*, camera=()\", see <a href=\"https://github.com/w3c/webappsec-permissions-policy/blob/main/permissions-policy-explainer.md\">this</a> for more info.",
"hsts": "Strict Transport Security", "hsts": "Strict Transport Security",
"hsts.enabled": "Enabled HSTS (recommended)", "hsts.enabled": "Enabled HSTS (recommended)",
"hsts.maxAge": "HSTS Max Age", "hsts.maxAge": "HSTS Max Age",

View File

@@ -11,9 +11,6 @@
"uid": "User ID", "uid": "User ID",
"uid-help-text": "Specify a User ID to associate with this token. If the user ID is <code>0</code>, it will be considered a <em>master</em> token, which can assume the identity of other users based on the <code>_uid</code> parameter", "uid-help-text": "Specify a User ID to associate with this token. If the user ID is <code>0</code>, it will be considered a <em>master</em> token, which can assume the identity of other users based on the <code>_uid</code> parameter",
"description": "Description", "description": "Description",
"last-seen-ago": "Last used <span class=\"timeago\" title=\"%1\"></span>.",
"last-seen-on": "Last used on <span class=\"timeago\" title=\"%1\"></span>.",
"last-seen-never": "This key has never been used.",
"no-description": "No description specified.", "no-description": "No description specified.",
"token-on-save": "Token will be generated once form is saved" "token-on-save": "Token will be generated once form is saved"
} }

View File

@@ -5,18 +5,14 @@
"from": "From Name", "from": "From Name",
"from-help": "The from name to display in the email.", "from-help": "The from name to display in the email.",
"confirmation-settings": "Confirmation",
"confirmation.expiry": "Hours to keep email confirmation link valid",
"smtp-transport": "SMTP Transport", "smtp-transport": "SMTP Transport",
"smtp-transport.enabled": "Enable SMTP Transport", "smtp-transport.enabled": "Use an external email server to send emails",
"smtp-transport-help": "You can select from a list of well-known services or enter a custom one.", "smtp-transport-help": "You can select from a list of well-known services or enter a custom one.",
"smtp-transport.service": "Select a service", "smtp-transport.service": "Select a service",
"smtp-transport.service-custom": "Custom Service", "smtp-transport.service-custom": "Custom Service",
"smtp-transport.service-help": "Select a service name above in order to use the known information about it. Alternatively, select &quot;Custom Service&quot; and enter the details below.", "smtp-transport.service-help": "Select a service name above in order to use the known information about it. Alternatively, select 'Custom Service' and enter the details below.",
"smtp-transport.gmail-warning1": "If you are using GMail as your email provider, you will have to generate an &quot;App Password&quot; in order for NodeBB to authenticate successfully. You can generate one at the <a href=\"https://myaccount.google.com/apppasswords\">App Passwords <i class=\"fa fa-external-link\"></i></a> page.", "smtp-transport.gmail-warning1": "There have been reports of the Gmail service not working on accounts with heightened security. In those scenarios, you will have to <a href=\"https://www.google.com/settings/security/lesssecureapps\">configure your GMail account to allow less secure apps</a>.",
"smtp-transport.gmail-warning2": "For more information about this workaround, <a href=\"https://nodemailer.com/usage/using-gmail/\">please consult this NodeMailer article <i class=\"fa fa-external-link\"></i></a> on the issue. An alternative would be to utilise a third-party emailer plugin such as SendGrid, Mailgun, etc. <a href=\"../extend/plugins\">Browse available plugins here</a>.", "smtp-transport.gmail-warning2": "For more information about this workaround, <a href=\"https://nodemailer.com/usage/using-gmail/\">please consult this NodeMailer article on the issue.</a> An alternative would be to utilise a third-party emailer plugin such as SendGrid, Mailgun, etc. <a href=\"../extend/plugins\">Browse available plugins here</a>.",
"smtp-transport.auto-enable-toast": "It looks like you&apos;re configuring an SMTP transport. We enabled the \"SMTP Transport\" option for you.",
"smtp-transport.host": "SMTP Host", "smtp-transport.host": "SMTP Host",
"smtp-transport.port": "SMTP Port", "smtp-transport.port": "SMTP Port",
"smtp-transport.security": "Connection security", "smtp-transport.security": "Connection security",
@@ -40,13 +36,6 @@
"subscriptions.disable": "Disable email digests", "subscriptions.disable": "Disable email digests",
"subscriptions.hour": "Digest Hour", "subscriptions.hour": "Digest Hour",
"subscriptions.hour-help": "Please enter a number representing the hour to send scheduled email digests (e.g. <code>0</code> for midnight, <code>17</code> for 5:00pm). Keep in mind that this is the hour according to the server itself, and may not exactly match your system clock.<br /> The approximate server time is: <span id=\"serverTime\"></span><br /> The next daily digest is scheduled to be sent <span id=\"nextDigestTime\"></span>", "subscriptions.hour-help": "Please enter a number representing the hour to send scheduled email digests (e.g. <code>0</code> for midnight, <code>17</code> for 5:00pm). Keep in mind that this is the hour according to the server itself, and may not exactly match your system clock.<br /> The approximate server time is: <span id=\"serverTime\"></span><br /> The next daily digest is scheduled to be sent <span id=\"nextDigestTime\"></span>",
"notifications.remove-images": "Remove images from email notifications", "notifications.settings": "Email notification settings",
"require-email-address": "Require new users to specify an email address", "notifications.remove-images": "Remove images from email notifications"
"require-email-address-warning": "By default, users can opt-out of entering an email address by leaving the field blank. Enabling this option means new users will have to enter <strong>and confirm</strong> an email address in order to proceed with registration and subsequent access to the forum. <strong>It does not ensure user will enter a real email address, nor even an address they own.</strong>", }
"send-validation-email": "Send validation emails when an email is added or changed",
"include-unverified-emails": "Send emails to recipients who have not explicitly confirmed their emails",
"include-unverified-warning": "By default, users with emails associated with their account have already been verified, but there are situations where this is not the case (e.g. SSO logins, grandfathered users, etc). <strong>Enable this setting at your own risk</strong> &ndash; sending emails to unverified addresses may be a violation of regional anti-spam laws.",
"prompt": "Prompt users to enter or confirm their emails",
"prompt-help": "If a user does not have an email set, or their email is not confirmed, a warning will be shown on screen.",
"sendEmailToBanned": "Send emails to users even if they have been banned"
}

View File

@@ -3,9 +3,9 @@
"title": "عنوان الموقع", "title": "عنوان الموقع",
"title.short": "عنوان قصير", "title.short": "عنوان قصير",
"title.short-placeholder": "ان لم تقم بكتابة عنوان مختصر, سيتم استخدام عنوان الموقع الكلي", "title.short-placeholder": "ان لم تقم بكتابة عنوان مختصر, سيتم استخدام عنوان الموقع الكلي",
"title.url": "Title Link URL", "title.url": "الرابط",
"title.url-placeholder": "The URL of the site title", "title.url-placeholder": "The URL of the site title",
"title.url-help": "When the title is clicked, send users to this address. If left blank, user will be sent to the forum index. <br> Note: This is not the external URL used in emails, etc. That is set by the <code>url</code> property in config.json", "title.url-help": "When the title is clicked, send users to this address. If left blank, user will be sent to the forum index.",
"title.name": "اسم المنتدي", "title.name": "اسم المنتدي",
"title.show-in-header": "Show Site Title in Header", "title.show-in-header": "Show Site Title in Header",
"browser-title": "عنوان المتصفح", "browser-title": "عنوان المتصفح",
@@ -20,9 +20,9 @@
"logo.image": "صورة", "logo.image": "صورة",
"logo.image-placeholder": "Path to a logo to display on forum header", "logo.image-placeholder": "Path to a logo to display on forum header",
"logo.upload": "رفع", "logo.upload": "رفع",
"logo.url": "Logo Link URL", "logo.url": "الرابط",
"logo.url-placeholder": "The URL of the site logo", "logo.url-placeholder": "The URL of the site logo",
"logo.url-help": "When the logo is clicked, send users to this address. If left blank, user will be sent to the forum index. <br> Note: This is not the external URL used in emails, etc. That is set by the <code>url</code> property in config.json", "logo.url-help": "When the logo is clicked, send users to this address. If left blank, user will be sent to the forum index.",
"logo.alt-text": "نص بديل", "logo.alt-text": "نص بديل",
"log.alt-text-placeholder": "Alternative text for accessibility", "log.alt-text-placeholder": "Alternative text for accessibility",
"favicon": "صورة المفضله", "favicon": "صورة المفضله",
@@ -35,10 +35,7 @@
"maskable-icon.help": "Recommended size and format: 512x512, PNG format only. If no maskable icon is specified, NodeBB will fall back to the Touch Icon.", "maskable-icon.help": "Recommended size and format: 512x512, PNG format only. If no maskable icon is specified, NodeBB will fall back to the Touch Icon.",
"outgoing-links": "Outgoing Links", "outgoing-links": "Outgoing Links",
"outgoing-links.warning-page": "Use Outgoing Links Warning Page", "outgoing-links.warning-page": "Use Outgoing Links Warning Page",
"search": "Search", "search-default-sort-by": "الترتيب الافتراضي للبحث",
"search-default-in": "Search In",
"search-default-in-quick": "Quick Search In",
"search-default-sort-by": "Sort by",
"outgoing-links.whitelist": "Domains to whitelist for bypassing the warning page", "outgoing-links.whitelist": "Domains to whitelist for bypassing the warning page",
"site-colors": "Site Color Metadata", "site-colors": "Site Color Metadata",
"theme-color": "لون الثيم", "theme-color": "لون الثيم",
@@ -47,4 +44,4 @@
"undo-timeout": "Undo Timeout", "undo-timeout": "Undo Timeout",
"undo-timeout-help": "Some operations such as moving topics will allow for the moderator to undo their action within a certain timeframe. Set to 0 to disable undo completely.", "undo-timeout-help": "Some operations such as moving topics will allow for the moderator to undo their action within a certain timeframe. Set to 0 to disable undo completely.",
"topic-tools": "Topic Tools" "topic-tools": "Topic Tools"
} }

View File

@@ -11,8 +11,6 @@
"properties": "Properties:", "properties": "Properties:",
"groups": "Groups:", "groups": "Groups:",
"open-new-window": "Open in a new window", "open-new-window": "Open in a new window",
"dropdown": "Dropdown",
"dropdown-placeholder": "Place your dropdown menu items below, ie: <br/>&lt;li&gt;&lt;a class=&quot;dropdown-item&quot; href&#x3D;&quot;https://myforum.com&quot;&gt;Link 1&lt;/a&gt;&lt;/li&gt;",
"btn.delete": "Delete", "btn.delete": "Delete",
"btn.disable": "Disable", "btn.disable": "Disable",
@@ -22,4 +20,4 @@
"custom-route": "Custom Route", "custom-route": "Custom Route",
"core": "core", "core": "core",
"plugin": "plugin" "plugin": "plugin"
} }

View File

@@ -2,6 +2,5 @@
"notifications": "Notifications", "notifications": "Notifications",
"welcome-notification": "Welcome Notification", "welcome-notification": "Welcome Notification",
"welcome-notification-link": "Welcome Notification Link", "welcome-notification-link": "Welcome Notification Link",
"welcome-notification-uid": "Welcome Notification User (UID)", "welcome-notification-uid": "Welcome Notification User (UID)"
"post-queue-notification-uid": "Post Queue User (UID)"
} }

View File

@@ -40,7 +40,6 @@
"teaser.last-post": "Last &ndash; Show the latest post, including the original post, if no replies", "teaser.last-post": "Last &ndash; Show the latest post, including the original post, if no replies",
"teaser.last-reply": "Last &ndash; Show the latest reply, or a \"No replies\" placeholder if no replies", "teaser.last-reply": "Last &ndash; Show the latest reply, or a \"No replies\" placeholder if no replies",
"teaser.first": "First", "teaser.first": "First",
"showPostPreviewsOnHover": "Show a preview of posts when mouse overed",
"unread": "Unread Settings", "unread": "Unread Settings",
"unread.cutoff": "Unread cutoff days", "unread.cutoff": "Unread cutoff days",
"unread.min-track-last": "Minimum posts in topic before tracking last read", "unread.min-track-last": "Minimum posts in topic before tracking last read",
@@ -51,16 +50,12 @@
"signature.disable": "Disable signatures", "signature.disable": "Disable signatures",
"signature.no-links": "Disable links in signatures", "signature.no-links": "Disable links in signatures",
"signature.no-images": "Disable images in signatures", "signature.no-images": "Disable images in signatures",
"signature.hide-duplicates": "Hide duplicate signatures in topics",
"signature.max-length": "Maximum Signature Length", "signature.max-length": "Maximum Signature Length",
"composer": "Composer Settings", "composer": "Composer Settings",
"composer-help": "The following settings govern the functionality and/or appearance of the post composer shown\n\t\t\t\tto users when they create new topics, or reply to existing topics.", "composer-help": "The following settings govern the functionality and/or appearance of the post composer shown\n\t\t\t\tto users when they create new topics, or reply to existing topics.",
"composer.show-help": "Show \"Help\" tab", "composer.show-help": "Show \"Help\" tab",
"composer.enable-plugin-help": "Allow plugins to add content to the help tab", "composer.enable-plugin-help": "Allow plugins to add content to the help tab",
"composer.custom-help": "Custom Help Text", "composer.custom-help": "Custom Help Text",
"backlinks": "Backlinks",
"backlinks.enabled": "Enable topic backlinks",
"backlinks.help": "If a post references another topic, a link back to the post will be inserted into the referenced topic at that point in time.",
"ip-tracking": "IP Tracking", "ip-tracking": "IP Tracking",
"ip-tracking.each-post": "Track IP Address for each post", "ip-tracking.each-post": "Track IP Address for each post",
"enable-post-history": "Enable Post History" "enable-post-history": "Enable Post History"

View File

@@ -4,13 +4,9 @@
"disable-down-voting": "Disable Down Voting", "disable-down-voting": "Disable Down Voting",
"votes-are-public": "All Votes Are Public", "votes-are-public": "All Votes Are Public",
"thresholds": "Activity Thresholds", "thresholds": "Activity Thresholds",
"min-rep-upvote": "Minimum reputation to upvote posts",
"upvotes-per-day": "Upvotes per day (set to 0 for unlimited upvotes)",
"upvotes-per-user-per-day": "Upvotes per user per day (set to 0 for unlimited upvotes)",
"min-rep-downvote": "Minimum reputation to downvote posts", "min-rep-downvote": "Minimum reputation to downvote posts",
"downvotes-per-day": "Downvotes per day (set to 0 for unlimited downvotes)", "downvotes-per-day": "Downvotes per day (set to 0 for unlimited downvotes)",
"downvotes-per-user-per-day": "Downvotes per user per day (set to 0 for unlimited downvotes)", "downvotes-per-user-per-day": "Downvotes per user per day (set to 0 for unlimited downvotes)",
"min-rep-chat": "Minimum reputation to send chat messages",
"min-rep-flag": "Minimum reputation to flag posts", "min-rep-flag": "Minimum reputation to flag posts",
"min-rep-website": "Minimum reputation to add \"Website\" to user profile", "min-rep-website": "Minimum reputation to add \"Website\" to user profile",
"min-rep-aboutme": "Minimum reputation to add \"About me\" to user profile", "min-rep-aboutme": "Minimum reputation to add \"About me\" to user profile",
@@ -22,10 +18,5 @@
"flags.limit-per-target": "Maximum number of times something can be flagged", "flags.limit-per-target": "Maximum number of times something can be flagged",
"flags.limit-per-target-placeholder": "Default: 0", "flags.limit-per-target-placeholder": "Default: 0",
"flags.limit-per-target-help": "When a post or user is flagged multiple times, each additional flag is considered a &quot;report&quot; and added to the original flag. Set this option to a number other than zero to limit the number of reports an item can receive.", "flags.limit-per-target-help": "When a post or user is flagged multiple times, each additional flag is considered a &quot;report&quot; and added to the original flag. Set this option to a number other than zero to limit the number of reports an item can receive.",
"flags.auto-flag-on-downvote-threshold": "Number of downvotes to auto flag posts (Set to 0 to disable, default: 0)", "flags.auto-resolve-on-ban": "Automatically resolve all of a user's tickets when they are banned"
"flags.auto-resolve-on-ban": "Automatically resolve all of a user's tickets when they are banned",
"flags.action-on-resolve": "Do the following when a flag is resolved",
"flags.action-on-reject": "Do the following when a flag is rejected",
"flags.action.nothing": "Do nothing",
"flags.action.rescind": "Rescind the notification send to moderators/administrators"
} }

View File

@@ -1,11 +1,8 @@
{ {
"posts": "المشاركات", "posts": "المشاركات",
"orphans": "Orphaned Files", "allow-files": "السماح للأعضاء بتحميل الملفات الإعتيادية",
"private": "جعل الملفات التي تم رفعها خاصة", "private": "جعل الملفات التي تم رفعها خاصة",
"strip-exif-data": "Strip EXIF Data", "strip-exif-data": "Strip EXIF Data",
"preserve-orphaned-uploads": "Keep uploaded files on disk after a post is purged",
"orphanExpiryDays": "Days to keep orphaned files",
"orphanExpiryDays-help": "After this many days, orphaned uploads will be deleted from the file system.<br />Set 0 or leave blank to disable.",
"private-extensions": "File extensions to make private", "private-extensions": "File extensions to make private",
"private-uploads-extensions-help": "Enter comma-separated list of file extensions to make private here (e.g. <code>pdf,xls,doc</code>). An empty list means all files are private.", "private-uploads-extensions-help": "Enter comma-separated list of file extensions to make private here (e.g. <code>pdf,xls,doc</code>). An empty list means all files are private.",
"resize-image-width-threshold": "Resize images if they are wider than specified width", "resize-image-width-threshold": "Resize images if they are wider than specified width",

View File

@@ -1,10 +1,12 @@
{ {
"authentication": "المصادقة", "authentication": "المصادقة",
"require-email-confirmation": "يطلب تأكيد البريد الإلكتروني",
"email-confirm-interval": "لا يمكن للمستخدم إعادة إرسال رسالة تأكيد البريد الالكتروني حتى مرور", "email-confirm-interval": "لا يمكن للمستخدم إعادة إرسال رسالة تأكيد البريد الالكتروني حتى مرور",
"email-confirm-interval2": "minutes have elapsed", "email-confirm-email2": "دقائق",
"allow-login-with": "السماح بتسجيل الدخول باستخدام", "allow-login-with": "السماح بتسجيل الدخول باستخدام",
"allow-login-with.username-email": "اسم المستخدم أو البريد الالكتروني", "allow-login-with.username-email": "اسم المستخدم أو البريد الالكتروني",
"allow-login-with.username": "اسم المستخدم فقط", "allow-login-with.username": "اسم المستخدم فقط",
"allow-login-with.email": "البريد الالكتروني فقط",
"account-settings": "إعدادت الحساب", "account-settings": "إعدادت الحساب",
"gdpr_enabled": "Enable GDPR consent collection", "gdpr_enabled": "Enable GDPR consent collection",
"gdpr_enabled_help": "When enabled, all new registrants will be required to explicitly give consent for data collection and usage under the <a href=\"https://ec.europa.eu/info/priorities/justice-and-fundamental-rights/data-protection/2018-reform-eu-data-protection-rules/eu-data-protection-rules_en\">General Data Protection Regulation (GDPR)</a>. <strong>Note</strong>: Enabling GDPR does not force pre-existing users to provide consent. To do so, you will need to install the GDPR plugin.", "gdpr_enabled_help": "When enabled, all new registrants will be required to explicitly give consent for data collection and usage under the <a href=\"https://ec.europa.eu/info/priorities/justice-and-fundamental-rights/data-protection/2018-reform-eu-data-protection-rules/eu-data-protection-rules_en\">General Data Protection Regulation (GDPR)</a>. <strong>Note</strong>: Enabling GDPR does not force pre-existing users to provide consent. To do so, you will need to install the GDPR plugin.",
@@ -29,8 +31,6 @@
"session-time-days": "Days", "session-time-days": "Days",
"session-time-seconds": "Seconds", "session-time-seconds": "Seconds",
"session-time-help": "These values are used to govern how long a user stays logged in when they check &quot;Remember Me&quot; on login. Note that only one of these values will be used. If there is no <i>seconds</i> value we fall back to <i>days</i>. If there is no <i>days</i> value we default to <i>14 days</i>.", "session-time-help": "These values are used to govern how long a user stays logged in when they check &quot;Remember Me&quot; on login. Note that only one of these values will be used. If there is no <i>seconds</i> value we fall back to <i>days</i>. If there is no <i>days</i> value we default to <i>14 days</i>.",
"session-duration": "Session length if \"Remember Me\" is not checked (seconds)",
"session-duration-help": "By default — or if set to <code>0</code> — a user will stay logged in for the duration of the session (e.g. however long the browser window/tab remains open). Set this value to explicitly invalidate the session after the specified number of seconds.",
"online-cutoff": "Minutes after user is considered inactive", "online-cutoff": "Minutes after user is considered inactive",
"online-cutoff-help": "If user performs no actions for this duration, they are considered inactive and they do not receive realtime updates.", "online-cutoff-help": "If user performs no actions for this duration, they are considered inactive and they do not receive realtime updates.",
"registration": "تسجيل المستخدم", "registration": "تسجيل المستخدم",
@@ -71,7 +71,6 @@
"digest-freq.off": "Off", "digest-freq.off": "Off",
"digest-freq.daily": "Daily", "digest-freq.daily": "Daily",
"digest-freq.weekly": "Weekly", "digest-freq.weekly": "Weekly",
"digest-freq.biweekly": "Bi-Weekly",
"digest-freq.monthly": "Monthly", "digest-freq.monthly": "Monthly",
"email-chat-notifs": "Send an email if a new chat message arrives and I am not online", "email-chat-notifs": "Send an email if a new chat message arrives and I am not online",
"email-post-notif": "Send an email when replies are made to topics I am subscribed to", "email-post-notif": "Send an email when replies are made to topics I am subscribed to",

View File

@@ -6,9 +6,7 @@
"greeting_no_name": "مرحبًا", "greeting_no_name": "مرحبًا",
"greeting_with_name": "مرحبًا بك يا %1", "greeting_with_name": "مرحبًا بك يا %1",
"email.verify-your-email.subject": "Please verify your email", "email.verify-your-email.subject": "Please verify your email",
"email.verify.text1": "You've requested that we change or confirm your email address", "email.verify.text1": "Your email address has changed!",
"email.verify.text2": "For security purposes, we only change or confirm the email address on file once its ownership has been confirmed via email. <strong>If you did not request this, no action is required on your part.</strong>",
"email.verify.text3": "Once you confirm this email address, we will replace your current email address with this one (%1).",
"welcome.text1": "شكرًا على تسجيلك في %1!", "welcome.text1": "شكرًا على تسجيلك في %1!",
"welcome.text2": "لتفعيل حسابك، نحتاج إلى التأكد من صحة عنوان البريد الإلكتروني الذي سجلت به.", "welcome.text2": "لتفعيل حسابك، نحتاج إلى التأكد من صحة عنوان البريد الإلكتروني الذي سجلت به.",
"welcome.text3": "تم قبول نتسجيلك ، يمكنك الدخول باتسخدام اسم المستخدم و كلمة المرور.", "welcome.text3": "تم قبول نتسجيلك ، يمكنك الدخول باتسخدام اسم المستخدم و كلمة المرور.",
@@ -48,8 +46,6 @@
"unsub.cta": "انقر هنا لتغيير تلك الإعدادات", "unsub.cta": "انقر هنا لتغيير تلك الإعدادات",
"unsubscribe": "unsubscribe", "unsubscribe": "unsubscribe",
"unsub.success": "You will no longer receive emails from the <strong>%1</strong> mailing list", "unsub.success": "You will no longer receive emails from the <strong>%1</strong> mailing list",
"unsub.failure.title": "Unable to unsubscribe",
"unsub.failure.message": "Unfortunately, we were not able to unsubscribe you from the mailing list, as there was an issue with the link. However, you can alter your email preferences by going to <a href=\"%2\">your user settings</a>.<br /><br />(error: <code>%1</code>)",
"banned.subject": "You have been banned from %1", "banned.subject": "You have been banned from %1",
"banned.text1": "The user %1 has been banned from %2.", "banned.text1": "The user %1 has been banned from %2.",
"banned.text2": "This ban will last until %1.", "banned.text2": "This ban will last until %1.",

View File

@@ -1,8 +1,6 @@
{ {
"invalid-data": "بيانات غير صحيحة", "invalid-data": "بيانات غير صحيحة",
"invalid-json": "Invalid JSON", "invalid-json": "Invalid JSON",
"wrong-parameter-type": "A value of type %3 was expected for property `%1`, but %2 was received instead",
"required-parameters-missing": "Required parameters were missing from this API call: %1",
"not-logged-in": "لم تقم بتسجيل الدخول", "not-logged-in": "لم تقم بتسجيل الدخول",
"account-locked": "تم حظر حسابك مؤقتًا.", "account-locked": "تم حظر حسابك مؤقتًا.",
"search-requires-login": "البحث في المنتدى يتطلب حساب - الرجاء تسجيل الدخول أو التسجيل", "search-requires-login": "البحث في المنتدى يتطلب حساب - الرجاء تسجيل الدخول أو التسجيل",
@@ -11,7 +9,6 @@
"invalid-tid": "موضوع غير متواجد", "invalid-tid": "موضوع غير متواجد",
"invalid-pid": "رد غير موجود", "invalid-pid": "رد غير موجود",
"invalid-uid": "مستخدم غير موجود", "invalid-uid": "مستخدم غير موجود",
"invalid-mid": "Invalid Chat Message ID",
"invalid-date": "A valid date must be provided", "invalid-date": "A valid date must be provided",
"invalid-username": "اسم المستخدم غير مقبول", "invalid-username": "اسم المستخدم غير مقبول",
"invalid-email": "البريد الاكتروني غير مقبول", "invalid-email": "البريد الاكتروني غير مقبول",
@@ -28,18 +25,14 @@
"invalid-event": "Invalid event: %1", "invalid-event": "Invalid event: %1",
"local-login-disabled": "Local login system has been disabled for non-privileged accounts.", "local-login-disabled": "Local login system has been disabled for non-privileged accounts.",
"csrf-invalid": "لم تتمكن من تسجيل الدخول. هنالك أحتمال ان جلستك انتهت. رجاءًا حاول مرة اخرى.", "csrf-invalid": "لم تتمكن من تسجيل الدخول. هنالك أحتمال ان جلستك انتهت. رجاءًا حاول مرة اخرى.",
"invalid-path": "Invalid path",
"folder-exists": "Folder exists",
"invalid-pagination-value": "رقم الصفحة غير صحيح ، يجب أن يكون بين %1 و %2 .", "invalid-pagination-value": "رقم الصفحة غير صحيح ، يجب أن يكون بين %1 و %2 .",
"username-taken": "اسم المستخدم مأخوذ", "username-taken": "اسم المستخدم مأخوذ",
"email-taken": "البريد الالكتروني مأخوذ", "email-taken": "البريد الالكتروني مأخوذ",
"email-nochange": "The email entered is the same as the email already on file.",
"email-invited": "Email was already invited", "email-invited": "Email was already invited",
"email-not-confirmed": "Posting in some categories or topics is enabled once your email is confirmed, please click here to send a confirmation email.", "email-not-confirmed": "You are unable to post until your email is confirmed, please click here to confirm your email.",
"email-not-confirmed-chat": "لا يمكنك الدردشة حتى تقوم بتأكيد بريدك الإلكتروني، الرجاء إضغط هنا لتأكيد بريدك اﻹلكتروني.", "email-not-confirmed-chat": "لا يمكنك الدردشة حتى تقوم بتأكيد بريدك الإلكتروني، الرجاء إضغط هنا لتأكيد بريدك اﻹلكتروني.",
"email-not-confirmed-email-sent": "Your email has not been confirmed yet, please check your inbox for the confirmation email. You may not be able to post in some categories or chat until your email is confirmed.", "email-not-confirmed-email-sent": "Your email has not been confirmed yet, please check your inbox for the confirmation email. You won't be able to post or chat until your email is confirmed.",
"no-email-to-confirm": "Your account does not have an email set. An email is necessary for account recovery, and may be necessary for chatting and posting in some categories. Please click here to enter an email.", "no-email-to-confirm": "هذا المنتدى يستلزم تفعيل بريدك الإلكتروني، انقر هنا من فضلك لإدخاله.",
"user-doesnt-have-email": "User \"%1\" does not have an email set.",
"email-confirm-failed": "لم نستطع تفعيل بريدك الإلكتروني، المرجو المحاولة لاحقًا.", "email-confirm-failed": "لم نستطع تفعيل بريدك الإلكتروني، المرجو المحاولة لاحقًا.",
"confirm-email-already-sent": "لقد تم ارسال بريد التأكيد، الرجاء اﻹنتظار 1% دقائق لإعادة اﻹرسال", "confirm-email-already-sent": "لقد تم ارسال بريد التأكيد، الرجاء اﻹنتظار 1% دقائق لإعادة اﻹرسال",
"sendmail-not-found": "The sendmail executable could not be found, please ensure it is installed and executable by the user running NodeBB.", "sendmail-not-found": "The sendmail executable could not be found, please ensure it is installed and executable by the user running NodeBB.",
@@ -61,8 +54,6 @@
"no-group": "مجموعة غير موجودة", "no-group": "مجموعة غير موجودة",
"no-user": "اسم مستخدم غير موجود", "no-user": "اسم مستخدم غير موجود",
"no-teaser": "مقتطف غير موجود", "no-teaser": "مقتطف غير موجود",
"no-flag": "Flag does not exist",
"no-chat-room": "Chat room does not exist",
"no-privileges": "لاتملك الصلاحيات اللازمة للقيام بهذه العملية", "no-privileges": "لاتملك الصلاحيات اللازمة للقيام بهذه العملية",
"category-disabled": "قائمة معطلة", "category-disabled": "قائمة معطلة",
"topic-locked": "الموضوع مقفول", "topic-locked": "الموضوع مقفول",
@@ -89,10 +80,8 @@
"category-not-selected": "Category not selected.", "category-not-selected": "Category not selected.",
"too-many-posts": "يسمح لك بالنشر مرة كل %1 ثانية - يرجى الإنتظار قبل النشر مجدداً", "too-many-posts": "يسمح لك بالنشر مرة كل %1 ثانية - يرجى الإنتظار قبل النشر مجدداً",
"too-many-posts-newbie": "As a new user, you can only post once every %1 second(s) until you have earned %2 reputation - please wait before posting again", "too-many-posts-newbie": "As a new user, you can only post once every %1 second(s) until you have earned %2 reputation - please wait before posting again",
"already-posting": "You are already posting",
"tag-too-short": "Please enter a longer tag. Tags should contain at least %1 character(s)", "tag-too-short": "Please enter a longer tag. Tags should contain at least %1 character(s)",
"tag-too-long": "Please enter a shorter tag. Tags can't be longer than %1 character(s)", "tag-too-long": "Please enter a shorter tag. Tags can't be longer than %1 character(s)",
"tag-not-allowed": "Tag not allowed",
"not-enough-tags": "Not enough tags. Topics must have at least %1 tag(s)", "not-enough-tags": "Not enough tags. Topics must have at least %1 tag(s)",
"too-many-tags": "Too many tags. Topics can't have more than %1 tag(s)", "too-many-tags": "Too many tags. Topics can't have more than %1 tag(s)",
"cant-use-system-tag": "You can not use this system tag.", "cant-use-system-tag": "You can not use this system tag.",
@@ -102,7 +91,6 @@
"guest-upload-disabled": "خاصية رفع الملفات غير مفعلة للزوار.", "guest-upload-disabled": "خاصية رفع الملفات غير مفعلة للزوار.",
"cors-error": "Unable to upload image due to misconfigured CORS", "cors-error": "Unable to upload image due to misconfigured CORS",
"upload-ratelimit-reached": "You have uploaded too many files at one time. Please try again later.", "upload-ratelimit-reached": "You have uploaded too many files at one time. Please try again later.",
"upload-error-fallback": "Unable to upload image — %1",
"scheduling-to-past": "Please select a date in the future.", "scheduling-to-past": "Please select a date in the future.",
"invalid-schedule-date": "Please enter a valid date and time.", "invalid-schedule-date": "Please enter a valid date and time.",
"cant-pin-scheduled": "Scheduled topics cannot be (un)pinned.", "cant-pin-scheduled": "Scheduled topics cannot be (un)pinned.",
@@ -112,10 +100,6 @@
"already-bookmarked": "You have already bookmarked this post", "already-bookmarked": "You have already bookmarked this post",
"already-unbookmarked": "You have already unbookmarked this post", "already-unbookmarked": "You have already unbookmarked this post",
"cant-ban-other-admins": "لايمكن حظر مدبر نظام آخر.", "cant-ban-other-admins": "لايمكن حظر مدبر نظام آخر.",
"cant-mute-other-admins": "You can't mute other admins!",
"user-muted-for-hours": "You have been muted, you will be able to post in %1 hour(s)",
"user-muted-for-minutes": "You have been muted, you will be able to post in %1 minute(s)",
"cant-make-banned-users-admin": "You can't make banned users admin.",
"cant-remove-last-admin": "رجاءًا ، أضف مدير أخر قبل حذف صلاحيات الإدارة من حسابك.", "cant-remove-last-admin": "رجاءًا ، أضف مدير أخر قبل حذف صلاحيات الإدارة من حسابك.",
"account-deletion-disabled": "Account deletion is disabled", "account-deletion-disabled": "Account deletion is disabled",
"cant-delete-admin": "رجاءًا أزل صلاحيات الإدارة قبل حذف الحساب. ", "cant-delete-admin": "رجاءًا أزل صلاحيات الإدارة قبل حذف الحساب. ",
@@ -136,8 +120,6 @@
"group-already-requested": "سبق وتم تسجيل طلب العضوية", "group-already-requested": "سبق وتم تسجيل طلب العضوية",
"group-join-disabled": "You are not able to join this group at this time", "group-join-disabled": "You are not able to join this group at this time",
"group-leave-disabled": "You are not able to leave this group at this time", "group-leave-disabled": "You are not able to leave this group at this time",
"group-user-not-pending": "User does not have a pending request to join this group.",
"gorup-user-not-invited": "User has not been invited to join this group.",
"post-already-deleted": "سبق وتم حذف هذا الرد", "post-already-deleted": "سبق وتم حذف هذا الرد",
"post-already-restored": "سبق وتم إلغاء حذف هذا الرد", "post-already-restored": "سبق وتم إلغاء حذف هذا الرد",
"topic-already-deleted": "سبق وتم حذف هذا الموضوع", "topic-already-deleted": "سبق وتم حذف هذا الموضوع",
@@ -155,35 +137,29 @@
"invalid-chat-message": "الرسالة غير صالحة.", "invalid-chat-message": "الرسالة غير صالحة.",
"chat-message-too-long": "Chat messages can not be longer than %1 characters.", "chat-message-too-long": "Chat messages can not be longer than %1 characters.",
"cant-edit-chat-message": "غير مصرح لك بتعديل الرسالة.", "cant-edit-chat-message": "غير مصرح لك بتعديل الرسالة.",
"cant-remove-last-user": "لأيمكنك إزالت اخر مستخدم.",
"cant-delete-chat-message": "غير مصرح لك بحذف الرسالة.", "cant-delete-chat-message": "غير مصرح لك بحذف الرسالة.",
"chat-edit-duration-expired": "You are only allowed to edit chat messages for %1 second(s) after posting", "chat-edit-duration-expired": "You are only allowed to edit chat messages for %1 second(s) after posting",
"chat-delete-duration-expired": "You are only allowed to delete chat messages for %1 second(s) after posting", "chat-delete-duration-expired": "You are only allowed to delete chat messages for %1 second(s) after posting",
"chat-deleted-already": "This chat message has already been deleted.", "chat-deleted-already": "This chat message has already been deleted.",
"chat-restored-already": "This chat message has already been restored.", "chat-restored-already": "This chat message has already been restored.",
"chat-room-does-not-exist": "Chat room does not exist.", "chat-room-does-not-exist": "Chat room does not exist.",
"cant-add-users-to-chat-room": "Can't add users to chat room.",
"cant-remove-users-from-chat-room": "Can't remove users from chat room.",
"chat-room-name-too-long": "Chat room name too long.",
"already-voting-for-this-post": "لقد شاركت بالتصويت ، ألا تذكر؟", "already-voting-for-this-post": "لقد شاركت بالتصويت ، ألا تذكر؟",
"reputation-system-disabled": "نظام السمعة معطل", "reputation-system-disabled": "نظام السمعة معطل",
"downvoting-disabled": "التصويتات السلبية معطلة", "downvoting-disabled": "التصويتات السلبية معطلة",
"not-enough-reputation-to-chat": "You need %1 reputation to chat", "not-enough-reputation-to-downvote": "ليس لديك سمعة تكفي لإضافة صوت سلبي لهذا الموضوع",
"not-enough-reputation-to-upvote": "You need %1 reputation to upvote", "not-enough-reputation-to-flag": "ليس لديك سمعة تكفي للإشعار بموضوع مخل",
"not-enough-reputation-to-downvote": "You need %1 reputation to downvote", "not-enough-reputation-min-rep-website": "You do not have enough reputation to add a website",
"not-enough-reputation-to-flag": "You need %1 reputation to flag this post", "not-enough-reputation-min-rep-aboutme": "You do not have enough reputation to add an about me",
"not-enough-reputation-min-rep-website": "You need %1 reputation to add a website", "not-enough-reputation-min-rep-signature": "You do not have enough reputation to add a signature",
"not-enough-reputation-min-rep-aboutme": "You need %1 reputation to add an about me", "not-enough-reputation-min-rep-profile-picture": "You do not have enough reputation to add a profile picture",
"not-enough-reputation-min-rep-signature": "You need %1 reputation to add a signature", "not-enough-reputation-min-rep-cover-picture": "You do not have enough reputation to add a cover picture",
"not-enough-reputation-min-rep-profile-picture": "You need %1 reputation to add a profile picture",
"not-enough-reputation-min-rep-cover-picture": "You need %1 reputation to add a cover picture",
"post-already-flagged": "You have already flagged this post", "post-already-flagged": "You have already flagged this post",
"user-already-flagged": "You have already flagged this user", "user-already-flagged": "You have already flagged this user",
"post-flagged-too-many-times": "This post has been flagged by others already", "post-flagged-too-many-times": "This post has been flagged by others already",
"user-flagged-too-many-times": "This user has been flagged by others already", "user-flagged-too-many-times": "This user has been flagged by others already",
"cant-flag-privileged": "You are not allowed to flag the profiles or content of privileged users (moderators/global moderators/admins)", "cant-flag-privileged": "You are not allowed to flag the profiles or content of privileged users (moderators/global moderators/admins)",
"self-vote": "You cannot vote on your own post", "self-vote": "You cannot vote on your own post",
"too-many-upvotes-today": "You can only upvote %1 times a day",
"too-many-upvotes-today-user": "You can only upvote a user %1 times a day",
"too-many-downvotes-today": "You can only downvote %1 times a day", "too-many-downvotes-today": "You can only downvote %1 times a day",
"too-many-downvotes-today-user": "You can only downvote a user %1 times a day", "too-many-downvotes-today-user": "You can only downvote a user %1 times a day",
"reload-failed": "المنتدى واجه مشكلة أثناء إعادة التحميل: \"%1\". سيواصل المنتدى خدمة العملاء السابقين لكن يجب عليك إلغاء أي تغيير قمت به قبل إعادة التحميل.", "reload-failed": "المنتدى واجه مشكلة أثناء إعادة التحميل: \"%1\". سيواصل المنتدى خدمة العملاء السابقين لكن يجب عليك إلغاء أي تغيير قمت به قبل إعادة التحميل.",
@@ -214,8 +190,6 @@
"no-connection": "There seems to be a problem with your internet connection", "no-connection": "There seems to be a problem with your internet connection",
"socket-reconnect-failed": "Unable to reach the server at this time. Click here to try again, or try again later", "socket-reconnect-failed": "Unable to reach the server at this time. Click here to try again, or try again later",
"plugin-not-whitelisted": "Unable to install plugin &ndash; only plugins whitelisted by the NodeBB Package Manager can be installed via the ACP", "plugin-not-whitelisted": "Unable to install plugin &ndash; only plugins whitelisted by the NodeBB Package Manager can be installed via the ACP",
"plugins-set-in-configuration": "You are not allowed to change plugin state as they are defined at runtime (config.json, environmental variables or terminal arguments), please modify the configuration instead.",
"theme-not-set-in-configuration": "When defining active plugins in configuration, changing themes requires adding the new theme to the list of active plugins before updating it in the ACP",
"topic-event-unrecognized": "Topic event '%1' unrecognized", "topic-event-unrecognized": "Topic event '%1' unrecognized",
"cant-set-child-as-parent": "Can't set child as parent category", "cant-set-child-as-parent": "Can't set child as parent category",
"cant-set-self-as-parent": "Can't set self as parent category", "cant-set-self-as-parent": "Can't set self as parent category",
@@ -228,6 +202,5 @@
"api.429": "You have made too many requests, please try again later", "api.429": "You have made too many requests, please try again later",
"api.500": "An unexpected error was encountered while attempting to service your request.", "api.500": "An unexpected error was encountered while attempting to service your request.",
"api.501": "The route you are trying to call is not implemented yet, please try again tomorrow", "api.501": "The route you are trying to call is not implemented yet, please try again tomorrow",
"api.503": "The route you are trying to call is not currently available due to a server configuration", "api.503": "The route you are trying to call is not currently available due to a server configuration"
"api.reauth-required": "The resource you are trying to access requires (re-)authentication."
} }

View File

@@ -3,27 +3,25 @@
"reports": "Reports", "reports": "Reports",
"first-reported": "First Reported", "first-reported": "First Reported",
"no-flags": "Hooray! No flags found.", "no-flags": "Hooray! No flags found.",
"x-flags-found": "%1 flag(s) found.",
"assignee": "المحال إليه", "assignee": "المحال إليه",
"update": "تحديث", "update": "تحديث",
"updated": "تم التحديث", "updated": "تم التحديث",
"resolved": "Resolved", "resolved": "Resolved",
"target-purged": "The content this flag referred to has been purged and is no longer available.", "target-purged": "The content this flag referred to has been purged and is no longer available.",
"target-aboutme-empty": "This user has no &quot;About Me&quot; set.",
"graph-label": "Daily Flags", "graph-label": "Daily Flags",
"quick-filters": "Quick Filters", "quick-filters": "Quick Filters",
"filter-active": "There are one or more filters active in this list of flags", "filter-active": "There are one or more filters active in this list of flags",
"filter-reset": "ازالة الفلاتر", "filter-reset": "ازالة الفلاتر",
"filters": "خيارات الفلتر", "filters": "خيارات الفلتر",
"filter-reporterId": "Reporter", "filter-reporterId": "Reporter UID",
"filter-targetUid": "Reportee", "filter-targetUid": "Flagged UID",
"filter-type": "عنوان العلامة", "filter-type": "عنوان العلامة",
"filter-type-all": "كل المحتوي", "filter-type-all": "كل المحتوي",
"filter-type-post": "مشاركة", "filter-type-post": "مشاركة",
"filter-type-user": "مستخدم", "filter-type-user": "مستخدم",
"filter-state": "الحالة", "filter-state": "الحالة",
"filter-assignee": "Assignee", "filter-assignee": "Assignee UID",
"filter-cid": "Category", "filter-cid": "Category",
"filter-quick-mine": "Assigned to me", "filter-quick-mine": "Assigned to me",
"filter-cid-all": "All categories", "filter-cid-all": "All categories",
@@ -40,20 +38,16 @@
"delete-post": "حذف المشاركة", "delete-post": "حذف المشاركة",
"purge-post": "Purge Post", "purge-post": "Purge Post",
"restore-post": "استرجاع المشاركة", "restore-post": "استرجاع المشاركة",
"delete": "Delete Flag",
"user-view": "مشاهدة الملف الشخصي", "user-view": "مشاهدة الملف الشخصي",
"user-edit": "تعديل الملف الشخصي", "user-edit": "تعديل الملف الشخصي",
"notes": "Flag Notes", "notes": "Flag Notes",
"add-note": "اضافة ملاحظة", "add-note": "اضافة ملاحظة",
"edit-note": "Edit Note",
"no-notes": "No shared notes.", "no-notes": "No shared notes.",
"delete-note-confirm": "Are you sure you want to delete this flag note?", "delete-note-confirm": "Are you sure you want to delete this flag note?",
"delete-flag-confirm": "Are you sure you want to delete this flag?",
"note-added": "Note Added", "note-added": "Note Added",
"note-deleted": "Note Deleted", "note-deleted": "Note Deleted",
"flag-deleted": "Flag Deleted",
"history": "Account &amp; Flag History", "history": "Account &amp; Flag History",
"no-history": "No flag history.", "no-history": "No flag history.",
@@ -83,10 +77,12 @@
"modal-reason-custom": "Reason for reporting this content...", "modal-reason-custom": "Reason for reporting this content...",
"modal-submit": "Submit Report", "modal-submit": "Submit Report",
"modal-submit-success": "Content has been flagged for moderation.", "modal-submit-success": "Content has been flagged for moderation.",
"modal-submit-confirm": "Confirm Submission",
"modal-submit-confirm-text": "You have a custom reason specified already. Are you sure you wish to submit via quick-report?",
"modal-submit-confirm-text-help": "Submitting a quick report will overwrite any custom reasons defined.",
"bulk-actions": "Bulk Actions", "bulk-actions": "Bulk Actions",
"bulk-resolve": "Resolve Flag(s)", "bulk-resolve": "Resolve Flag(s)",
"bulk-success": "%1 flags updated", "bulk-success": "%1 flags updated",
"flagged-timeago-readable": "Flagged <span class=\"timeago\" title=\"%1\"></span> (%2)", "flagged-timeago-readable": "Flagged <span class=\"timeago\" title=\"%1\"></span> (%2)"
"auto-flagged": "[Auto Flagged] Received %1 downvotes."
} }

View File

@@ -4,13 +4,13 @@
"buttons.close": "أغلق", "buttons.close": "أغلق",
"403.title": "غير مسموح بالدخول", "403.title": "غير مسموح بالدخول",
"403.message": "يبدو أنك قد تعثرت على صفحة لا تمتلك الصلاحية للدخول إليها", "403.message": "يبدو أنك قد تعثرت على صفحة لا تمتلك الصلاحية للدخول إليها",
"403.login": "Perhaps you should <a class=\"alert-link\" href='%1/login'>try logging in</a>?", "403.login": "ربما يجب عليك <a href='%1/login'>تسجل دخولك</a>.",
"404.title": "لم يتم العثور", "404.title": "لم يتم العثور",
"404.message": "You seem to have stumbled upon a page that does not exist.<br/><div class=\"text-sm text-muted\">Return to the <a href='%1/'>home page</a>.</div>", "404.message": "الصفحة غير موجودة. العودة لـ <a href='%1/'>الرئيسية</a>",
"500.title": "خطأ داخلي", "500.title": "خطأ داخلي",
"500.message": "عفوا! يبدو وكأنه شيء ذهب على نحو خاطئ!", "500.message": "عفوا! يبدو وكأنه شيء ذهب على نحو خاطئ!",
"400.title": "طلب سيئ", "400.title": "طلب سيئ",
"400.message": "It looks like this link is malformed, please double-check and try again.<br/><div class=\"text-sm text-muted\">Return to the <a href='%1/'>home page</a>.</div>", "400.message": "الرابط غير صحيح. رجاءًا تأكد من الرابط أو ارجع لـ <a href='%1/'>الرئيسية</a>",
"register": "تسجيل", "register": "تسجيل",
"login": "دخول", "login": "دخول",
"please_log_in": "الرجاء تسجيل الدخول", "please_log_in": "الرجاء تسجيل الدخول",
@@ -20,11 +20,10 @@
"you_have_successfully_logged_in": "تم سجيل الدخول بنجاح", "you_have_successfully_logged_in": "تم سجيل الدخول بنجاح",
"save_changes": "حفظ التغييرات", "save_changes": "حفظ التغييرات",
"save": "حفظ", "save": "حفظ",
"cancel": "Cancel",
"close": "أغلق", "close": "أغلق",
"pagination": "الصفحات", "pagination": "الصفحات",
"pagination.out_of": "%1 من %2", "pagination.out_of": "%1 من %2",
"pagination.enter_index": "Go to post index", "pagination.enter_index": "أدخل الرقم التسلسلي",
"header.admin": "مدير النظام", "header.admin": "مدير النظام",
"header.categories": "الأقسام", "header.categories": "الأقسام",
"header.recent": "حديث", "header.recent": "حديث",
@@ -38,13 +37,9 @@
"header.notifications": "التنبيهات", "header.notifications": "التنبيهات",
"header.search": "بحث", "header.search": "بحث",
"header.profile": "ملف", "header.profile": "ملف",
"header.account": "Account",
"header.navigation": "الاستكشاف", "header.navigation": "الاستكشاف",
"header.manage": "Manage",
"header.drafts": "Drafts",
"notifications.loading": "تحميل التنبيهات", "notifications.loading": "تحميل التنبيهات",
"chats.loading": "تحميل الدردشات", "chats.loading": "تحميل الدردشات",
"drafts.loading": "Loading Drafts",
"motd.welcome": "مرحبا بكم في NodeBB، منصة المناقشة المستقبلية.", "motd.welcome": "مرحبا بكم في NodeBB، منصة المناقشة المستقبلية.",
"previouspage": "الصفحة السابقة", "previouspage": "الصفحة السابقة",
"nextpage": "الصفحة التالية", "nextpage": "الصفحة التالية",
@@ -59,11 +54,8 @@
"users": "الأعضاء", "users": "الأعضاء",
"topics": "المواضيع", "topics": "المواضيع",
"posts": "المشاركات", "posts": "المشاركات",
"x-posts": "<span class=\"formatted-number\">%1</span> posts", "x-posts": "%1 posts",
"x-topics": "<span class=\"formatted-number\">%1</span> topics",
"x-reputation": "<span class=\"formatted-number\">%1</span> reputation",
"best": "الأفضل", "best": "الأفضل",
"controversial": "Controversial",
"votes": "Votes", "votes": "Votes",
"x-votes": "%1 votes", "x-votes": "%1 votes",
"voters": "Voters", "voters": "Voters",
@@ -76,10 +68,8 @@
"reputation": "السمعة", "reputation": "السمعة",
"lastpost": "Last post", "lastpost": "Last post",
"firstpost": "First post", "firstpost": "First post",
"about": "About",
"read_more": "اقرأ المزيد", "read_more": "اقرأ المزيد",
"more": "المزيد", "more": "المزيد",
"none": "None",
"posted_ago_by_guest": "كتب %1 بواسطة زائر", "posted_ago_by_guest": "كتب %1 بواسطة زائر",
"posted_ago_by": "كتب %1 بواسطة %2", "posted_ago_by": "كتب %1 بواسطة %2",
"posted_ago": "كتب %1", "posted_ago": "كتب %1",
@@ -90,13 +80,11 @@
"user_posted_ago": "%1 كتب %2", "user_posted_ago": "%1 كتب %2",
"guest_posted_ago": "كتب زائر %1", "guest_posted_ago": "كتب زائر %1",
"last_edited_by": "اخر تحرير بواسطة 1%", "last_edited_by": "اخر تحرير بواسطة 1%",
"edited-timestamp": "Edited %1",
"norecentposts": "لاوجود لمشاركات جديدة", "norecentposts": "لاوجود لمشاركات جديدة",
"norecenttopics": "لاوجود لمواضيع جديدة", "norecenttopics": "لاوجود لمواضيع جديدة",
"recentposts": "آخر المشاركات", "recentposts": "آخر المشاركات",
"recentips": "آخر عناوين ال IP التي سجلت الدخول", "recentips": "آخر عناوين ال IP التي سجلت الدخول",
"moderator_tools": "أدوات المشرف", "moderator_tools": "أدوات المشرف",
"status": "Status",
"online": "المتواجدون حاليًّا", "online": "المتواجدون حاليًّا",
"away": "غير متواجد", "away": "غير متواجد",
"dnd": "عدم الإزعاج", "dnd": "عدم الإزعاج",
@@ -132,9 +120,5 @@
"edited": "حُرِر", "edited": "حُرِر",
"disabled": "معطل", "disabled": "معطل",
"select": "تحديد", "select": "تحديد",
"copied": "Copied", "user-search-prompt": "Type something here to find users..."
"user-search-prompt": "Type something here to find users...",
"hidden": "Hidden",
"sort": "Sort",
"actions": "Actions"
} }

View File

@@ -1,7 +1,5 @@
{ {
"all-groups": "All groups",
"groups": "المجموعات", "groups": "المجموعات",
"members": "Members",
"view_group": "معاينة المجموعة", "view_group": "معاينة المجموعة",
"owner": "مالك المجموعة", "owner": "مالك المجموعة",
"new_group": "أنشئ مجموعة جديدة", "new_group": "أنشئ مجموعة جديدة",

View File

@@ -1,6 +1,7 @@
{ {
"username-email": "اسم المستخدم / البريد الإلكتروني", "username-email": "اسم المستخدم / البريد الإلكتروني",
"username": "اسم المستخدم", "username": "اسم المستخدم",
"email": "البريد الإلكتروني",
"remember_me": "تذكرني؟", "remember_me": "تذكرني؟",
"forgot_password": "نسيت كلمة المرور؟", "forgot_password": "نسيت كلمة المرور؟",
"alternative_logins": "تسجيلات الدخول البديلة", "alternative_logins": "تسجيلات الدخول البديلة",

View File

@@ -1,17 +1,13 @@
{ {
"chat.chatting_with": "Chat with", "chat.chatting_with": "Chat with",
"chat.placeholder": "Type chat message here, drag & drop images, press enter to send", "chat.placeholder": "أكتب رسالة دردشة هنا، اضغط ENTER للإرسال",
"chat.placeholder.mobile": "Type chat message here",
"chat.scroll-up-alert": "You are looking at older messages, click here to go to most recent message.", "chat.scroll-up-alert": "You are looking at older messages, click here to go to most recent message.",
"chat.usernames-and-x-others": "%1 & %2 others",
"chat.chat-with-usernames": "Chat with %1",
"chat.chat-with-usernames-and-x-others": "Chat with %1 & %2 others",
"chat.send": "أرسل", "chat.send": "أرسل",
"chat.no_active": "لا يوجد لديك دردشات نشطة.", "chat.no_active": "لا يوجد لديك دردشات نشطة.",
"chat.user_typing": "%1 يكتب رسالة...", "chat.user_typing": "%1 يكتب رسالة...",
"chat.user_has_messaged_you": "%1 أرسل لك رسالة.", "chat.user_has_messaged_you": "%1 أرسل لك رسالة.",
"chat.see_all": "All chats", "chat.see_all": "عرض كل المحادثات",
"chat.mark_all_read": "Mark all read", "chat.mark_all_read": "Mark all chats read",
"chat.no-messages": "المرجو اختيار مرسل إليه لمعاينة تاريخ الدردشات", "chat.no-messages": "المرجو اختيار مرسل إليه لمعاينة تاريخ الدردشات",
"chat.no-users-in-room": "No users in this room", "chat.no-users-in-room": "No users in this room",
"chat.recent-chats": "آخر الدردشات", "chat.recent-chats": "آخر الدردشات",
@@ -46,7 +42,6 @@
"composer.compose": "اكتب", "composer.compose": "اكتب",
"composer.show_preview": "عرض المعاينة", "composer.show_preview": "عرض المعاينة",
"composer.hide_preview": "إخفاء المعاينة", "composer.hide_preview": "إخفاء المعاينة",
"composer.help": "Help",
"composer.user_said_in": "%1 كتب في %2", "composer.user_said_in": "%1 كتب في %2",
"composer.user_said": "%1 كتب:", "composer.user_said": "%1 كتب:",
"composer.discard": "هل أنت متأكد أنك تريد التخلي عن التغييرات؟", "composer.discard": "هل أنت متأكد أنك تريد التخلي عن التغييرات؟",
@@ -59,7 +54,7 @@
"composer.formatting.strikethrough": "Strikethrough", "composer.formatting.strikethrough": "Strikethrough",
"composer.formatting.code": "Code", "composer.formatting.code": "Code",
"composer.formatting.link": "Link", "composer.formatting.link": "Link",
"composer.formatting.picture": "Image Link", "composer.formatting.picture": "Picture",
"composer.upload-picture": "Upload Image", "composer.upload-picture": "Upload Image",
"composer.upload-file": "Upload File", "composer.upload-file": "Upload File",
"composer.zen_mode": "Zen Mode", "composer.zen_mode": "Zen Mode",
@@ -69,16 +64,10 @@
"composer.schedule-date": "Date", "composer.schedule-date": "Date",
"composer.schedule-time": "Time", "composer.schedule-time": "Time",
"composer.cancel-scheduling": "Cancel Scheduling", "composer.cancel-scheduling": "Cancel Scheduling",
"composer.change-schedule-date": "Change Date",
"composer.set-schedule-date": "Set Date", "composer.set-schedule-date": "Set Date",
"composer.discard-all-drafts": "Discard all drafts",
"composer.no-drafts": "You have no drafts",
"composer.discard-draft-confirm": "Do you want to discard this draft?",
"bootbox.ok": "OK", "bootbox.ok": "OK",
"bootbox.cancel": "إلغاء", "bootbox.cancel": "إلغاء",
"bootbox.confirm": "تأكيد", "bootbox.confirm": "تأكيد",
"bootbox.submit": "Submit",
"bootbox.send": "Send",
"cover.dragging_title": "Cover Photo Positioning", "cover.dragging_title": "Cover Photo Positioning",
"cover.dragging_message": "Drag the cover photo to the desired position and click \"Save\"", "cover.dragging_message": "Drag the cover photo to the desired position and click \"Save\"",
"cover.saved": "Cover photo image and position saved", "cover.saved": "Cover photo image and position saved",

View File

@@ -1,8 +1,8 @@
{ {
"title": "التنبيهات", "title": "التنبيهات",
"no_notifs": "ليس لديك أية تنبيهات جديدة", "no_notifs": "ليس لديك أية تنبيهات جديدة",
"see_all": "All notifications", "see_all": "عرض كل التنبيهات",
"mark_all_read": "Mark all read", "mark_all_read": "اجعل كل التنبيهات مقروءة",
"back_to_home": "عودة إلى %1", "back_to_home": "عودة إلى %1",
"outgoing_link": "رابط خارجي", "outgoing_link": "رابط خارجي",
"outgoing_link_message": "أنت تغادر اﻻن %1", "outgoing_link_message": "أنت تغادر اﻻن %1",
@@ -50,7 +50,6 @@
"users-csv-exported": "Users csv exported, click to download", "users-csv-exported": "Users csv exported, click to download",
"post-queue-accepted": "Your queued post has been accepted. Click here to see your post.", "post-queue-accepted": "Your queued post has been accepted. Click here to see your post.",
"post-queue-rejected": "Your queued post has been rejected.", "post-queue-rejected": "Your queued post has been rejected.",
"post-queue-notify": "Queued post received a notification:<br/>\"%1\"",
"email-confirmed": "تم التحقق من عنوان البريد الإلكتروني", "email-confirmed": "تم التحقق من عنوان البريد الإلكتروني",
"email-confirmed-message": "شكرًا على إثبات صحة عنوان بريدك الإلكتروني. صار حسابك مفعلًا بالكامل.", "email-confirmed-message": "شكرًا على إثبات صحة عنوان بريدك الإلكتروني. صار حسابك مفعلًا بالكامل.",
"email-confirm-error-message": "حدث خطأ أثناء التحقق من عنوان بريدك الإلكتروني. ربما رمز التفعيل خاطئ أو انتهت صلاحيته.", "email-confirm-error-message": "حدث خطأ أثناء التحقق من عنوان بريدك الإلكتروني. ربما رمز التفعيل خاطئ أو انتهت صلاحيته.",

View File

@@ -49,18 +49,16 @@
"account/watched_categories": "%1's Watched Categories", "account/watched_categories": "%1's Watched Categories",
"account/bookmarks": "%1's Bookmarked Posts", "account/bookmarks": "%1's Bookmarked Posts",
"account/settings": "خيارات المستخدم", "account/settings": "خيارات المستخدم",
"account/settings-of": "Changing settings of %1",
"account/watched": "Topics watched by %1", "account/watched": "Topics watched by %1",
"account/ignored": "Topics ignored by %1", "account/ignored": "Topics ignored by %1",
"account/upvoted": "Posts upvoted by %1", "account/upvoted": "Posts upvoted by %1",
"account/downvoted": "Posts downvoted by %1", "account/downvoted": "Posts downvoted by %1",
"account/best": "Best posts made by %1", "account/best": "Best posts made by %1",
"account/controversial": "Controversial posts made by %1",
"account/blocks": "Blocked users for %1", "account/blocks": "Blocked users for %1",
"account/uploads": "Uploads by %1", "account/uploads": "Uploads by %1",
"account/sessions": "Login Sessions", "account/sessions": "Login Sessions",
"confirm": "تم التحقق من عنوان البريد الإلكتروني", "confirm": "تم التحقق من عنوان البريد الإلكتروني",
"maintenance.text": "%1 is currently undergoing maintenance.<br/>Please come back another time.", "maintenance.text": "جاري صيانة %1. المرجو العودة لاحقًا.",
"maintenance.messageIntro": "بالإضافة إلى ذلك، قام مدبر النظام بترك هذه الرسالة:", "maintenance.messageIntro": "بالإضافة إلى ذلك، قام مدبر النظام بترك هذه الرسالة:",
"throttled.text": "%1 is currently unavailable due to excessive load. Please come back another time." "throttled.text": "%1 is currently unavailable due to excessive load. Please come back another time."
} }

View File

@@ -1,12 +1,8 @@
{ {
"post-queue": "Post Queue", "post-queue": "Post Queue",
"no-queued-posts": "There are no posts in the post queue.", "description": "There are no posts in the post queue. <br> To enable this feature, go to <a href=\"%1\">Settings &rarr; Post &rarr; Post Queue</a> and enable <strong>Post Queue</strong>.",
"no-single-post": "The topic or post you are looking for is no longer in the queue. It has likely been approved or deleted already.",
"enabling-help": "To enable this feature, go to <a href=\"%1\">Settings &rarr; Post &rarr; Post Queue</a> and enable <strong>Post Queue</strong>.",
"back-to-list": "Back to Post Queue",
"user": "User", "user": "User",
"when": "When",
"category": "Category", "category": "Category",
"title": "Title", "title": "Title",
"content": "Content", "content": "Content",
@@ -18,23 +14,5 @@
"reply": "Reply", "reply": "Reply",
"topic": "Topic", "topic": "Topic",
"accept": "Accept", "accept": "Accept",
"reject": "Reject", "reject": "Reject"
"remove": "Remove",
"notify": "Notify",
"notify-user": "Notify User",
"confirm-reject": "Do you want to reject this post?",
"confirm-remove": "Do you want to remove this post?",
"bulk-actions": "Bulk Actions",
"accept-all": "Accept All",
"accept-selected": "Accept Selected",
"reject-all": "Reject All",
"reject-all-confirm": "Do you want to reject all posts?",
"reject-selected": "Reject Selected",
"reject-selected-confirm": "Do you want to reject %1 selected posts?",
"remove-all": "Remove all",
"remove-all-confirm": "Do you want to remove all posts?",
"remove-selected": "Remove Selected",
"remove-selected-confirm": "Do you want to remove %1 selected posts?",
"bulk-accept-success": "%1 posts accepted",
"bulk-reject-success": "%1 posts rejected"
} }

View File

@@ -7,5 +7,13 @@
"alltime": "دائمًا", "alltime": "دائمًا",
"no_recent_topics": "لايوجد مواضيع جديدة", "no_recent_topics": "لايوجد مواضيع جديدة",
"no_popular_topics": "لا يوجد مواضيع شائعة", "no_popular_topics": "لا يوجد مواضيع شائعة",
"load-new-posts": "Load new posts" "there-is-a-new-topic": "يوجد موضوع جديد",
"there-is-a-new-topic-and-a-new-post": "يوجد موضوع جديد و رد جديد",
"there-is-a-new-topic-and-new-posts": "يوجد موضوع جديد و %1 ردود جديدة ",
"there-are-new-topics": "يوجد %1 مواضيع جديدة",
"there-are-new-topics-and-a-new-post": "يوجد %1 مواضيع جديدة و رد جديد",
"there-are-new-topics-and-new-posts": "يوجد %1 مواضيع جديدة و %2 مشاركات جديدة",
"there-is-a-new-post": "يوجد مشاركة جديدة",
"there-are-new-posts": "يوجد %1 مشاركات جديدة",
"click-here-to-reload": "إضغط هنا لإعادة التحميل"
} }

View File

@@ -1,6 +1,5 @@
{ {
"register": "تسجيل", "register": "تسجيل",
"already-have-account": "Already have an account?",
"cancel_registration": "إلغاء التسجيل", "cancel_registration": "إلغاء التسجيل",
"help.email": "افتراضيا، سيتم إخفاء بريدك الإلكتروني من العامة.", "help.email": "افتراضيا، سيتم إخفاء بريدك الإلكتروني من العامة.",
"help.username_restrictions": "اسم مستخدم فريدة من نوعها بين 1% و 2% حرفا. بإمكان الآخرين مناداتك بـ @<span id='yourUsername'>اسم المستخدم</span>.", "help.username_restrictions": "اسم مستخدم فريدة من نوعها بين 1% و 2% حرفا. بإمكان الآخرين مناداتك بـ @<span id='yourUsername'>اسم المستخدم</span>.",
@@ -21,9 +20,8 @@
"registration-added-to-queue": "تمت إضافتك في قائمة الإنتضار. ستتلقى رسالة إلكترونية عند الموافقة على تسجيلك من قبل الإدارة.", "registration-added-to-queue": "تمت إضافتك في قائمة الإنتضار. ستتلقى رسالة إلكترونية عند الموافقة على تسجيلك من قبل الإدارة.",
"registration-queue-average-time": "Our average time for approving memberships is %1 hours %2 minutes.", "registration-queue-average-time": "Our average time for approving memberships is %1 hours %2 minutes.",
"registration-queue-auto-approve-time": "Your membership to this forum will be fully activated in up to %1 hours.", "registration-queue-auto-approve-time": "Your membership to this forum will be fully activated in up to %1 hours.",
"interstitial.intro": "We'd like some additional information in order to update your account&hellip;", "interstitial.intro": "نحتاج إلى بعض المعلومات الإضافية قبل أن نتمكن من إنشاء حسابك.",
"interstitial.intro-new": "We'd like some additional information before we can create your account&hellip;", "interstitial.errors-found": "تعذر علينا إتمام عملية التسجيل:",
"interstitial.errors-found": "Please review the entered information:",
"gdpr_agree_data": "I consent to the collection and processing of my personal information on this website.", "gdpr_agree_data": "I consent to the collection and processing of my personal information on this website.",
"gdpr_agree_email": "I consent to receive digest and notification emails from this website.", "gdpr_agree_email": "I consent to receive digest and notification emails from this website.",
"gdpr_consent_denied": "You must give consent to this site to collect/process your information, and to send you emails.", "gdpr_consent_denied": "You must give consent to this site to collect/process your information, and to send you emails.",

View File

@@ -1,41 +1,21 @@
{ {
"type-to-search": "Type to search",
"results_matching": "%1 نتيجة (نتائج) موافقة لـ \"%2\", (%3 ثواني)", "results_matching": "%1 نتيجة (نتائج) موافقة لـ \"%2\", (%3 ثواني)",
"no-matches": "لم يتم العثور على نتائج.", "no-matches": "لم يتم العثور على نتائج.",
"advanced-search": "بحث متقدم", "advanced-search": "بحث متقدم",
"in": "في", "in": "في",
"in-titles": "In titles", "titles": "العناوين",
"in-titles-posts": "In titles and posts", "titles-posts": "العناوين والمشاركات",
"in-posts": "In posts",
"in-categories": "In categories",
"in-users": "In users",
"in-tags": "In tags",
"categories": "Categories",
"all-categories": "All categories",
"categories-x": "Categories: %1",
"categories-watched-categories": "Categories: Watched categories",
"type-a-category": "Type a category",
"tags": "Tags",
"tags-x": "Tags: %1",
"type-a-tag": "Type a tag",
"match-words": "Match words", "match-words": "Match words",
"match-all-words": "Match all words",
"match-any-word": "Match any word",
"all": "All", "all": "All",
"any": "Any", "any": "Any",
"posted-by": "مشاركة من طرف", "posted-by": "مشاركة من طرف",
"posted-by-usernames": "Posted by: %1", "in-categories": "في الفئات",
"type-a-username": "Type a username",
"search-child-categories": "بحث في الفئات الفرعية", "search-child-categories": "بحث في الفئات الفرعية",
"has-tags": "Has tags", "has-tags": "Has tags",
"reply-count": "عدد المشاركات", "reply-count": "عدد المشاركات",
"replies": "Replies",
"replies-atleast-count": "Replies: At least %1",
"replies-atmost-count": "Replies: At most %1",
"at-least": "على اﻷقل", "at-least": "على اﻷقل",
"at-most": "على اﻷكثر", "at-most": "على اﻷكثر",
"relevance": "Relevance", "relevance": "Relevance",
"time": "Time",
"post-time": "تاريخ المشاركة", "post-time": "تاريخ المشاركة",
"votes": "Votes", "votes": "Votes",
"newer-than": "أحدث من", "newer-than": "أحدث من",
@@ -48,22 +28,7 @@
"three-months": "ثلاثة أشهر", "three-months": "ثلاثة أشهر",
"six-months": "ستة أشهر", "six-months": "ستة أشهر",
"one-year": "عام", "one-year": "عام",
"time-newer-than-86400": "Time: Newer than yesterday",
"time-older-than-86400": "Time: Older than yesterday",
"time-newer-than-604800": "Time: Newer than one week",
"time-older-than-604800": "Time: Older than one week",
"time-newer-than-1209600": "Time: Newer than two weeks",
"time-older-than-1209600": "Time: Older than two weeks",
"time-newer-than-2592000": "Time: Newer than one month",
"time-older-than-2592000": "Time: Older than one month",
"time-newer-than-7776000": "Time: Newer than three months",
"time-older-than-7776000": "Time: Older than three months",
"time-newer-than-15552000": "Time: Newer than six months",
"time-older-than-15552000": "Time: Older than six months",
"time-newer-than-31104000": "Time: Newer than one year",
"time-older-than-31104000": "Time: Older than one year",
"sort-by": "عرض حسب", "sort-by": "عرض حسب",
"sort": "Sort",
"last-reply-time": "تاريخ آخر رد", "last-reply-time": "تاريخ آخر رد",
"topic-title": "عنوان الموضوع", "topic-title": "عنوان الموضوع",
"topic-votes": "Topic votes", "topic-votes": "Topic votes",
@@ -74,36 +39,11 @@
"category": "فئة", "category": "فئة",
"descending": "في ترتيب تنازلي", "descending": "في ترتيب تنازلي",
"ascending": "في ترتيب تصاعدي", "ascending": "في ترتيب تصاعدي",
"sort-by-relevance-desc": "Sort by: Relevance in descending order",
"sort-by-relevance-asc": "Sort by: Relevance in ascending order",
"sort-by-timestamp-desc": "Sort by: Post time in descending order",
"sort-by-timestamp-asc": "Sort by: Post time in ascending order",
"sort-by-votes-desc": "Sort by: Votes in descending order",
"sort-by-votes-asc": "Sort by: Votes in ascending order",
"sort-by-topic.lastposttime-desc": "Sort by: Last reply time in descending order",
"sort-by-topic.lastposttime-asc": "Sort by: Last reply time in ascending order",
"sort-by-topic.title-desc": "Sort by: Topic title in descending order",
"sort-by-topic.title-asc": "Sort by: Topic title in ascending order",
"sort-by-topic.postcount-desc": "Sort by: Number of replies in descending order",
"sort-by-topic.postcount-asc": "Sort by: Number of replies in ascending order",
"sort-by-topic.viewcount-desc": "Sort by: Number of views in descending order",
"sort-by-topic.viewcount-asc": "Sort by: Number of views in ascending order",
"sort-by-topic.votes-desc": "Sort by: Topic votes in descending order",
"sort-by-topic.votes-asc": "Sort by: Topic votes in ascending order",
"sort-by-topic.timestamp-desc": "Sort by: Topic start date in descending order",
"sort-by-topic.timestamp-asc": "Sort by: Topic start date in ascending order",
"sort-by-user.username-desc": "Sort by: Username in descending order",
"sort-by-user.username-asc": "Sort by: Username in ascending order",
"sort-by-category.name-desc": "Sort by: Category in descending order",
"sort-by-category.name-asc": "Sort by: Category in ascending order",
"save": "Save",
"save-preferences": "حفظ التفضيلات", "save-preferences": "حفظ التفضيلات",
"clear-preferences": "ازالة التفضيلات", "clear-preferences": "ازالة التفضيلات",
"search-preferences-saved": "تم حفظ تفضيلات البحث", "search-preferences-saved": "تم حفظ تفضيلات البحث",
"search-preferences-cleared": "تم ازالة تفضيلات البحث", "search-preferences-cleared": "تم ازالة تفضيلات البحث",
"show-results-as": "عرض النتائج كـ", "show-results-as": "عرض النتائج كـ",
"show-results-as-topics": "Show results as topics",
"show-results-as-posts": "Show results as posts",
"see-more-results": "See more results (%1)", "see-more-results": "See more results (%1)",
"search-in-category": "Search in \"%1\"" "search-in-category": "Search in \"%1\""
} }

View File

@@ -1,10 +0,0 @@
{
"sign-in-with-twitter": "تسجيل الدخول باستخدام تويتر",
"sign-up-with-twitter": "التسجيل باستخدام تويتر",
"sign-in-with-github": "تسجيل الدخول باستخدام جيت هب",
"sign-up-with-github": "التسجيل باستخدام جيت هب",
"sign-in-with-google": "تسجيل الدخول باستخدام قوقل",
"sign-up-with-google": "التسجيل باستخدام قوقل",
"log-in-with-facebook": "تسجيل الدخول باستخدام فيسبوك",
"continue-with-facebook": "التسجيل باستخدام فيسبوك"
}

View File

@@ -1,11 +1,8 @@
{ {
"all-tags": "All tags",
"no_tag_topics": "لا يوجد مواضيع بهذه الكلمة الدلالية.", "no_tag_topics": "لا يوجد مواضيع بهذه الكلمة الدلالية.",
"no-tags-found": "No tags found",
"tags": "الكلمات الدلالية", "tags": "الكلمات الدلالية",
"enter_tags_here": "Enter tags here, between %1 and %2 characters each.", "enter_tags_here": "Enter tags here, between %1 and %2 characters each.",
"enter_tags_here_short": "أدخل الكلمات الدلالية...", "enter_tags_here_short": "أدخل الكلمات الدلالية...",
"no_tags": "لا يوجد كلمات دلالية بعد.", "no_tags": "لا يوجد كلمات دلالية بعد.",
"select_tags": "Select Tags", "select_tags": "Select Tags"
"tag-whitelist": "Tag Whitelist"
} }

View File

@@ -1,14 +0,0 @@
{
"skins": "Skins",
"collapse": "Collapse",
"expand": "Expand",
"login-register-to-search": "Login or register to search.",
"settings.title": "Theme settings",
"settings.enableQuickReply": "Enable quick reply",
"settings.centerHeaderElements": "Center header elements",
"settings.mobileTopicTeasers": "Show topic teasers on mobile",
"settings.stickyToolbar": "Sticky toolbar",
"settings.stickyToolbar.help": "The toolbar on topic and category pages will stick to the top of the page",
"settings.autohideBottombar": "Auto hide bottom bar",
"settings.autohideBottombar.help": "The bottom bar on mobile view will be hidden when the page is scrolled down"
}

View File

@@ -1,10 +0,0 @@
{
"settings.title": "Theme settings",
"settings.intro": "You can customise your theme settings here. Settings are stored on a per-device basis, so you are able to have different settings on different devices (phone, tablet, desktop, etc.)",
"settings.mobile-menu-side": "Switch which side each mobile menu is on",
"settings.autoHidingNavbar": "Automatically hide the navbar on scroll",
"settings.autoHidingNavbar-xs": "Very small screens (e.g. phones in portrait mode)",
"settings.autoHidingNavbar-sm": "Smaller screens (e.g. phones, some tablets)",
"settings.autoHidingNavbar-md": "Medium sized screens (e.g. tablets in landscape mode)",
"settings.autoHidingNavbar-lg": "Larger screens (e.g. desktop computers)"
}

View File

@@ -1,4 +0,0 @@
{
"title": "Top",
"no_top_topics": "No top topics"
}

View File

@@ -20,8 +20,6 @@
"login-to-view": "🔒 Log in to view", "login-to-view": "🔒 Log in to view",
"edit": "تعديل", "edit": "تعديل",
"delete": "حذف", "delete": "حذف",
"delete-event": "Delete Event",
"delete-event-confirm": "Are you sure you want to delete this event?",
"purge": "تطهير", "purge": "تطهير",
"restore": "استعادة", "restore": "استعادة",
"move": "نقل", "move": "نقل",
@@ -36,34 +34,16 @@
"scheduled": "Scheduled", "scheduled": "Scheduled",
"moved": "منقول", "moved": "منقول",
"moved-from": "Moved from %1", "moved-from": "Moved from %1",
"copy-code": "Copy Code",
"copy-ip": "Copy IP", "copy-ip": "Copy IP",
"ban-ip": "Ban IP", "ban-ip": "Ban IP",
"view-history": "Edit History", "view-history": "Edit History",
"wrote-ago": "wrote <a href=\"%1\" class=\"timeago text-muted\" title=\"%2\"></a>", "locked-by": "Locked by",
"wrote-on": "wrote on <a href=\"%1\" class=\"timeago text-muted\" title=\"%2\"></a>", "unlocked-by": "Unlocked by",
"replied-to-user-ago": "replied to <a component=\"post/parent\" data-topid=\"%1\" href=\"%2\">%3</a> <a href=\"%4\" class=\"timeago text-muted\" title=\"%5\"></a>", "pinned-by": "Pinned by",
"replied-to-user-on": "replied to <a component=\"post/parent\" data-topid=\"%1\" href=\"%2\">%3</a> on <a hrf=\"%4\" class=\"timeago text-muted\" title=\"%5\"></a>", "unpinned-by": "Unpinned by",
"user-locked-topic-ago": "%1 locked this topic %2", "deleted-by": "Deleted by",
"user-locked-topic-on": "%1 locked this topic on %2", "restored-by": "Restored by",
"user-unlocked-topic-ago": "%1 unlocked this topic %2", "queued-by": "Post queued for approval &rarr;",
"user-unlocked-topic-on": "%1 unlocked this topic on %2",
"user-pinned-topic-ago": "%1 pinned this topic %2",
"user-pinned-topic-on": "%1 pinned this topic on %2",
"user-unpinned-topic-ago": "%1 unpinned this topic %2",
"user-unpinned-topic-on": "%1 unpinned this topic on %2",
"user-deleted-topic-ago": "%1 deleted this topic %2",
"user-deleted-topic-on": "%1 deleted this topic on %2",
"user-restored-topic-ago": "%1 restored this topic %2",
"user-restored-topic-on": "%1 restored this topic on %2",
"user-moved-topic-from-ago": "%1 moved this topic from %2 %3",
"user-moved-topic-from-on": "%1 moved this topic from %2 on %3",
"user-queued-post-ago": "%1 <a href=\"%2\">queued</a> post for approval %3",
"user-queued-post-on": "%1 <a href=\"%2\">queued</a> post for approval on %3",
"user-referenced-topic-ago": "%1 <a href=\"%2\">referenced</a> this topic %3",
"user-referenced-topic-on": "%1 <a href=\"%2\">referenced</a> this topic on %3",
"user-forked-topic-ago": "%1 <a href=\"%2\">forked</a> this topic %3",
"user-forked-topic-on": "%1 <a href=\"%2\">forked</a> this topic on %3",
"bookmark_instructions": "اضغط هنا للعودة لأخر مشاركة مقروءة في الموضوع", "bookmark_instructions": "اضغط هنا للعودة لأخر مشاركة مقروءة في الموضوع",
"flag-post": "Flag this post", "flag-post": "Flag this post",
"flag-user": "Flag this user", "flag-user": "Flag this user",
@@ -102,7 +82,6 @@
"thread_tools.change_owner": "Change Owner", "thread_tools.change_owner": "Change Owner",
"thread_tools.select_category": "Select Category", "thread_tools.select_category": "Select Category",
"thread_tools.fork": "إنشاء فرع الموضوع", "thread_tools.fork": "إنشاء فرع الموضوع",
"thread_tools.tag": "Tag Topic",
"thread_tools.delete": "حذف الموضوع", "thread_tools.delete": "حذف الموضوع",
"thread_tools.delete-posts": "مشاركات محذوفة", "thread_tools.delete-posts": "مشاركات محذوفة",
"thread_tools.delete_confirm": "هل أنت متأكد أنك تريد حذف هذا الموضوع؟", "thread_tools.delete_confirm": "هل أنت متأكد أنك تريد حذف هذا الموضوع؟",
@@ -111,7 +90,7 @@
"thread_tools.purge": "تطهير الموضوع", "thread_tools.purge": "تطهير الموضوع",
"thread_tools.purge_confirm": "هل أنت متأكد أنك تريد تطهير هذا الموضوع؟", "thread_tools.purge_confirm": "هل أنت متأكد أنك تريد تطهير هذا الموضوع؟",
"thread_tools.merge_topics": "Merge Topics", "thread_tools.merge_topics": "Merge Topics",
"thread_tools.merge": "Merge Topic", "thread_tools.merge": "Merge",
"topic_move_success": "This topic will be moved to \"%1\" shortly. Click here to undo.", "topic_move_success": "This topic will be moved to \"%1\" shortly. Click here to undo.",
"topic_move_multiple_success": "These topics will be moved to \"%1\" shortly. Click here to undo.", "topic_move_multiple_success": "These topics will be moved to \"%1\" shortly. Click here to undo.",
"topic_move_all_success": "All topics will be moved to \"%1\" shortly. Click here to undo.", "topic_move_all_success": "All topics will be moved to \"%1\" shortly. Click here to undo.",
@@ -129,7 +108,6 @@
"bookmark": "Bookmark", "bookmark": "Bookmark",
"bookmarks": "Bookmarks", "bookmarks": "Bookmarks",
"bookmarks.has_no_bookmarks": "You haven't bookmarked any posts yet.", "bookmarks.has_no_bookmarks": "You haven't bookmarked any posts yet.",
"copy-permalink": "Copy Permalink",
"loading_more_posts": "تحميل المزيد من المشاركات", "loading_more_posts": "تحميل المزيد من المشاركات",
"move_topic": "نقل الموضوع", "move_topic": "نقل الموضوع",
"move_topics": "نقل المواضيع", "move_topics": "نقل المواضيع",
@@ -137,7 +115,7 @@
"post_moved": "تم نقل المشاركة", "post_moved": "تم نقل المشاركة",
"fork_topic": "فرع الموضوع", "fork_topic": "فرع الموضوع",
"enter-new-topic-title": "Enter new topic title", "enter-new-topic-title": "Enter new topic title",
"fork_topic_instruction": "Click the posts you want to fork, enter a title for the new topic and click fork topic", "fork_topic_instruction": "إضغط على المشاركات التي تريد تفريعها",
"fork_no_pids": "لم تختر أي مشاركة", "fork_no_pids": "لم تختر أي مشاركة",
"no-posts-selected": "No posts selected!", "no-posts-selected": "No posts selected!",
"x-posts-selected": "%1 post(s) selected", "x-posts-selected": "%1 post(s) selected",
@@ -152,15 +130,11 @@
"merge-new-title-for-topic": "New title for topic", "merge-new-title-for-topic": "New title for topic",
"topic-id": "Topic ID", "topic-id": "Topic ID",
"move_posts_instruction": "Click the posts you want to move then enter a topic ID or go to the target topic", "move_posts_instruction": "Click the posts you want to move then enter a topic ID or go to the target topic",
"move_topic_instruction": "Select the target category and then click move",
"change_owner_instruction": "Click the posts you want to assign to another user", "change_owner_instruction": "Click the posts you want to assign to another user",
"composer.title_placeholder": "أدخل عنوان موضوعك هنا...", "composer.title_placeholder": "أدخل عنوان موضوعك هنا...",
"composer.handle_placeholder": "Enter your name/handle here", "composer.handle_placeholder": "Enter your name/handle here",
"composer.hide": "Hide",
"composer.discard": "نبذ التغييرات", "composer.discard": "نبذ التغييرات",
"composer.submit": "حفظ", "composer.submit": "حفظ",
"composer.additional-options": "Additional Options",
"composer.post-later": "Post Later",
"composer.schedule": "Schedule", "composer.schedule": "Schedule",
"composer.replying_to": "الرد على %1", "composer.replying_to": "الرد على %1",
"composer.new_topic": "موضوع جديد", "composer.new_topic": "موضوع جديد",
@@ -181,7 +155,6 @@
"newest_to_oldest": "من الأحدث إلى الأقدم", "newest_to_oldest": "من الأحدث إلى الأقدم",
"most_votes": "Most Votes", "most_votes": "Most Votes",
"most_posts": "Most Posts", "most_posts": "Most Posts",
"most_views": "Most Views",
"stale.title": "Create new topic instead?", "stale.title": "Create new topic instead?",
"stale.warning": "The topic you are replying to is quite old. Would you like to create a new topic instead, and reference this one in your reply?", "stale.warning": "The topic you are replying to is quite old. Would you like to create a new topic instead, and reference this one in your reply?",
"stale.create": "موضوع جديد", "stale.create": "موضوع جديد",
@@ -200,10 +173,5 @@
"timeago_later": "%1 later", "timeago_later": "%1 later",
"timeago_earlier": "%1 earlier", "timeago_earlier": "%1 earlier",
"first-post": "First post", "first-post": "First post",
"last-post": "Last post", "last-post": "Last post"
"go-to-my-next-post": "Go to my next post",
"no-more-next-post": "You don't have more posts in this topic",
"post-quick-reply": "Quick reply",
"navigator.index": "Post %1 of %2",
"navigator.unread": "%1 unread"
} }

View File

@@ -1,6 +1,5 @@
{ {
"banned": "محظور", "banned": "محظور",
"muted": "كتم ",
"offline": "غير متصل", "offline": "غير متصل",
"deleted": "محذوف", "deleted": "محذوف",
"username": "إسم المستخدم", "username": "إسم المستخدم",
@@ -9,12 +8,10 @@
"email": "البريد الإلكتروني", "email": "البريد الإلكتروني",
"confirm_email": "تأكيد عنوان البريد الإلكتروني", "confirm_email": "تأكيد عنوان البريد الإلكتروني",
"account_info": "معلومات الحساب", "account_info": "معلومات الحساب",
"admin_actions_label": "الإجراءات الإدارية", "admin_actions_label": "Administrative Actions",
"ban_account": "حظر الحساب", "ban_account": "حظر الحساب",
"ban_account_confirm": "هل تريد حقاً حظر هاذا العضو؟", "ban_account_confirm": "هل تريد حقاً حظر هاذا العضو؟",
"unban_account": "إزالة حظر الحساب", "unban_account": "إزالة حظر الحساب",
"mute_account": "Mute Account",
"unmute_account": "Unmute Account",
"delete_account": "حذف الحساب", "delete_account": "حذف الحساب",
"delete_account_as_admin": "Delete <strong>Account</strong>", "delete_account_as_admin": "Delete <strong>Account</strong>",
"delete_content": "Delete Account <strong>Content</strong>", "delete_content": "Delete Account <strong>Content</strong>",
@@ -24,7 +21,7 @@
"delete_account_content_confirm": "Are you sure you want to delete this account's content (posts/topics/uploads)? <br /><strong>This action is irreversible and you will not be able to recover any data</strong><br /><br />", "delete_account_content_confirm": "Are you sure you want to delete this account's content (posts/topics/uploads)? <br /><strong>This action is irreversible and you will not be able to recover any data</strong><br /><br />",
"delete_all_confirm": "Are you sure you want to delete this account and all of its content (posts/topics/uploads)? <br /><strong>This action is irreversible and you will not be able to recover any data</strong><br /><br />", "delete_all_confirm": "Are you sure you want to delete this account and all of its content (posts/topics/uploads)? <br /><strong>This action is irreversible and you will not be able to recover any data</strong><br /><br />",
"account-deleted": "تم حذف الحساب", "account-deleted": "تم حذف الحساب",
"account-content-deleted": "تم حذف محتوى حساب", "account-content-deleted": "Account content deleted",
"fullname": "الاسم الكامل", "fullname": "الاسم الكامل",
"website": "الموقع الإلكتروني", "website": "الموقع الإلكتروني",
"location": "الموقع", "location": "الموقع",
@@ -34,26 +31,25 @@
"profile": "الملف الشخصي", "profile": "الملف الشخصي",
"profile_views": "عدد المشاهدات", "profile_views": "عدد المشاهدات",
"reputation": "السمعة", "reputation": "السمعة",
"bookmarks": "المفضلات", "bookmarks": "Bookmarks",
"watched_categories": "الأقسام المُتابعة", "watched_categories": "Watched categories",
"change_all": "غير الكل", "change_all": "Change All",
"watched": "متابع", "watched": "متابع",
"ignored": "تم تجاهله", "ignored": "تم تجاهله",
"default-category-watch-state": "حالة مشاهدة اﻻقسام الافتراضية", "default-category-watch-state": "Default category watch state",
"followers": "المتابعون", "followers": "المتابعون",
"following": "يتابع", "following": "يتابع",
"blocks": "الكتل", "blocks": "Blocks",
"blocked-users": "Blocked users", "block_toggle": "Toggle Block",
"block_toggle": "تبديل الكتلة", "block_user": "Block User",
"block_user": "أحظر المستخدم", "unblock_user": "Unblock User",
"unblock_user": "ألغ حظر المستخدم",
"aboutme": "معلومة عنك او السيرة الذاتية", "aboutme": "معلومة عنك او السيرة الذاتية",
"signature": "توقيع", "signature": "توقيع",
"birthday": "عيد ميلاد", "birthday": "عيد ميلاد",
"chat": "محادثة", "chat": "محادثة",
"chat_with": "متابعة الدردشة مع %1", "chat_with": "متابعة الدردشة مع %1",
"new_chat_with": "بدء دردشة جديدة مع %1", "new_chat_with": "بدء دردشة جديدة مع %1",
"flag-profile": "ضع علامة على الملف الشخصي", "flag-profile": "Flag Profile",
"follow": "تابع", "follow": "تابع",
"unfollow": "إلغاء المتابعة", "unfollow": "إلغاء المتابعة",
"more": "المزيد", "more": "المزيد",
@@ -69,7 +65,6 @@
"upload_new_picture": "رفع صورة جديدة", "upload_new_picture": "رفع صورة جديدة",
"upload_new_picture_from_url": "رفع صورة جديدة من رابط", "upload_new_picture_from_url": "رفع صورة جديدة من رابط",
"current_password": "كلمة السر الحالية", "current_password": "كلمة السر الحالية",
"new_password": "New Password",
"change_password": "تغيير كلمة السر", "change_password": "تغيير كلمة السر",
"change_password_error": "كلمة سر غير صحيحة", "change_password_error": "كلمة سر غير صحيحة",
"change_password_error_wrong_current": "كلمة السر الحالية ليست صحيحة", "change_password_error_wrong_current": "كلمة السر الحالية ليست صحيحة",
@@ -89,7 +84,7 @@
"remove_cover_picture_confirm": "هل تريد بالتأكيد إزالة صورة الغلاف؟", "remove_cover_picture_confirm": "هل تريد بالتأكيد إزالة صورة الغلاف؟",
"crop_picture": "إقتصاص الصورة", "crop_picture": "إقتصاص الصورة",
"upload_cropped_picture": "إقتصاص ورفع", "upload_cropped_picture": "إقتصاص ورفع",
"avatar-background-colour": "لون الخلفية للصورة الرمزية", "avatar-background-colour": "Avatar background colour",
"settings": "خيارات", "settings": "خيارات",
"show_email": "أظهر بريدي الإلكتروني", "show_email": "أظهر بريدي الإلكتروني",
"show_fullname": "أظهر اسمي الكامل", "show_fullname": "أظهر اسمي الكامل",
@@ -99,29 +94,25 @@
"digest_off": "غير مفعل", "digest_off": "غير مفعل",
"digest_daily": "يوميا", "digest_daily": "يوميا",
"digest_weekly": "أسبوعيًّا", "digest_weekly": "أسبوعيًّا",
"digest_biweekly": "Bi-Weekly",
"digest_monthly": "شهريًّا", "digest_monthly": "شهريًّا",
"has_no_follower": "هذا المستخدم ليس لديه أية متابعين :(", "has_no_follower": "هذا المستخدم ليس لديه أية متابعين :(",
"follows_no_one": "هذا المستخدم لا يتابع أحد :(", "follows_no_one": "هذا المستخدم لا يتابع أحد :(",
"has_no_posts": "هذا المستخدم لم يشارك حتى الآن.", "has_no_posts": "هذا المستخدم لم يشارك حتى الآن.",
"has_no_best_posts": "This user does not have any upvoted posts yet.",
"has_no_topics": "هذا المستخدم لم يكتب أي موضوع حتى الآن.", "has_no_topics": "هذا المستخدم لم يكتب أي موضوع حتى الآن.",
"has_no_watched_topics": "هذا المستخدم لم يقم بمراقبة اية مواضيع حتى الآن.", "has_no_watched_topics": "هذا المستخدم لم يقم بمراقبة اية مواضيع حتى الآن.",
"has_no_ignored_topics": "هذا المستخدم لم يقم بتجاهل اية مواضيع حتى الآن.", "has_no_ignored_topics": "هذا المستخدم لم يقم بتجاهل اية مواضيع حتى الآن.",
"has_no_upvoted_posts": "هذا المستخدم لم يقم بالتصويت للأعلى لأي مشاركة حتى الآن.", "has_no_upvoted_posts": "هذا المستخدم لم يقم بالتصويت للأعلى لأي مشاركة حتى الآن.",
"has_no_downvoted_posts": "هذا المستخدم لم يقم بالتصويت للأسفل لأي مشاركة حتى الآن.", "has_no_downvoted_posts": "هذا المستخدم لم يقم بالتصويت للأسفل لأي مشاركة حتى الآن.",
"has_no_controversial_posts": "هذا المستخدم يمتلك تصويت للأسفل لأي مشاركة حتى الآن.", "has_no_voted_posts": "هذا المستخدم لا يمتلك اية مشاركات تم التصويت عليها",
"has_no_blocks": "أنت لم تحظر اي مستخدم", "has_no_blocks": "You have blocked no users.",
"email_hidden": "البريد الإلكتروني مخفي", "email_hidden": "البريد الإلكتروني مخفي",
"hidden": "مخفي", "hidden": "مخفي",
"paginate_description": "عرض المواضيع والردود موزعة على صفحات عوضاً عن التمرير اللانهائي.", "paginate_description": "عرض المواضيع والردود موزعة على صفحات عوضاً عن التمرير اللانهائي.",
"topics_per_page": "المواضيع في كل صفحة", "topics_per_page": "المواضيع في كل صفحة",
"posts_per_page": "الردود في كل صفحة", "posts_per_page": "الردود في كل صفحة",
"category-topic-sort": "Category topic sort",
"topic-post-sort": "Topic post sort",
"max_items_per_page": "أقصى %1", "max_items_per_page": "أقصى %1",
"acp_language": "لغة صفحة اﻻدارة", "acp_language": "Admin Page Language",
"notifications": "التنبيهات", "notifications": "Notifications",
"upvote-notif-freq": "معدل تكرار تنبيهات التصويت للأعلى", "upvote-notif-freq": "معدل تكرار تنبيهات التصويت للأعلى",
"upvote-notif-freq.all": "كل التصويتات للأعلى", "upvote-notif-freq.all": "كل التصويتات للأعلى",
"upvote-notif-freq.first": "First Per Post", "upvote-notif-freq.first": "First Per Post",
@@ -161,19 +152,12 @@
"info.banned-permanently": "محظور بشكل دائم", "info.banned-permanently": "محظور بشكل دائم",
"info.banned-reason-label": "سبب", "info.banned-reason-label": "سبب",
"info.banned-no-reason": "لم يتم إعطاء سبب.", "info.banned-no-reason": "لم يتم إعطاء سبب.",
"info.mute-history": "Recent Mute History",
"info.no-mute-history": "This user has never been muted",
"info.muted-until": "Muted until %1",
"info.muted-expiry": "Expiry",
"info.muted-no-reason": "No reason given.",
"info.username-history": "سجل اسم المستخدم", "info.username-history": "سجل اسم المستخدم",
"info.email-history": "سجل البريد الإلكتروني", "info.email-history": "سجل البريد الإلكتروني",
"info.moderation-note": "ملاحظة الإشراف", "info.moderation-note": "ملاحظة الإشراف",
"info.moderation-note.success": "تم حفظ ملاحظة الإشراف", "info.moderation-note.success": "تم حفظ ملاحظة الإشراف",
"info.moderation-note.add": "إضافة ملاحظة", "info.moderation-note.add": "إضافة ملاحظة",
"sessions.description": "This page allows you to view any active sessions on this forum and revoke them if necessary. You can revoke your own session by logging out of your account.", "sessions.description": "This page allows you to view any active sessions on this forum and revoke them if necessary. You can revoke your own session by logging out of your account.",
"revoke-session": "Revoke Session",
"browser-version-on-platform": "%1 %2 on %3",
"consent.title": "Your Rights &amp; Consent", "consent.title": "Your Rights &amp; Consent",
"consent.lead": "This community forum collects and processes your personal information.", "consent.lead": "This community forum collects and processes your personal information.",
"consent.intro": "We use this information strictly to personalise your experience in this community, as well as to associate the posts you make to your user account. During the registration step you were asked to provide a username and email address, you can also optionally provide additional information to complete your user profile on this website.<br /><br />We retain this information for the life of your user account, and you are able to withdraw consent at any time by deleting your account. At any time you may request a copy of your contribution to this website, via your Rights &amp; Consent page.<br /><br />If you have any questions or concerns, we encourage you to reach out to this forum's administrative team.", "consent.intro": "We use this information strictly to personalise your experience in this community, as well as to associate the posts you make to your user account. During the registration step you were asked to provide a username and email address, you can also optionally provide additional information to complete your user profile on this website.<br /><br />We retain this information for the life of your user account, and you are able to withdraw consent at any time by deleting your account. At any time you may request a copy of your contribution to this website, via your Rights &amp; Consent page.<br /><br />If you have any questions or concerns, we encourage you to reach out to this forum's administrative team.",
@@ -196,11 +180,5 @@
"consent.export_uploads": "Export Uploaded Content (.zip)", "consent.export_uploads": "Export Uploaded Content (.zip)",
"consent.export-uploads-success": "Exporting uploads, you will get a notification when it is complete.", "consent.export-uploads-success": "Exporting uploads, you will get a notification when it is complete.",
"consent.export_posts": "Export Posts (.csv)", "consent.export_posts": "Export Posts (.csv)",
"consent.export-posts-success": "Exporting posts, you will get a notification when it is complete.", "consent.export-posts-success": "Exporting posts, you will get a notification when it is complete."
"emailUpdate.intro": "Please enter your email address below. This forum uses your email address for scheduled digest and notifications, as well as for account recovery in the event of a lost password.",
"emailUpdate.optional": "<strong>This field is optional</strong>. You are not obligated to provide your email address, but without a validated email you will not be able to recover your account or login with your email.",
"emailUpdate.required": "<strong>This field is required</strong>.",
"emailUpdate.change-instructions": "A confirmation email will be sent to the entered email address with a unique link. Accessing that link will confirm your ownership of the email address and it will become active on your account. At any time, you are able to update your email on file from within your account page.",
"emailUpdate.password-challenge": "Please enter your password in order to verify account ownership.",
"emailUpdate.pending": "Your email address has not yet been confirmed, but an email has been sent out requesting confirmation. If you wish to invalidate that request and send a new confirmation request, please fill in the form below."
} }

View File

@@ -1,19 +1,17 @@
{ {
"all-users": "All Users",
"latest_users": "أحدث الأعضاء", "latest_users": "أحدث الأعضاء",
"top_posters": "اﻷكثر مشاركة", "top_posters": "اﻷكثر مشاركة",
"most_reputation": "أعلى سمعة", "most_reputation": "أعلى سمعة",
"most_flags": "معظم الأعلام", "most_flags": "Most Flags",
"search": "بحث", "search": "بحث",
"enter_username": "أدخل اسم مستخدم للبحث", "enter_username": "أدخل اسم مستخدم للبحث",
"search-user-for-chat": "Search for a user to start chat:",
"load_more": "حمل المزيد", "load_more": "حمل المزيد",
"users-found-search-took": "تم إيجاد %1 مستخدمـ(ين)! استغرق البحث %2 ثانية.", "users-found-search-took": "تم إيجاد %1 مستخدمـ(ين)! استغرق البحث %2 ثانية.",
"filter-by": "تصفية بحسب", "filter-by": "Filter By",
"online-only": "المتصلون فقط", "online-only": "المتصلون فقط",
"invite": "دعوة", "invite": "دعوة",
"prompt-email": "البريد الإلكتروني:", "prompt-email": "Emails:",
"groups-to-join": "المجموعات التي سيتم الانضمام إليها عند قبول الدعوة:", "groups-to-join": "Groups to be joined when invite is accepted:",
"invitation-email-sent": "تم إرسال دعوة بالبريد الإلكتروني إلى %1", "invitation-email-sent": "تم إرسال دعوة بالبريد الإلكتروني إلى %1",
"user_list": "قائمة اﻷعضاء", "user_list": "قائمة اﻷعضاء",
"recent_topics": "أحدث المواضيع", "recent_topics": "أحدث المواضيع",

View File

@@ -1,3 +0,0 @@
# The files here are not meant to be edited directly
Please see the &rarr; [Internalization README](../README.md).

View File

@@ -3,7 +3,5 @@
"alert.confirm-restart": "Наистина ли искате да рестартирате NodeBB?", "alert.confirm-restart": "Наистина ли искате да рестартирате NodeBB?",
"acp-title": "%1 | Контролен панел за администратори на NodeBB", "acp-title": "%1 | Контролен панел за администратори на NodeBB",
"settings-header-contents": "Съдържание", "settings-header-contents": "Съдържание"
"changes-not-saved": "Промените не са запазени",
"changes-not-saved-message": "Възникна проблем при запазването на промените Ви по NodeBB. (%1)"
} }

View File

@@ -1,8 +1,5 @@
{ {
"post-cache": "Кеш за публикации", "post-cache": "Кеш за публикации",
"group-cache": "Кеш за групи",
"local-cache": "Локален кеш",
"object-cache": "Кеш за обекти",
"percent-full": "Запълненост: %1%", "percent-full": "Запълненост: %1%",
"post-cache-size": "Размер на кеша за публикации", "post-cache-size": "Размер на кеша за публикации",
"items-in-cache": "Елементи в кеша" "items-in-cache": "Елементи в кеша"

View File

@@ -3,7 +3,6 @@
"no-events": "Няма събития", "no-events": "Няма събития",
"control-panel": "Контролен панел за събитията", "control-panel": "Контролен панел за събитията",
"delete-events": "Изтриване на събитията", "delete-events": "Изтриване на събитията",
"confirm-delete-all-events": "Наистина ли искате да изтриете всички събития в журнала?",
"filters": "Филтри", "filters": "Филтри",
"filters-apply": "Прилагане на филтрите", "filters-apply": "Прилагане на филтрите",
"filter-type": "Вид събитие", "filter-type": "Вид събитие",

View File

@@ -1,7 +1,7 @@
{ {
"custom-css": "Персонализиран CSS/SASS", "custom-css": "Персонализиран CSS/LESS",
"custom-css.description": "Въведете своите собствени декларации на CSS/SASS. Те ще бъдат приложени след всички останали стилове.", "custom-css.description": "Въведете своите собствени декларации на CSS/LESS, те ще бъдат приложени след всички останали стилове.",
"custom-css.enable": "Включване на персонализиран CSS/SASS", "custom-css.enable": "Включване на персонализиран CSS/LESS",
"custom-js": "Персонализиран код на Javascript", "custom-js": "Персонализиран код на Javascript",
"custom-js.description": "Въведете свой собствен код на javascript тук. Той ще бъде изпълнен след като страницата се зареди напълно.", "custom-js.description": "Въведете свой собствен код на javascript тук. Той ще бъде изпълнен след като страницата се зареди напълно.",

View File

@@ -56,8 +56,8 @@
"active-users.total": "Общо", "active-users.total": "Общо",
"active-users.connections": "Връзки", "active-users.connections": "Връзки",
"guest-registered-users": "Гости към регистрирани потребители", "anonymous-registered-users": "Анонимни към регистрирани потребители",
"guest": "Гост", "anonymous": "Анонимни",
"registered": "Регистрирани", "registered": "Регистрирани",
"user-presence": "Присъствие на потребителите ", "user-presence": "Присъствие на потребителите ",
@@ -68,7 +68,6 @@
"unread": "Непрочетени", "unread": "Непрочетени",
"high-presence-topics": "Теми с най-голяма присъственост", "high-presence-topics": "Теми с най-голяма присъственост",
"popular-searches": "Популярни търсения",
"graphs.page-views": "Преглеждания на страниците", "graphs.page-views": "Преглеждания на страниците",
"graphs.page-views-registered": "Преглеждания на страниците от регистрирани потребители", "graphs.page-views-registered": "Преглеждания на страниците от регистрирани потребители",
@@ -76,18 +75,14 @@
"graphs.page-views-bot": "Преглеждания на страниците от ботове", "graphs.page-views-bot": "Преглеждания на страниците от ботове",
"graphs.unique-visitors": "Уникални посетители", "graphs.unique-visitors": "Уникални посетители",
"graphs.registered-users": "Регистрирани потребители", "graphs.registered-users": "Регистрирани потребители",
"graphs.guest-users": "Гости", "graphs.anonymous-users": "Анонимни потребители",
"last-restarted-by": "Последно рестартиране от", "last-restarted-by": "Последно рестартиране от",
"no-users-browsing": "Няма разглеждащи потребители", "no-users-browsing": "Няма разглеждащи потребители",
"back-to-dashboard": "Назад към таблото", "back-to-dashboard": "Назад към таблото",
"details.no-users": "В избрания период не са се регистрирали нови потребители", "details.no-users": "В избрания период не са се регистрирали нови потребители",
"details.no-topics": "В избрания период не са публикувани нови теми", "details.no-topics": "В избрания период не са публикувани нови теми",
"details.no-searches": "В избрания период не са правени търсения",
"details.no-logins": "В избрания период не са отчетени вписвания", "details.no-logins": "В избрания период не са отчетени вписвания",
"details.logins-static": "NodeBB запазва данни за сесията в продължение на %1 дни, така че в следната таблица могат да се видят само последните активни сесии", "details.logins-static": "NodeBB запазва данни за сесията в продължение на %1 дни, така че в следната таблица могат да се видят само последните активни сесии",
"details.logins-login-time": "Време на вписване", "details.logins-login-time": "Време на вписване"
"start": "Начало",
"end": "Край",
"filter": "Филтриране"
} }

View File

@@ -8,11 +8,7 @@
"nodejs": "nodejs", "nodejs": "nodejs",
"online": "на линия", "online": "на линия",
"git": "git", "git": "git",
"process-memory": "памет на процеса", "memory": "памет",
"system-memory": "системна памет",
"used-memory-process": "Използвана памет от процеса",
"used-memory-os": "Използвана системна памет",
"total-memory-os": "Обща системна памет",
"load": "натоварване на системата", "load": "натоварване на системата",
"cpu-usage": "използване на процесора", "cpu-usage": "използване на процесора",
"uptime": "активно време", "uptime": "активно време",

View File

@@ -8,6 +8,8 @@
"delete": "Изтриване", "delete": "Изтриване",
"enable": "Включване", "enable": "Включване",
"disable": "Изключване", "disable": "Изключване",
"control-panel": "Управление на наградите",
"new-reward": "Нова награда",
"alert.delete-success": "Наградата е изтрита успешно", "alert.delete-success": "Наградата е изтрита успешно",
"alert.no-inputs-found": "Неправомерна награда — няма нищо въведено!", "alert.no-inputs-found": "Неправомерна награда — няма нищо въведено!",

View File

@@ -8,9 +8,9 @@
"containers.none": "Няма", "containers.none": "Няма",
"container.well": "Кладенец", "container.well": "Кладенец",
"container.jumbotron": "Джъмботрон", "container.jumbotron": "Джъмботрон",
"container.card": "Карта", "container.panel": "Панел",
"container.card-header": "Заглавна част на карта", "container.panel-header": "Заглавна част на панел",
"container.card-body": "Основна част на карта", "container.panel-body": "Основна част на панел",
"container.alert": "Предупреждение", "container.alert": "Предупреждение",
"alert.confirm-delete": "Наистина ли искате да изтриете джаджата?", "alert.confirm-delete": "Наистина ли искате да изтриете джаджата?",
@@ -26,7 +26,5 @@
"container.placeholder": "Завлачете и пуснете контейнер или въведете HTML тук.", "container.placeholder": "Завлачете и пуснете контейнер или въведете HTML тук.",
"show-to-groups": "Показване на групите", "show-to-groups": "Показване на групите",
"hide-from-groups": "Скриване от групите", "hide-from-groups": "Скриване от групите",
"start-date": "Начална дата",
"end-date": "Крайна дата",
"hide-on-mobile": "Скриване на мобилни устройства" "hide-on-mobile": "Скриване на мобилни устройства"
} }

View File

@@ -0,0 +1,79 @@
{
"forum-traffic": "Трафик на форума",
"page-views": "Преглеждания на страниците",
"unique-visitors": "Уникални посетители",
"new-users": "Нови потребители",
"posts": "Публикации",
"topics": "Теми",
"page-views-seven": "Последните 7 дни",
"page-views-thirty": "Последните 30 дни",
"page-views-last-day": "Последните 24 часа",
"page-views-custom": "Интервал по избор",
"page-views-custom-start": "Начална дата",
"page-views-custom-end": "Крайна дата",
"page-views-custom-help": "Въведете интервал от дати, за които искате да видите преглежданията на страниците. Ако не се появи календар за избор, можете да въведете датите във формат: <code>ГГГГ-ММ-ДД</code>",
"page-views-custom-error": "Моля, въведете правилен интервал от дати във формата: <code>ГГГГ-ММ-ДД</code>",
"stats.yesterday": "Вчера",
"stats.today": "Днес",
"stats.last-week": "Миналата седмица",
"stats.this-week": "Тази седмица",
"stats.last-month": "Миналия месец",
"stats.this-month": "Този месец",
"stats.all": "От началото",
"updates": "Обновления",
"running-version": "Вие използвате <strong>NodeBB версия <span id=\"version\">%1</span></strong>.",
"keep-updated": "Стремете се винаги да използвате най-новата версия на NodeBB, за да се възползвате от последните подобрения на сигурността и поправки на проблеми.",
"up-to-date": "<p>Вие използвате <strong>най-новата версия</strong> <i class=\"fa fa-check\"></i></p>",
"upgrade-available": "<p>Има нова версия (версия %1). Ако имате възможност, <a href=\"https://docs.nodebb.org/configuring/upgrade/\" target=\"_blank\">обновете NodeBB</a>.</p>",
"prerelease-upgrade-available": "<p>Това е остаряла предварителна версия на NodeBB. Има нова версия (версия %1). Ако имате възможност, <a href=\"https://docs.nodebb.org/configuring/upgrade/\" target=\"_blank\">обновете NodeBB</a>.</p>",
"prerelease-warning": "<p>Това е версия за <strong>предварителен преглед</strong> на NodeBB. Възможно е да има неочаквани неизправности. <i class=\"fa fa-exclamation-triangle\"></i></p>",
"running-in-development": "<span>Форумът работи в режим за разработчици, така че може да бъде уязвим. Моля, свържете се със системния си администратор.</span>",
"latest-lookup-failed": "<p>Не може да бъде извършена проверка за последната налична версия на NodeBB</p>",
"notices": "Забележки",
"restart-not-required": "Не се изисква рестартиране",
"restart-required": "Изисква се рестартиране",
"search-plugin-installed": "Добавката за търсене е инсталирана",
"search-plugin-not-installed": "Добавката за търсене не е инсталирана",
"search-plugin-tooltip": "Инсталирайте добавка за търсене от страницата с добавките, за да включите функционалността за търсене",
"control-panel": "Системен контрол",
"rebuild-and-restart": "Повторно изграждане и рестартиране",
"restart": "Рестартиране",
"restart-warning": "Повторното изграждане и рестартирането на NodeBB ще прекъснат всички връзки за няколко секунди.",
"restart-disabled": "Възможностите за повторно изграждане и рестартиране на NodeBB са изключени, тъй като изглежда, че NodeBB не се изпълнява чрез подходящия демон.",
"maintenance-mode": "Режим на профилактика",
"maintenance-mode-title": "Щракнете тук, за да зададете режим на профилактика на NodeBB",
"realtime-chart-updates": "Актуализации на таблиците в реално време",
"active-users": "Дейни потребители",
"active-users.users": "Потребители",
"active-users.guests": "Гости",
"active-users.total": "Общо",
"active-users.connections": "Връзки",
"anonymous-registered-users": "Анонимни към регистрирани потребители",
"anonymous": "Анонимни",
"registered": "Регистрирани",
"user-presence": "Присъствие на потребителите ",
"on-categories": "В списъка с категории",
"reading-posts": "Четящи публикации",
"browsing-topics": "Разглеждащи теми",
"recent": "Скорошни",
"unread": "Непрочетени",
"high-presence-topics": "Теми с най-голяма присъственост",
"graphs.page-views": "Преглеждания на страниците",
"graphs.page-views-registered": "Преглеждания на страниците от регистрирани потребители",
"graphs.page-views-guest": "Преглеждания на страниците от гости",
"graphs.page-views-bot": "Преглеждания на страниците от ботове",
"graphs.unique-visitors": "Уникални посетители",
"graphs.registered-users": "Регистрирани потребители",
"graphs.anonymous-users": "Анонимни потребители",
"last-restarted-by": "Последно рестартиране от",
"no-users-browsing": "Няма разглеждащи потребители"
}

View File

@@ -0,0 +1,8 @@
{
"home-page": "Начална страница",
"description": "Изберете коя страница да бъде показана, когато потребителите отидат на главния адрес на форума.",
"home-page-route": "Път на началната страница",
"custom-route": "Персонализиран път",
"allow-user-home-pages": "Разрешаване на потребителските начални страници",
"home-page-title": "Заглавие на началната страница (по подразбиране: „Начало“)"
}

View File

@@ -0,0 +1,6 @@
{
"language-settings": "Езикови настройки",
"description": "Езикът по подразбиране определя езиковите настройки за всички потребители, които посещават Вашия форум. <br />Отделните потребители могат да сменят езика си от страницата с настройки на профила си.",
"default-language": "Език по подразбиране",
"auto-detect": "Автоматично разпознаване на езика за гостите"
}

View File

@@ -0,0 +1,23 @@
{
"icon": "Иконка:",
"change-icon": "промяна",
"route": "Маршрут:",
"tooltip": "Подсказка:",
"text": "Текст:",
"text-class": "Текстов клас: <small>незадължително</small>",
"class": "Клас: <small>незадължително</small>",
"id": "Идентификатор: <small>незадължително</small>",
"properties": "Свойства:",
"groups": "Групи:",
"open-new-window": "Отваряне в нов прозорец",
"btn.delete": "Изтриване",
"btn.disable": "Изключване",
"btn.enable": "Включване",
"available-menu-items": "Налични елементи за менюто",
"custom-route": "Персонализиран маршрут",
"core": "ядро",
"plugin": "добавка"
}

View File

@@ -0,0 +1,5 @@
{
"post-sharing": "Споделяне на публикации",
"info-plugins-additional": "Добавките могат да добавят допълнителни мрежи за споделяне на публикации.",
"save-success": "Мрежите за споделяне на публикации са запазени успешно!"
}

Some files were not shown because too many files have changed in this diff Show More