mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Use more precise strings in gnc-split-reg.c
You can edit the account very well, but not its transactions.
This commit is contained in:
parent
404357a81c
commit
dc8f1057ce
@ -2622,10 +2622,11 @@ gnc_split_reg_determine_read_only( GNCSplitReg *gsr )
|
|||||||
reg = gnc_ledger_display_get_split_register( gsr->ledger );
|
reg = gnc_ledger_display_get_split_register( gsr->ledger );
|
||||||
if(reg->mismatched_commodities)
|
if(reg->mismatched_commodities)
|
||||||
{
|
{
|
||||||
string = _("This account may not be edited because its"
|
string = _("The transactions of this account may not be edited "
|
||||||
" subaccounts have mismatched commodities or currencies."
|
"because its subaccounts have mismatched commodities "
|
||||||
"You need to open each account individually to "
|
"or currencies.\n"
|
||||||
"edit transactions.");
|
"You need to open each account individually to edit "
|
||||||
|
"transactions.");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -2636,19 +2637,19 @@ gnc_split_reg_determine_read_only( GNCSplitReg *gsr )
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
case PLACEHOLDER_THIS:
|
case PLACEHOLDER_THIS:
|
||||||
string = _("This account may not be edited. If you want "
|
string = _("The transactions of this account may not be edited.\n"
|
||||||
"to edit transactions in this register, please "
|
"If you want to edit transactions in this register, "
|
||||||
"open the account options and turn off the "
|
"please open the account options and turn off the "
|
||||||
"placeholder checkbox.");
|
"placeholder checkbox.");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
string = _("One of the sub-accounts selected may not be "
|
string = _("The transactions in one of the selected "
|
||||||
"edited. If you want to edit transactions in "
|
"sub-accounts may not be edited.\n"
|
||||||
"this register, please open the sub-account "
|
"If you want to edit transactions in this register, please open "
|
||||||
"options and turn off the placeholder checkbox. "
|
"the sub-account options and turn off the placeholder checkbox.\n"
|
||||||
"You may also open an individual account instead "
|
"You may also open an individual account instead "
|
||||||
"of a set of accounts.");
|
"of a set of accounts.");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user