mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Add strings for #1116 to intro page.
This commit is contained in:
parent
48c16c3dcc
commit
e40d4ef829
7
public/js/ff/intro/intro.js
vendored
7
public/js/ff/intro/intro.js
vendored
@ -18,8 +18,7 @@
|
||||
* along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/** global: routeForTour, token, routeStepsUri, routeForFinishedTour, forceDemoOff */
|
||||
|
||||
/** global: nextLabel, prevLabel,skipLabel,doneLabel routeForTour, token, routeStepsUri, routeForFinishedTour, forceDemoOff */
|
||||
$(function () {
|
||||
"use strict";
|
||||
if (!forceDemoOff) {
|
||||
@ -31,6 +30,10 @@ function setupIntro(steps) {
|
||||
|
||||
var intro = introJs();
|
||||
intro.setOptions({
|
||||
nextLabel: nextLabel,
|
||||
prevLabel: prevLabel,
|
||||
skipLabel: skipLabel,
|
||||
doneLabel: doneLabel,
|
||||
steps: steps,
|
||||
exitOnEsc: true,
|
||||
exitOnOverlayClick: true,
|
||||
|
@ -112,6 +112,10 @@ return [
|
||||
'multi_select_n_selected' => 'selected',
|
||||
'multi_select_all_selected' => 'All selected',
|
||||
'multi_select_filter_placeholder' => 'Find..',
|
||||
'intro_next_label' => 'Next',
|
||||
'intro_prev_label' => 'Previous',
|
||||
'intro_skip_label' => 'Skip',
|
||||
'intro_done_label' => 'Done',
|
||||
'between_dates_breadcrumb' => 'Between :start and :end',
|
||||
'all_journals_without_budget' => 'All transactions without a budget',
|
||||
'journals_without_budget' => 'Transactions without a budget',
|
||||
|
@ -159,5 +159,9 @@ return [
|
||||
'spectre_accounts_title' => 'Select accounts to import from',
|
||||
'spectre_accounts_text' => 'Each account on the left below has been found by Spectre and can be imported into Firefly III. Please select the asset account that should hold any given transactions. If you do not wish to import from any particular account, remove the check from the checkbox.',
|
||||
'spectre_do_import' => 'Yes, import from this account',
|
||||
|
||||
|
||||
// various other strings:
|
||||
'imported_from_account' => 'Imported from ":account"',
|
||||
];
|
||||
|
||||
|
@ -191,6 +191,10 @@
|
||||
<script type="text/javascript" src="js/ff/help.js?v={{ FF_VERSION }}"></script>
|
||||
{% if not shownDemo %}
|
||||
<script type="text/javascript">
|
||||
var nextLabel = "{{ trans('firefly.intro_next_label')|escape('js') }}";
|
||||
var prevLabel = "{{ trans('firefly.intro_prev_label')|escape('js') }}";
|
||||
var skipLabel = "{{ trans('firefly.intro_skip_label')|escape('js') }}";
|
||||
var doneLabel = "{{ trans('firefly.intro_done_label')|escape('js') }}";
|
||||
var routeForTour = "{{ current_route_name }}";
|
||||
var routeStepsUri = "{{ route('json.intro', [current_route_name, what|default("")]) }}";
|
||||
var routeForFinishedTour = "{{ route('json.intro.finished', [current_route_name, what|default("")]) }}";
|
||||
|
Loading…
Reference in New Issue
Block a user