`admin/extend` translations

v1.18.x
Peter Jaszkowiak 8 years ago committed by Julian Lam
parent 50aed01c57
commit 3cd6a8a94b

@ -0,0 +1,29 @@
{
"installed": "Installed",
"active": "Active",
"inactive": "Inactive",
"out-of-date": "Out of Date",
"find-plugins": "Find Plugins",
"plugin-search": "Plugin Search",
"plugin-search-placeholder": "Search for plugin...",
"reorder-plugins": "Re-order Plugins",
"order-active": "Order Active Plugins",
"dev-interested": "Interested in writing plugins for NodeBB?",
"docs-info": "Full documentation regarding plugin authoring can be found in the <a target=\"_blank\" href=\"https://docs.nodebb.org/en/latest/plugins/create.html\">NodeBB Docs Portal</a>.",
"order.description": "Certain plugins work ideally when they are initialised before/after other plugins.",
"order.explanation": "Plugins load in the order specified here, from top to bottom",
"plugin-item.themes": "Themes",
"plugin-item.deactivate": "Deactivate",
"plugin-item.activate": "Activate",
"plugin-item.uninstall": "Uninstall",
"plugin-item.settings": "Settings",
"plugin-item.installed": "Installed",
"plugin-item.latest": "Latest",
"plugin-item.upgrade": "Upgrade",
"plugin-item.more-info": "For more information:",
"plugin-item.unknown": "Unknown",
"plugin-item.unknown-explanation": "The state of this plugin could not be determined, possibly due to a misconfiguration error."
}

@ -0,0 +1,13 @@
{
"rewards": "Rewards",
"condition-if-users": "If User's",
"condition-is": "Is:",
"condition-then": "Then:",
"max-claims": "Amount of times reward is claimable",
"zero-infinite": "Enter 0 for infinite",
"delete": "Delete",
"enable": "Enable",
"disable": "Disable",
"control-panel": "Rewards Control",
"new-reward": "New Reward"
}

@ -0,0 +1,14 @@
{
"available": "Available Widgets",
"explanation": "Select a widget from the dropdown menu and then drag and drop it into a template's widget area on the left.",
"none-installed": "No widgets found! Activate the essential widgets plugin in the <a href=\"%1\">plugins</a> control panel.",
"containers.available": "Available Containers",
"containers.explanation": "Drag and drop on top of any active widget",
"containers.none": "None",
"container.well": "Well",
"container.jumbotron": "Jumbotron",
"container.panel": "Panel",
"container.panel-header": "Panel Header",
"container.panel-body": "Panel Body",
"container.alert": "Alert"
}

@ -1,12 +1,12 @@
<ul class="nav nav-pills">
<li class="active"><a href="#installed" data-toggle="tab">Installed</a></li>
<li><a href="#active" data-toggle="tab">Active</a></li>
<li><a href="#deactive" data-toggle="tab">Inactive</a></li>
<li class="active"><a href="#installed" data-toggle="tab">[[admin/extend/plugins:installed]]</a></li>
<li><a href="#active" data-toggle="tab">[[admin/extend/plugins:active]]</a></li>
<li><a href="#deactive" data-toggle="tab">[[admin/extend/plugins:inactive]]</a></li>
<li><a href="#upgrade" data-toggle="tab">
Out of Date
[[admin/extend/plugins:out-of-date]]
<span class="badge">{upgradeCount}</span>
</a></li>
<li><a href="#download" data-toggle="tab">Find Plugins</a></li>
<li><a href="#download" data-toggle="tab">[[admin/extend/plugins:find-plugins]]</a></li>
</ul>
<br />
@ -41,24 +41,24 @@
<div class="col-lg-3 acp-sidebar">
<div class="panel panel-default">
<div class="panel-heading">Plugin Search</div>
<div class="panel-heading">[[admin/extend/plugins:plugin-search]]</div>
<div class="panel-body">
<input autofocus class="form-control" type="text" id="plugin-search" placeholder="Search for plugin..."/><br/>
<input autofocus class="form-control" type="text" id="plugin-search" placeholder="[[admin/extend/plugins:plugin-search-placeholder]]"/><br/>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">Re-order Plugins</div>
<div class="panel-heading">[[admin/extend/plugins:reorder-plugins]]</div>
<div class="panel-body">
<button class="btn btn-default btn-block" id="plugin-order"><i class="fa fa-exchange"></i> Order Active Plugins</button>
<button class="btn btn-default btn-block" id="plugin-order"><i class="fa fa-exchange"></i> [[admin/extend/plugins:order-active]]</button>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">Interested in writing plugins for NodeBB?</div>
<div class="panel-heading">[[admin/extend/plugins:dev-interested]]</div>
<div class="panel-body">
<p>
Full documentation regarding plugin authoring can be found in the <a target="_blank" href="https://docs.nodebb.org/en/latest/plugins/create.html">NodeBB Docs Portal</a>.
[[admin/extend/plugins:documentation-info]]
</p>
</div>
</div>
@ -70,20 +70,20 @@
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
<h4 class="modal-title">Order Active Plugins</h4>
<h4 class="modal-title">[[admin/extend/plugins:order-active]]</h4>
</div>
<div class="modal-body">
<p>
Certain plugins work ideally when they are initialised before/after other plugins.
[[admin/extend/plugins:order.description]]
</p>
<p>
Plugins load in the order specified here, from top to bottom
[[admin/extend/plugins:order.explanation]]
</p>
<ul class="plugin-list"></ul>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
<button type="button" class="btn btn-primary" id="save-plugin-order">Save</button>
<button type="button" class="btn btn-default" data-dismiss="modal">[[global:buttons.close]]</button>
<button type="button" class="btn btn-primary" id="save-plugin-order">[[global:save]]</button>
</div>
</div>
</div>

@ -1,14 +1,14 @@
<div id="rewards">
<div class="col-lg-9">
<div class="panel panel-default">
<div class="panel-heading">Rewards</div>
<div class="panel-heading">[[admin/extend/rewards:rewards]]</div>
<div class="panel-body">
<ul id="active">
<!-- BEGIN active -->
<li data-rid="{active.rid}" data-id="{active.id}">
<form class="main inline-block">
<div class="well inline-block">
<label for="condition">If User's</label><br />
<label for="condition">[[admin/extend/rewards:condition-if-users]]</label><br />
<select name="condition" data-selected="{active.condition}">
<!-- BEGIN conditions -->
<option value="{conditions.condition}">{conditions.name}</option>
@ -16,7 +16,7 @@
</select>
</div>
<div class="well inline-block">
<label for="condition">Is:</label><br />
<label for="condition">[[admin/extend/rewards:condition-is]]</label><br />
<select name="conditional" data-selected="{active.conditional}">
<!-- BEGIN conditionals -->
<option value="{conditionals.conditional}">{conditionals.name}</option>
@ -25,7 +25,7 @@
<input type="text" name="value" value="{active.value}" />
</div>
<div class="well inline-block">
<label for="condition">Then:</label><br />
<label for="condition">[[admin/extend/rewards:condition-then]]</label><br />
<select name="rid" data-selected="{active.rid}">
<!-- BEGIN rewards -->
<option value="{rewards.rid}">{rewards.name}</option>
@ -42,17 +42,17 @@
<div class="pull-right">
<div class="panel-body inline-block">
<form class="main">
<label for="claimable">Amount of times reward is claimable</label><br />
<label for="claimable">[[admin/extend/rewards:max-claims]]</label><br />
<input type="text" name="claimable" value="{active.claimable}" placeholder="1" />
<small>Enter 0 for infinite</small>
<small>[[admin/extend/rewards:zero-infinite]]</small>
</form>
</div>
<div class="panel-body inline-block">
<button class="btn btn-danger delete">Delete</button>
<button class="btn btn-danger delete">[[admin/extend/rewards:delete]]</button>
<!-- IF active.disabled -->
<button class="btn btn-success toggle">Enable</button>
<button class="btn btn-success toggle">[[admin/extend/rewards:enable]]</button>
<!-- ELSE -->
<button class="btn btn-warning toggle">Disable</button>
<button class="btn btn-warning toggle">[[admin/extend/rewards:disable]]</button>
<!-- ENDIF active.disabled -->
</div>
</div>
@ -66,10 +66,10 @@
<div class="col-lg-3 acp-sidebar">
<div class="panel panel-default">
<div class="panel-heading">Rewards Control</div>
<div class="panel-heading">[[admin/extend/rewards:control-panel]]</div>
<div class="panel-body">
<button class="btn btn-success btn-md" id="new">New Reward</button>
<button class="btn btn-primary btn-md" id="save">Save Changes</button>
<button class="btn btn-success btn-md" id="new">[[admin/extend/rewards:new-reward]]</button>
<button class="btn btn-primary btn-md" id="save">[[global:save_changes]]</button>
</div>
</div>
</div>

@ -28,12 +28,12 @@
<div class="col-md-5">
<div class="panel panel-default">
<div class="panel-heading">Available Widgets</div>
<div class="panel-heading">[[admin/extend/widgets:available]]</div>
<div class="panel-body">
<div class="available-widgets">
<p>Select a widget from the dropdown menu and then drag and drop it into a template's widget area on the left.</p>
<p>[[admin/extend/widgets:explanation]]</p>
<!-- IF !widgets.length -->
<div class="alert alert-info">No widgets found! Activate the essential widgets plugin in the <a href="{config.relative_path}/admin/extend/plugins">plugins</a> control panel.</div>
<div class="alert alert-info">[[none-installed, {config.relative_path}/admin/extend/plugins]]</div>
<!-- ENDIF !widgets.length -->
<p>
<select id="widget-selector" class="form-control">
@ -63,28 +63,28 @@
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">Available Containers</div>
<div class="panel-heading">[[admin/extend/widgets:containers.available]]</div>
<div class="panel-body">
<p>Drag and drop on top of any active widget</p>
<p>[[admin/extend/widgets:containers.explanation]]</p>
<div class="available-containers">
<div class="containers">
<div class="pointer" style="padding: 20px; border: 1px dotted #dedede; margin-bottom: 20px;" data-container-html=" ">
None
[[admin/extend/widgets:containers.none]]
</div>
<div class="well pointer" data-container-html='<div class="well">\{{body\}}</div>'>
Well
[[admin/extend/widgets:container.well]]
</div>
<div class="jumbotron pointer" data-container-html='<div class="jumbotron">\{{body\}}</div>'>
Jumbotron
[[admin/extend/widgets:container.jumbotron]]
</div>
<div class="panel" data-container-html='<div class="panel panel-default"><div class="panel-body">\{{body\}}</div></div>'>
<div class="panel-body pointer">
Panel
[[admin/extend/widgets:container.panel]]
</div>
</div>
<div class="panel panel-default pointer" data-container-html='<div class="panel panel-default"><div class="panel-heading"><h3 class="panel-title">\{{title\}}</h3></div><div class="panel-body">\{{body\}}</div></div>'>
<div class="panel-heading">
Panel Header
[[admin/extend/widgets:container.panel-header]]
<div class="pull-right color-selector">
<button data-class="panel-default" class="btn btn-xs">&nbsp;&nbsp;</button>
<button data-class="panel-primary" class="btn btn-xs btn-primary">&nbsp;&nbsp;</button>
@ -95,12 +95,12 @@
</div>
</div>
<div class="panel-body">
Panel Body
[[admin/extend/widgets:container.panel-body]]
</div>
</div>
<div class="alert alert-info pointer" data-container-html='<div class="alert alert-info">\{{body\}}</div>'>
Alert
[[admin/extend/widgets:container.alert]]
<div class="pull-right color-selector">
<button data-class="alert-success" class="btn btn-xs btn-success">&nbsp;&nbsp;</button>
<button data-class="alert-info" class="btn btn-xs btn-info">&nbsp;&nbsp;</button>

@ -2,16 +2,17 @@
<li id="{installed.id}" data-plugin-id="{installed.id}" data-version="{installed.version}" class="clearfix <!-- IF installed.active -->active<!-- ENDIF installed.active -->">
<div class="pull-right controls">
<!-- IF installed.isTheme -->
<a href="{config.relative_path}/admin/appearance/themes" class="btn btn-info">Themes</a>
<a href="{config.relative_path}/admin/appearance/themes" class="btn btn-info">[[admin/extend/plugins:themes]]</a>
<!-- ELSE -->
<button data-action="toggleActive" class="btn <!-- IF installed.active --> btn-warning<!-- ELSE --> btn-success<!-- ENDIF installed.active -->"><i class="fa fa-power-off"></i> <!-- IF installed.active -->Deactivate<!-- ELSE -->Activate<!-- ENDIF installed.active --></button>
<button data-action="toggleActive" class="btn <!-- IF installed.active --> btn-warning<!-- ELSE --> btn-success<!-- ENDIF installed.active -->">
<i class="fa fa-power-off"></i> <!-- IF installed.active -->[[admin/extend/plugins:plugin-item.deactivate]]<!-- ELSE -->[[admin/extend/plugins:plugin-item.activate]]<!-- ENDIF installed.active --></button>
<!-- ENDIF installed.isTheme -->
<button data-action="toggleInstall" data-installed="1" class="btn btn-danger"><i class="fa fa-trash-o"></i> Uninstall</button>
<button data-action="toggleInstall" data-installed="1" class="btn btn-danger"><i class="fa fa-trash-o"></i> [[admin/extend/plugins:plugin-item.uninstall]]</button>
<!-- IF installed.active -->
<!-- IF installed.settingsRoute -->
<a href="{config.relative_path}{installed.settingsRoute}" class="btn btn-primary"><i class="fa fa-wrench"></i> Settings </a>
<a href="{config.relative_path}{installed.settingsRoute}" class="btn btn-primary"><i class="fa fa-wrench"></i> [[admin/extend/plugins:plugin-item.settings]]</a>
<!-- ENDIF installed.settingsRoute -->
<!-- ENDIF installed.active -->
</div>
@ -21,27 +22,32 @@
<!-- IF installed.description -->
<p>{installed.description}</p>
<!-- ENDIF installed.description -->
<!-- IF installed.outdated --><i class="fa fa-exclamation-triangle text-danger"></i> <!-- ENDIF installed.outdated --><small>Installed <strong class="currentVersion">{installed.version}</strong> | Latest <strong class="latestVersion">{installed.latest}</strong></small>
<!-- IF installed.outdated --><i class="fa fa-exclamation-triangle text-danger"></i> <!-- ENDIF installed.outdated -->
<small>[[admin/extend/plugins:plugin-item.installed]] <strong class="currentVersion">{installed.version}</strong> | [[admin/extend/plugins:plugin-item.latest]] <strong class="latestVersion">{installed.latest}</strong></small>
<!-- IF installed.outdated -->
<button data-action="upgrade" class="btn btn-success btn-xs"><i class="fa fa-download"></i> Upgrade</button>
<button data-action="upgrade" class="btn btn-success btn-xs"><i class="fa fa-download"></i> [[admin/extend/plugins:plugin-item.upgrade]]</button>
<!-- ENDIF installed.outdated -->
<!-- IF installed.url -->
<p>For more information: <a target="_blank" href="{installed.url}">{installed.url}</a></p>
<p>[[admin/extend/plugins:plugin-item.more-info]] <a target="_blank" href="{installed.url}">{installed.url}</a></p>
<!-- ENDIF installed.url -->
</li>
<!-- ENDIF !installed.error -->
<!-- IF installed.error -->
<li data-plugin-id="{installed.id}" class="clearfix">
<div class="pull-right">
<button class="btn btn-default disabled"><i class="fa fa-exclamation-triangle"></i> Unknown</button>
<button class="btn btn-default disabled"><i class="fa fa-exclamation-triangle"></i> [[admin/extend/plugins:plugin-item.unknown]]</button>
<<<<<<< HEAD
<button data-action="toggleInstall" data-installed="1" class="btn btn-danger"><i class="fa fa-trash-o"></i> Uninstall</button>
=======
<button data-action="toggleInstall" data-installed="1" class="btn btn-danger"><i class="fa fa-trash-o"></i> [[admin/extend/plugins:plugin-item.uninstall]]</button>
>>>>>>> `admin/extend` translations
</div>
<h2><strong>{installed.id}</strong></h2>
<p>
The state of this plugin could not be determined, possibly due to a misconfiguration error.
[[admin/extend/plugins:plugin-item.unknown-explanation]]
</p>
</li>
<!-- ENDIF installed.error -->

Loading…
Cancel
Save