[Libreoffice-commits] core.git: formula/inc

Eike Rathke (via logerrit) logerrit at kemper.freedesktop.org
Fri Oct 11 20:36:05 UTC 2019


 formula/inc/core_resource.hrc |   13 +++++++++++++
 1 file changed, 13 insertions(+)

New commits:
commit 4e421d9cd1fc799a4d31827e2f7b344faeab05c8
Author:     Eike Rathke <erack at redhat.com>
AuthorDate: Fri Oct 11 22:33:52 2019 +0200
Commit:     Eike Rathke <erack at redhat.com>
CommitDate: Fri Oct 11 22:34:49 2019 +0200

    Add comments about preserving the leading '#' hash character in translations
    
    Comments at least end up in .po files and hopefully help..
    
    Change-Id: I19d3177f5e36a53aa02c8b41dfee5ea6c290f1d3

diff --git a/formula/inc/core_resource.hrc b/formula/inc/core_resource.hrc
index cd2baa334b52..2ad8d3cf5a9e 100644
--- a/formula/inc/core_resource.hrc
+++ b/formula/inc/core_resource.hrc
@@ -2269,10 +2269,15 @@ const std::pair<const char*, int> RID_STRLIST_FUNCTION_NAMES[] =
     { NC_("RID_STRLIST_FUNCTION_NAMES", "IFERROR") , SC_OPCODE_IF_ERROR },
     { NC_("RID_STRLIST_FUNCTION_NAMES", "IFNA") , SC_OPCODE_IF_NA },
     { NC_("RID_STRLIST_FUNCTION_NAMES", "CHOOSE") , SC_OPCODE_CHOOSE },
+    /* L10n: preserve the leading '#' hash character in translations. */
     { NC_("RID_STRLIST_FUNCTION_NAMES", "#All") , SC_OPCODE_TABLE_REF_ITEM_ALL },
+    /* L10n: preserve the leading '#' hash character in translations. */
     { NC_("RID_STRLIST_FUNCTION_NAMES", "#Headers") , SC_OPCODE_TABLE_REF_ITEM_HEADERS },
+    /* L10n: preserve the leading '#' hash character in translations. */
     { NC_("RID_STRLIST_FUNCTION_NAMES", "#Data") , SC_OPCODE_TABLE_REF_ITEM_DATA },
+    /* L10n: preserve the leading '#' hash character in translations. */
     { NC_("RID_STRLIST_FUNCTION_NAMES", "#Totals") , SC_OPCODE_TABLE_REF_ITEM_TOTALS },
+    /* L10n: preserve the leading '#' hash character in translations. */
     { NC_("RID_STRLIST_FUNCTION_NAMES", "#This Row") , SC_OPCODE_TABLE_REF_ITEM_THIS_ROW },
     { NC_("RID_STRLIST_FUNCTION_NAMES", "AND") , SC_OPCODE_AND },
     { NC_("RID_STRLIST_FUNCTION_NAMES", "OR") , SC_OPCODE_OR },
@@ -2634,6 +2639,7 @@ const std::pair<const char*, int> RID_STRLIST_FUNCTION_NAMES[] =
     { NC_("RID_STRLIST_FUNCTION_NAMES", "NETWORKDAYS") , SC_OPCODE_NETWORKDAYS },
     { NC_("RID_STRLIST_FUNCTION_NAMES", "NETWORKDAYS.INTL") , SC_OPCODE_NETWORKDAYS_MS },
     { NC_("RID_STRLIST_FUNCTION_NAMES", "WORKDAY.INTL") , SC_OPCODE_WORKDAY_MS },
+    /* L10n: preserve the leading '#' hash character in translations. */
     { NC_("RID_STRLIST_FUNCTION_NAMES", "#NAME!") , SC_OPCODE_NO_NAME },
     { NC_("RID_STRLIST_FUNCTION_NAMES", "STYLE") , SC_OPCODE_STYLE },
     { NC_("RID_STRLIST_FUNCTION_NAMES", "DDE") , SC_OPCODE_DDE },
@@ -2659,18 +2665,25 @@ const std::pair<const char*, int> RID_STRLIST_FUNCTION_NAMES[] =
     { NC_("RID_STRLIST_FUNCTION_NAMES", "BITLSHIFT") , SC_OPCODE_BITLSHIFT },
     /* BEGIN defined ERROR.TYPE() values. */
     /* ERROR.TYPE( #NULL! ) == 1 */
+    /* L10n: preserve the leading '#' hash character in translations. */
     { NC_("RID_STRLIST_FUNCTION_NAMES", "#NULL!") , SC_OPCODE_ERROR_NULL },
     /* ERROR.TYPE( #DIV/0! ) == 2 */
+    /* L10n: preserve the leading '#' hash character in translations. */
     { NC_("RID_STRLIST_FUNCTION_NAMES", "#DIV/0!") , SC_OPCODE_ERROR_DIVZERO },
     /* ERROR.TYPE( #VALUE! ) == 3 */
+    /* L10n: preserve the leading '#' hash character in translations. */
     { NC_("RID_STRLIST_FUNCTION_NAMES", "#VALUE!") , SC_OPCODE_ERROR_VALUE },
     /* ERROR.TYPE( #REF! ) == 4 */
+    /* L10n: preserve the leading '#' hash character in translations. */
     { NC_("RID_STRLIST_FUNCTION_NAMES", "#REF!") , SC_OPCODE_ERROR_REF },
     /* ERROR.TYPE( #NAME! ) == 5 */
+    /* L10n: preserve the leading '#' hash character in translations. */
     { NC_("RID_STRLIST_FUNCTION_NAMES", "#NAME?") , SC_OPCODE_ERROR_NAME },
     /* ERROR.TYPE( #NUM! ) == 6 */
+    /* L10n: preserve the leading '#' hash character in translations. */
     { NC_("RID_STRLIST_FUNCTION_NAMES", "#NUM!") , SC_OPCODE_ERROR_NUM },
     /* ERROR.TYPE( #N/A ) == 7 */
+    /* L10n: preserve the leading '#' hash character in translations. */
     { NC_("RID_STRLIST_FUNCTION_NAMES", "#N/A") , SC_OPCODE_ERROR_NA },
     /* END defined ERROR.TYPE() values. */
 


More information about the Libreoffice-commits mailing list