Skip to content

Firefly III: a personal finances manager

From 'title' to 'inputDescription'

James Cole88172dbc7c49
diff --git a/resources/assets/js/components/transactions/AccountSelect.vue b/resources/assets/js/components/transactions/AccountSelect.vue
index 44fb2442dd..2d0d5c4a42 100644
--- a/resources/assets/js/components/transactions/AccountSelect.vue
+++ b/resources/assets/js/components/transactions/AccountSelect.vue
@@ -20,14 +20,14 @@
<template>
<div class="form-group" v-bind:class="{ 'has-error': hasError()}">
<div class="col-sm-12 text-sm">
- {{ title }}
+ {{ inputDescription }}
</div>
<div class="col-sm-12">
<div class="input-group">
<input
ref="input"
type="text"
- :placeholder="title"
+ :placeholder="inputDescription"
:data-index="index"
autocomplete="off"
data-role="input"
@@ -36,7 +36,7 @@
class="form-control"
v-on:submit.prevent
:name="inputName"
- :title="title">
+ :title="inputDescription">
<span class="input-group-btn">
<button
v-on:click="clearSource"
@@ -65,7 +65,7 @@
export default {
props: {
inputName: String,
- title: String,
+ inputDescription: String,
index: Number,
transactionType: String,
error: Array,
@@ -206,4 +206,4 @@
<style scoped>
-</style>
\ No newline at end of file
+</style>
diff --git a/resources/assets/js/components/transactions/CreateTransaction.vue b/resources/assets/js/components/transactions/CreateTransaction.vue
index 7d80cf0286..924c82b3a5 100644
--- a/resources/assets/js/components/transactions/CreateTransaction.vue
+++ b/resources/assets/js/components/transactions/CreateTransaction.vue
@@ -65,7 +65,7 @@
</transaction-description>
<account-select
inputName="source[]"
- v-bind:title="$t('firefly.source_account')"
+ v-bind:inputDescription="$t('firefly.source_account')"
:accountName="transaction.source_account.name"
:accountTypeFilters="transaction.source_account.allowed_types"
:defaultAccountTypeFilters="transaction.source_account.default_allowed_types"
@@ -77,7 +77,7 @@
></account-select>
<account-select
inputName="destination[]"
- v-bind:title="$t('firefly.destination_account')"
+ v-bind:inputDescription="$t('firefly.destination_account')"
:accountName="transaction.destination_account.name"
:accountTypeFilters="transaction.destination_account.allowed_types"
:defaultAccountTypeFilters="transaction.destination_account.default_allowed_types"
diff --git a/resources/assets/js/components/transactions/EditTransaction.vue b/resources/assets/js/components/transactions/EditTransaction.vue
index b990f7b100..339f874b32 100644
--- a/resources/assets/js/components/transactions/EditTransaction.vue
+++ b/resources/assets/js/components/transactions/EditTransaction.vue
@@ -66,7 +66,7 @@
</transaction-description>
<account-select v-if="transactionType.toLowerCase() !== 'reconciliation'"
inputName="source[]"
- v-bind:title="$t('firefly.source_account')"
+ v-bind:inputDescription="$t('firefly.source_account')"
:accountName="transaction.source_account.name"
:accountTypeFilters="transaction.source_account.allowed_types"
:transactionType="transactionType"
@@ -86,7 +86,7 @@
</div>
<account-select v-if="transactionType.toLowerCase() !== 'reconciliation'"
inputName="destination[]"
- v-bind:title="$t('firefly.destination_account')"
+ v-bind:inputDescription="$t('firefly.destination_account')"
:accountName="transaction.destination_account.name"
:accountTypeFilters="transaction.destination_account.allowed_types"
:transactionType="transactionType"