mirror of
https://github.com/Gnucash/gnucash.git
synced 2024-11-30 12:44:01 -06:00
Remove obsolete "disambiguation prefix" translator comments
https://lists.gnucash.org/pipermail/gnucash-devel/2019-September/044199.html
Continuation of commit d30fe7a
This commit is contained in:
parent
e6e2258a74
commit
fa4fc551af
@ -1094,8 +1094,7 @@ type_label_to_new_button(const gchar* type_label)
|
||||
else
|
||||
{
|
||||
PWARN("No translatable new-button label found for search type \"%s\", please add one into dialog-search.c!", type_label);
|
||||
/* Translators: This string has a disambiguation prefix. Translate only the part behind '|' */
|
||||
return Q_("Item represents an unknown object type (in the sense of bill, customer, invoice, transaction, split,...)|New item");
|
||||
return C_("Item represents an unknown object type (in the sense of bill, customer, invoice, transaction, split,...)!", "New item");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2851,9 +2851,7 @@ gnc_tree_model_split_reg_update_action_list (GncTreeModelSplitReg *model)
|
||||
/* broken ! FIXME bg ????????? What is broken */
|
||||
case SEARCH_LEDGER2:
|
||||
|
||||
/* Translators: This string has a context prefix; the translation
|
||||
must only contain the part after the | character. */
|
||||
gtk_list_store_insert_with_values (store, &iter, 100, 0, Q_("Action Column|Deposit"), -1);
|
||||
gtk_list_store_insert_with_values (store, &iter, 100, 0, C_("Action Column", "Deposit"), -1);
|
||||
gtk_list_store_insert_with_values (store, &iter, 100, 0, _("Withdraw"), -1);
|
||||
gtk_list_store_insert_with_values (store, &iter, 100, 0, _("Check"), -1);
|
||||
gtk_list_store_insert_with_values (store, &iter, 100, 0, _("Interest"), -1);
|
||||
@ -2952,8 +2950,7 @@ gnc_tree_model_split_reg_update_action_list (GncTreeModelSplitReg *model)
|
||||
gtk_list_store_insert_with_values (store, &iter, 100, 0, _("Income"), -1);
|
||||
/* Action: Distribution */
|
||||
gtk_list_store_insert_with_values (store, &iter, 100, 0, _("Dist"), -1);
|
||||
/* Translators: This string has a disambiguation prefix */
|
||||
gtk_list_store_insert_with_values (store, &iter, 100, 0, Q_("Action Column|Split"), -1);
|
||||
gtk_list_store_insert_with_values (store, &iter, 100, 0, C_("Action Column", "Split"), -1);
|
||||
break;
|
||||
|
||||
default:
|
||||
|
@ -404,9 +404,7 @@ gnc_tree_view_commodity_new (QofBook *book,
|
||||
g_object_set_data(G_OBJECT(col), DEFAULT_VISIBLE, GINT_TO_POINTER(1));
|
||||
gnc_tree_view_add_toggle_column(
|
||||
view, _("Get Quotes"),
|
||||
/* Translators: This string has a context prefix; the translation
|
||||
must only contain the part after the | character. */
|
||||
Q_("Column letter for 'Get Quotes'|Q"), "quote_flag",
|
||||
C_("Column letter for 'Get Quotes'", "Q"), "quote_flag",
|
||||
GNC_TREE_MODEL_COMMODITY_COL_QUOTE_FLAG,
|
||||
GNC_TREE_MODEL_COMMODITY_COL_VISIBILITY,
|
||||
sort_by_quote_flag,
|
||||
|
@ -476,9 +476,7 @@ gnc_tree_view_owner_new (GncOwnerType owner_type)
|
||||
GNC_TREE_VIEW_COLUMN_VISIBLE_ALWAYS,
|
||||
sort_by_string);
|
||||
gnc_tree_view_add_toggle_column (view, _("Active"),
|
||||
/* Translators: This string has a context prefix; the translation
|
||||
must only contain the part after the | character. */
|
||||
Q_("Column letter for 'Active'|A"),
|
||||
C_("Column letter for 'Active'", "A"),
|
||||
GNC_OWNER_TREE_ACTIVE_COL,
|
||||
GNC_TREE_MODEL_OWNER_COL_ACTIVE,
|
||||
GNC_TREE_VIEW_COLUMN_VISIBLE_ALWAYS,
|
||||
|
@ -138,9 +138,7 @@ gnc_tree_view_sx_list_new(GncSxInstanceModel *sx_instances)
|
||||
g_object_set_data(G_OBJECT(col), DEFAULT_VISIBLE, GINT_TO_POINTER(1));
|
||||
|
||||
col = gnc_tree_view_add_toggle_column(view, _("Enabled"),
|
||||
/* Translators: This string has a context prefix; the translation
|
||||
must only contain the part after the | character. */
|
||||
Q_("Single-character short column-title form of 'Enabled'|E"),
|
||||
C_("Single-character short column-title form of 'Enabled'", "E"),
|
||||
"enabled", SXLTMA_COL_ENABLED,
|
||||
GNC_TREE_VIEW_COLUMN_VISIBLE_ALWAYS,
|
||||
NULL, NULL);
|
||||
|
@ -378,8 +378,8 @@ gnc_stock_split_assistant_finish (GtkAssistant *assistant,
|
||||
xaccSplitMakeStockSplit (split);
|
||||
/* Set split-action with gnc_set_num_action which is the same as
|
||||
* xaccSplitSetAction with these arguments */
|
||||
/* Translators: This string has a disambiguation prefix */
|
||||
gnc_set_num_action (NULL, split, NULL, Q_("Action Column|Split"));
|
||||
|
||||
gnc_set_num_action (NULL, split, NULL, C_("Action Column", "Split"));
|
||||
|
||||
amount = gnc_amount_edit_get_amount (GNC_AMOUNT_EDIT (info->price_edit));
|
||||
if (gnc_numeric_positive_p (amount))
|
||||
|
@ -2574,9 +2574,7 @@ gnc_split_register_config_action (SplitRegister *reg)
|
||||
case BANK_REGISTER:
|
||||
/* broken ! FIXME bg */
|
||||
case SEARCH_LEDGER:
|
||||
/* Translators: This string has a context prefix; the translation
|
||||
must only contain the part after the | character. */
|
||||
gnc_combo_cell_add_menu_item (cell, Q_("Action Column|Deposit"));
|
||||
gnc_combo_cell_add_menu_item (cell, C_("Action Column", "Deposit"));
|
||||
gnc_combo_cell_add_menu_item (cell, _("Withdraw"));
|
||||
gnc_combo_cell_add_menu_item (cell, _("Check"));
|
||||
gnc_combo_cell_add_menu_item (cell, _("Interest"));
|
||||
@ -2675,8 +2673,7 @@ gnc_split_register_config_action (SplitRegister *reg)
|
||||
gnc_combo_cell_add_menu_item (cell, _("Income"));
|
||||
/* Action: Distribution */
|
||||
gnc_combo_cell_add_menu_item (cell, _("Dist"));
|
||||
/* Translators: This string has a disambiguation prefix */
|
||||
gnc_combo_cell_add_menu_item (cell, Q_("Action Column|Split"));
|
||||
gnc_combo_cell_add_menu_item (cell, C_("Action Column", "Split"));
|
||||
break;
|
||||
|
||||
default:
|
||||
|
@ -1609,8 +1609,7 @@ xaccSplitGetCorrAccountCode(const Split *sa)
|
||||
if (!get_corr_account_split(sa, &other_split))
|
||||
{
|
||||
if (!split_const)
|
||||
/* Translators: This string has a disambiguation prefix */
|
||||
split_const = Q_("Displayed account code of the other account in a multi-split transaction|Split");
|
||||
split_const = C_("Displayed account code of the other account in a multi-split transaction", "Split");
|
||||
|
||||
return split_const;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user