Terminology: Inclusive Language - Part 2 (#4159)

* Terminology: Inclusive Language - Part 2

Change "Master Language" to "Main Language" in UI and comments (documentation and variables next)

* Docs

* Docs

Co-authored-by: Lars Hvam <larshp@hotmail.com>
This commit is contained in:
Marc Bernard 2020-11-11 04:36:38 -05:00 committed by GitHub
parent 7addbcb501
commit b25a67acea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
21 changed files with 55 additions and 55 deletions

View File

@ -132,7 +132,7 @@ Legend
+ hover line highlighting + hover line highlighting
! staging will show error instead of dump in special cases ! staging will show error instead of dump in special cases
* fix related to textpools of includes * fix related to textpools of includes
* various changes regarding only serializing master language * various changes regarding only serializing main language
! GUI refactoring ! GUI refactoring
+ New syntax highlighters CSS + JS + JSON + New syntax highlighters CSS + JS + JSON
* downports * downports
@ -156,8 +156,8 @@ Legend
+ SRVD support + SRVD support
+ DRUL support + DRUL support
+ DTDC support + DTDC support
! CUS0, CUS1, CUS2 only serialize master language ! CUS0, CUS1, CUS2 only serialize main language
! DTEL, DOCT, only serialize master language ! DTEL, DOCT, only serialize main language
* CHAR serialization fixes * CHAR serialization fixes
+ Allow setting of display name for offline repos + Allow setting of display name for offline repos
- Remove page playground - Remove page playground

View File

@ -20,7 +20,7 @@ The constructor is implemented in the super class and take two parameters as inp
Parameter | Description Parameter | Description
----------|------------ ----------|------------
`IS_ITEM` | Contains object type, object name, SAP package, and state (active/inactive) `IS_ITEM` | Contains object type, object name, SAP package, and state (active/inactive)
`IV_LANGUAGE` | Contains the language key for the master language of the repository `IV_LANGUAGE` | Contains the language key for the main language of the repository
These parameters are stored in attributes `MS_ITEM` and `MV_LANGUAGE` respectively. These parameters are stored in attributes `MS_ITEM` and `MV_LANGUAGE` respectively.
@ -129,7 +129,7 @@ The activation queue is built separately for each phase (see 'Deserialize Proces
## Internationalization (I18N) ## Internationalization (I18N)
In general, the serializer class shall process texts of an object in all available languages i.e. the original language as well as any translations. It shall respect the "Serialize Master Language Only" setting of a repository and limit the texts to the language provided to the constructor (`MV_LANGUAGE`). In general, the serializer class shall process texts of an object in all available languages i.e. the original language as well as any translations. It shall respect the "Serialize Main Language Only" setting of a repository and limit the texts to the language provided to the constructor (`MV_LANGUAGE`).
The recommended approach is to check `io_xml->i18n_params( )-serialize_master_lang_only = abap_false` and then serialize the additional translations in the XML (typically using `I18N` prefix). During deserialize the translation languages can then be retrieved and processed accordingly ( The recommended approach is to check `io_xml->i18n_params( )-serialize_master_lang_only = abap_false` and then serialize the additional translations in the XML (typically using `I18N` prefix). During deserialize the translation languages can then be retrieved and processed accordingly (

View File

@ -87,7 +87,7 @@ ENDCLASS.
CLASS ZCL_ABAPGIT_OBJECT_CLAS IMPLEMENTATION. CLASS zcl_abapgit_object_clas IMPLEMENTATION.
METHOD constructor. METHOD constructor.
@ -440,8 +440,8 @@ CLASS ZCL_ABAPGIT_OBJECT_CLAS IMPLEMENTATION.
ls_clskey-clsname = ms_item-obj_name. ls_clskey-clsname = ms_item-obj_name.
"If class was deserialized with a previous versions of abapGit and current language was different "If class was deserialized with a previous versions of abapGit and current language was different
"from master language at this time, this call would return SY-LANGU as master language. To fix "from main language at this time, this call would return SY-LANGU as main language. To fix
"these objects, set SY-LANGU to master language temporarily. "these objects, set SY-LANGU to main language temporarily.
zcl_abapgit_language=>set_current_language( mv_language ). zcl_abapgit_language=>set_current_language( mv_language ).
TRY. TRY.
@ -473,7 +473,7 @@ CLASS ZCL_ABAPGIT_OBJECT_CLAS IMPLEMENTATION.
" Table d010tinf stores info. on languages in which program is maintained " Table d010tinf stores info. on languages in which program is maintained
" Select all active translations of program texts " Select all active translations of program texts
" Skip master language - it was already serialized " Skip main language - it was already serialized
SELECT DISTINCT language SELECT DISTINCT language
INTO TABLE lt_langu_additional INTO TABLE lt_langu_additional
FROM d010tinf FROM d010tinf

View File

@ -46,7 +46,7 @@ ENDCLASS.
CLASS ZCL_ABAPGIT_OBJECT_DOMA IMPLEMENTATION. CLASS zcl_abapgit_object_doma IMPLEMENTATION.
METHOD deserialize_texts. METHOD deserialize_texts.
@ -149,7 +149,7 @@ CLASS ZCL_ABAPGIT_OBJECT_DOMA IMPLEMENTATION.
lv_name = ms_item-obj_name. lv_name = ms_item-obj_name.
" Collect additional languages, skip master lang - it was serialized already " Collect additional languages, skip main lang - it was serialized already
SELECT DISTINCT ddlanguage AS langu INTO TABLE lt_i18n_langs SELECT DISTINCT ddlanguage AS langu INTO TABLE lt_i18n_langs
FROM dd01v FROM dd01v
WHERE domname = lv_name WHERE domname = lv_name
@ -177,7 +177,7 @@ CLASS ZCL_ABAPGIT_OBJECT_DOMA IMPLEMENTATION.
APPEND INITIAL LINE TO lt_dd01_texts ASSIGNING <ls_dd01_text>. APPEND INITIAL LINE TO lt_dd01_texts ASSIGNING <ls_dd01_text>.
MOVE-CORRESPONDING ls_dd01v TO <ls_dd01_text>. MOVE-CORRESPONDING ls_dd01v TO <ls_dd01_text>.
" Process master language entries and find corresponding translation " Process main language entries and find corresponding translation
LOOP AT it_dd07v ASSIGNING <ls_dd07v> WHERE NOT ddlanguage IS INITIAL. LOOP AT it_dd07v ASSIGNING <ls_dd07v> WHERE NOT ddlanguage IS INITIAL.
APPEND INITIAL LINE TO lt_dd07_texts ASSIGNING <ls_dd07_text>. APPEND INITIAL LINE TO lt_dd07_texts ASSIGNING <ls_dd07_text>.
READ TABLE lt_dd07v ASSIGNING <ls_dd07v_tmp> READ TABLE lt_dd07v ASSIGNING <ls_dd07v_tmp>

View File

@ -36,7 +36,7 @@ ENDCLASS.
CLASS ZCL_ABAPGIT_OBJECT_DTEL IMPLEMENTATION. CLASS zcl_abapgit_object_dtel IMPLEMENTATION.
METHOD deserialize_texts. METHOD deserialize_texts.
@ -106,7 +106,7 @@ CLASS ZCL_ABAPGIT_OBJECT_DTEL IMPLEMENTATION.
lv_name = ms_item-obj_name. lv_name = ms_item-obj_name.
" Collect additional languages, skip master lang - it was serialized already " Collect additional languages, skip main lang - it was serialized already
SELECT DISTINCT ddlanguage AS langu INTO TABLE lt_i18n_langs SELECT DISTINCT ddlanguage AS langu INTO TABLE lt_i18n_langs
FROM dd04v FROM dd04v
WHERE rollname = lv_name WHERE rollname = lv_name

View File

@ -136,7 +136,7 @@ ENDCLASS.
CLASS ZCL_ABAPGIT_OBJECT_FUGR IMPLEMENTATION. CLASS zcl_abapgit_object_fugr IMPLEMENTATION.
METHOD check_rfc_parameters. METHOD check_rfc_parameters.
@ -858,7 +858,7 @@ CLASS ZCL_ABAPGIT_OBJECT_FUGR IMPLEMENTATION.
" Table d010tinf stores info. on languages in which program is maintained " Table d010tinf stores info. on languages in which program is maintained
" Select all active translations of program texts " Select all active translations of program texts
" Skip master language - it was already serialized " Skip main language - it was already serialized
SELECT DISTINCT language SELECT DISTINCT language
INTO CORRESPONDING FIELDS OF TABLE lt_tpool_i18n INTO CORRESPONDING FIELDS OF TABLE lt_tpool_i18n
FROM d010tinf FROM d010tinf

View File

@ -48,7 +48,7 @@ ENDCLASS.
CLASS ZCL_ABAPGIT_OBJECT_MSAG IMPLEMENTATION. CLASS zcl_abapgit_object_msag IMPLEMENTATION.
METHOD delete_documentation. METHOD delete_documentation.
@ -223,7 +223,7 @@ CLASS ZCL_ABAPGIT_OBJECT_MSAG IMPLEMENTATION.
ENDIF. ENDIF.
" Collect additional languages " Collect additional languages
" Skip master lang - it has been already serialized " Skip main lang - it has been already serialized
SELECT DISTINCT sprsl AS langu INTO TABLE lt_i18n_langs SELECT DISTINCT sprsl AS langu INTO TABLE lt_i18n_langs
FROM t100t FROM t100t
WHERE arbgb = lv_msg_id WHERE arbgb = lv_msg_id

View File

@ -27,7 +27,7 @@ ENDCLASS.
CLASS ZCL_ABAPGIT_OBJECT_OTGR IMPLEMENTATION. CLASS zcl_abapgit_object_otgr IMPLEMENTATION.
METHOD instantiate_and_lock_otgr. METHOD instantiate_and_lock_otgr.
@ -173,9 +173,9 @@ CLASS ZCL_ABAPGIT_OBJECT_OTGR IMPLEMENTATION.
IF sy-subrc = 0. IF sy-subrc = 0.
lo_otgr->set_description( <ls_groupt>-text ). lo_otgr->set_description( <ls_groupt>-text ).
" ELSE. " ELSE.
" Do we want to clear the master language description if not present in the XML conent? " Do we want to clear the main language description if not present in the XML conent?
" Master Language is non-deterministic - it depends on sy-langu, so rather don't touch " Main language is non-deterministic - it depends on sy-langu, so rather don't touch
" description if the master language is not present " description if the main language is not present
" Perhaps, we can display some sort of a message but how? " Perhaps, we can display some sort of a message but how?
ENDIF. ENDIF.
@ -260,10 +260,10 @@ CLASS ZCL_ABAPGIT_OBJECT_OTGR IMPLEMENTATION.
* Description part 1: * Description part 1:
* Dealing with Description of OTGR objects is problematic. * Dealing with Description of OTGR objects is problematic.
* The API supports setting of Master Language only and * The API supports setting of main language only and
* if we want to save also translations we would have to implement * if we want to save also translations we would have to implement
* our own logic for merging and activation. To keep it simple stupid * our own logic for merging and activation. To keep it simple stupid
* the current version focuses on the Master language only. * the current version focuses on the main language only.
* If anybody ever runs into the need to version also translation, * If anybody ever runs into the need to version also translation,
* ask the maintainers of CL_CLS_OBJECT_TYPE_GROUP to add a method for it. * ask the maintainers of CL_CLS_OBJECT_TYPE_GROUP to add a method for it.
* *
@ -291,7 +291,7 @@ CLASS ZCL_ABAPGIT_OBJECT_OTGR IMPLEMENTATION.
ex_parent_groups = <lt_parents>. ex_parent_groups = <lt_parents>.
ENDIF. ENDIF.
" Beware: the following method returns the Master Language description only if the object is Locked! " Beware: the following method returns the main language description only if the object is locked!
<ls_groupt>-text = lo_otgr->if_cls_object_type_group~get_description( ). <ls_groupt>-text = lo_otgr->if_cls_object_type_group~get_description( ).
<ls_groupt>-langu = lo_otgr->if_pak_wb_object~get_master_language( ). <ls_groupt>-langu = lo_otgr->if_pak_wb_object~get_master_language( ).

View File

@ -30,7 +30,7 @@ ENDCLASS.
CLASS ZCL_ABAPGIT_OBJECT_PROG IMPLEMENTATION. CLASS zcl_abapgit_object_prog IMPLEMENTATION.
METHOD deserialize_texts. METHOD deserialize_texts.
@ -75,7 +75,7 @@ CLASS ZCL_ABAPGIT_OBJECT_PROG IMPLEMENTATION.
" Table d010tinf stores info. on languages in which program is maintained " Table d010tinf stores info. on languages in which program is maintained
" Select all active translations of program texts " Select all active translations of program texts
" Skip master language - it was already serialized " Skip main language - it was already serialized
SELECT DISTINCT language SELECT DISTINCT language
INTO CORRESPONDING FIELDS OF TABLE lt_tpool_i18n INTO CORRESPONDING FIELDS OF TABLE lt_tpool_i18n
FROM d010tinf FROM d010tinf

View File

@ -486,7 +486,7 @@ CLASS zcl_abapgit_object_tabl IMPLEMENTATION.
lv_name = ms_item-obj_name. lv_name = ms_item-obj_name.
" Collect additional languages, skip master lang - it was serialized already " Collect additional languages, skip main lang - it was serialized already
SELECT DISTINCT ddlanguage AS langu INTO TABLE lt_i18n_langs SELECT DISTINCT ddlanguage AS langu INTO TABLE lt_i18n_langs
FROM dd02v FROM dd02v
WHERE tabname = lv_name WHERE tabname = lv_name

View File

@ -402,7 +402,7 @@ CLASS zcl_abapgit_object_tran IMPLEMENTATION.
RETURN. RETURN.
ENDIF. ENDIF.
" Skip master language - it was already serialized " Skip main language - it was already serialized
" Don't serialize t-code itself " Don't serialize t-code itself
SELECT sprsl ttext SELECT sprsl ttext
INTO CORRESPONDING FIELDS OF TABLE lt_tpool_i18n INTO CORRESPONDING FIELDS OF TABLE lt_tpool_i18n

View File

@ -196,7 +196,7 @@ CLASS zcl_abapgit_object_udmo IMPLEMENTATION.
" You are reminded that SUDM - Data Model has no part objects e.g. no LIMU " You are reminded that SUDM - Data Model has no part objects e.g. no LIMU
" Therefore global lock is always appropriate " Therefore global lock is always appropriate
" You are reminded that the master language (in TADIR) is taken from MV_LANGUAGE. " You are reminded that the main language (in TADIR) is taken from MV_LANGUAGE.
CALL FUNCTION 'RS_CORR_INSERT' CALL FUNCTION 'RS_CORR_INSERT'
EXPORTING EXPORTING
@ -443,7 +443,7 @@ CLASS zcl_abapgit_object_udmo IMPLEMENTATION.
" The model has short texts in multiple languages. These are held in DM40T. " The model has short texts in multiple languages. These are held in DM40T.
" The model has a long description also in a master language, with other long descriptions " The model has a long description also in a main language, with other long descriptions
" maintained as translations using SE63 Translation Editor. All of these long texts are held in DOK* " maintained as translations using SE63 Translation Editor. All of these long texts are held in DOK*
TYPES BEGIN OF ty_language_type. TYPES BEGIN OF ty_language_type.

View File

@ -569,7 +569,7 @@ CLASS zcl_abapgit_objects_program IMPLEMENTATION.
ENDIF. ENDIF.
IF lv_language = mv_language. IF lv_language = mv_language.
lv_state = 'I'. "Textpool in master language needs to be activated lv_state = 'I'. "Textpool in main language needs to be activated
ELSE. ELSE.
lv_state = 'A'. "Translations are always active lv_state = 'A'. "Translations are always active
ENDIF. ENDIF.
@ -583,7 +583,7 @@ CLASS zcl_abapgit_objects_program IMPLEMENTATION.
lv_delete = abap_true. lv_delete = abap_true.
ELSE. ELSE.
INSERT TEXTPOOL iv_program "In case of includes: Deletion of textpool in INSERT TEXTPOOL iv_program "In case of includes: Deletion of textpool in
FROM it_tpool "master language cannot be activated because FROM it_tpool "main language cannot be activated because
LANGUAGE lv_language "this woul activate the deletion of the textpool LANGUAGE lv_language "this woul activate the deletion of the textpool
STATE lv_state. "of the mail program -> insert empty textpool STATE lv_state. "of the mail program -> insert empty textpool
ENDIF. ENDIF.
@ -591,7 +591,7 @@ CLASS zcl_abapgit_objects_program IMPLEMENTATION.
IF lines( it_tpool ) = 1 AND lv_language = mv_language. IF lines( it_tpool ) = 1 AND lv_language = mv_language.
READ TABLE it_tpool WITH KEY id = 'R' TRANSPORTING NO FIELDS. READ TABLE it_tpool WITH KEY id = 'R' TRANSPORTING NO FIELDS.
IF sy-subrc = 0. IF sy-subrc = 0.
RETURN. "No action because description in master language is already there RETURN. "No action because description in main language is already there
ENDIF. ENDIF.
ENDIF. ENDIF.
@ -604,7 +604,7 @@ CLASS zcl_abapgit_objects_program IMPLEMENTATION.
ENDIF. ENDIF.
ENDIF. ENDIF.
IF lv_state = 'I'. "Textpool in master language needs to be activated IF lv_state = 'I'. "Textpool in main language needs to be activated
zcl_abapgit_objects_activation=>add( zcl_abapgit_objects_activation=>add(
iv_type = 'REPT' iv_type = 'REPT'
iv_name = iv_program iv_name = iv_program

View File

@ -245,7 +245,7 @@ CLASS zcl_abapgit_oo_base IMPLEMENTATION.
AND descript <> '' AND descript <> ''
ORDER BY PRIMARY KEY. "#EC CI_SUBRC ORDER BY PRIMARY KEY. "#EC CI_SUBRC
ELSE. ELSE.
" load master language " load main language
SELECT * FROM seocompotx INTO TABLE rt_descriptions SELECT * FROM seocompotx INTO TABLE rt_descriptions
WHERE clsname = iv_obejct_name WHERE clsname = iv_obejct_name
AND langu = iv_language AND langu = iv_language

View File

@ -52,7 +52,7 @@ ENDCLASS.
CLASS ZCL_ABAPGIT_GUI_PAGE_ADDOFFLIN IMPLEMENTATION. CLASS zcl_abapgit_gui_page_addofflin IMPLEMENTATION.
METHOD constructor. METHOD constructor.
@ -106,8 +106,8 @@ CLASS ZCL_ABAPGIT_GUI_PAGE_ADDOFFLIN IMPLEMENTATION.
iv_value = zif_abapgit_dot_abapgit=>c_folder_logic-full iv_value = zif_abapgit_dot_abapgit=>c_folder_logic-full
)->checkbox( )->checkbox(
iv_name = c_id-master_lang_only iv_name = c_id-master_lang_only
iv_label = 'Serialize master language only' iv_label = 'Serialize main language only'
iv_hint = 'Ignore translations, serialize just master language' iv_hint = 'Ignore translations, serialize just main language'
)->command( )->command(
iv_label = 'Create offline repo' iv_label = 'Create offline repo'
iv_is_main = abap_true iv_is_main = abap_true

View File

@ -62,7 +62,7 @@ ENDCLASS.
CLASS ZCL_ABAPGIT_GUI_PAGE_ADDONLINE IMPLEMENTATION. CLASS zcl_abapgit_gui_page_addonline IMPLEMENTATION.
METHOD constructor. METHOD constructor.
@ -132,8 +132,8 @@ CLASS ZCL_ABAPGIT_GUI_PAGE_ADDONLINE IMPLEMENTATION.
iv_hint = 'Syncronize root package only (see https://docs.abapgit.org)' iv_hint = 'Syncronize root package only (see https://docs.abapgit.org)'
)->checkbox( )->checkbox(
iv_name = c_id-master_lang_only iv_name = c_id-master_lang_only
iv_label = 'Serialize master language only' iv_label = 'Serialize main language only'
iv_hint = 'Ignore translations, serialize just master language' iv_hint = 'Ignore translations, serialize just main language'
)->command( )->command(
iv_label = 'Clone online repo' iv_label = 'Clone online repo'
iv_is_main = abap_true iv_is_main = abap_true

View File

@ -75,7 +75,7 @@ ENDCLASS.
CLASS ZCL_ABAPGIT_GUI_PAGE_REPO_SETT IMPLEMENTATION. CLASS zcl_abapgit_gui_page_repo_sett IMPLEMENTATION.
METHOD constructor. METHOD constructor.
@ -137,7 +137,7 @@ CLASS ZCL_ABAPGIT_GUI_PAGE_REPO_SETT IMPLEMENTATION.
ENDIF. ENDIF.
ii_html->add( render_table_row( ii_html->add( render_table_row(
iv_name = 'Master Language' iv_name = 'Main Language'
iv_value = |{ ls_dot-master_language } ({ lv_language })| iv_value = |{ ls_dot-master_language } ({ lv_language })|
) ). ) ).
@ -290,7 +290,7 @@ CLASS ZCL_ABAPGIT_GUI_PAGE_REPO_SETT IMPLEMENTATION.
lv_checked = | checked|. lv_checked = | checked|.
ENDIF. ENDIF.
ii_html->add( render_table_row( ii_html->add( render_table_row(
iv_name = 'Serialize Master Language Only' iv_name = 'Serialize Main Language Only'
iv_value = |<input name="serialize_master_lang_only" type="checkbox"{ lv_checked }>| iv_value = |<input name="serialize_master_lang_only" type="checkbox"{ lv_checked }>|
) ). ) ).

View File

@ -304,7 +304,7 @@ CLASS zcl_abapgit_gui_page_repo_view IMPLEMENTATION.
IF mo_repo->get_dot_abapgit( )->get_master_language( ) <> sy-langu. IF mo_repo->get_dot_abapgit( )->get_master_language( ) <> sy-langu.
ro_advanced_dropdown->add( ro_advanced_dropdown->add(
iv_txt = 'Open in Master Language' iv_txt = 'Open in Main Language'
iv_act = |{ zif_abapgit_definitions=>c_action-repo_open_in_master_lang }?key={ mv_key }| ). iv_act = |{ zif_abapgit_definitions=>c_action-repo_open_in_master_lang }?key={ mv_key }| ).
ENDIF. ENDIF.
@ -692,7 +692,7 @@ CLASS zcl_abapgit_gui_page_repo_view IMPLEMENTATION.
lv_master_language = mo_repo->get_dot_abapgit( )->get_master_language( ). lv_master_language = mo_repo->get_dot_abapgit( )->get_master_language( ).
IF lv_master_language = sy-langu. IF lv_master_language = sy-langu.
zcx_abapgit_exception=>raise( |Repo already opened in master language| ). zcx_abapgit_exception=>raise( |Repo already opened in main language| ).
ENDIF. ENDIF.
ls_item-obj_name = lc_abapgit_tcode. ls_item-obj_name = lc_abapgit_tcode.

View File

@ -646,7 +646,7 @@ CLASS zcl_abapgit_gui_page_stage IMPLEMENTATION.
IF ls_dot_abapgit-master_language <> sy-langu. IF ls_dot_abapgit-master_language <> sy-langu.
ri_html->add( zcl_abapgit_gui_chunk_lib=>render_warning_banner( ri_html->add( zcl_abapgit_gui_chunk_lib=>render_warning_banner(
|Caution: Master language of the repo is '{ ls_dot_abapgit-master_language }', | |Caution: Main language of the repo is '{ ls_dot_abapgit-master_language }', |
&& |but you're logged on in '{ sy-langu }'| ) ). && |but you're logged on in '{ sy-langu }'| ) ).
ENDIF. ENDIF.

View File

@ -89,7 +89,7 @@ ENDCLASS.
CLASS ZCL_ABAPGIT_POPUPS IMPLEMENTATION. CLASS zcl_abapgit_popups IMPLEMENTATION.
METHOD add_field. METHOD add_field.
@ -774,7 +774,7 @@ CLASS ZCL_ABAPGIT_POPUPS IMPLEMENTATION.
add_field( EXPORTING iv_tabname = 'TVDIR' add_field( EXPORTING iv_tabname = 'TVDIR'
iv_fieldname = 'FLAG' iv_fieldname = 'FLAG'
iv_fieldtext = 'Master lang only' iv_fieldtext = 'Main language only'
CHANGING ct_fields = lt_fields ). CHANGING ct_fields = lt_fields ).
TRY. TRY.
@ -838,7 +838,7 @@ CLASS ZCL_ABAPGIT_POPUPS IMPLEMENTATION.
<ls_field>-only_parameter = abap_true. <ls_field>-only_parameter = abap_true.
<ls_field>-ddic_tabname = 'TVDIR'. <ls_field>-ddic_tabname = 'TVDIR'.
<ls_field>-ddic_fieldname = 'FLAG'. <ls_field>-ddic_fieldname = 'FLAG'.
<ls_field>-text = 'Master lang only'. <ls_field>-text = 'Main language only'.
<ls_field>-value = cv_serialize_master_lang_only. <ls_field>-value = cv_serialize_master_lang_only.
popup_get_from_free_selections( popup_get_from_free_selections(
@ -1297,7 +1297,7 @@ CLASS ZCL_ABAPGIT_POPUPS IMPLEMENTATION.
add_field( EXPORTING iv_tabname = 'DOKIL' add_field( EXPORTING iv_tabname = 'DOKIL'
iv_fieldname = 'MASTERLANG' iv_fieldname = 'MASTERLANG'
iv_fieldtext = 'Master language only' iv_fieldtext = 'Main language only'
iv_value = abap_true iv_value = abap_true
CHANGING ct_fields = lt_fields ). CHANGING ct_fields = lt_fields ).

View File

@ -210,7 +210,7 @@ ENDCLASS.
CLASS ZCL_ABAPGIT_REPO IMPLEMENTATION. CLASS zcl_abapgit_repo IMPLEMENTATION.
METHOD bind_listener. METHOD bind_listener.
@ -280,9 +280,9 @@ CLASS ZCL_ABAPGIT_REPO IMPLEMENTATION.
IF lv_master_language <> sy-langu. IF lv_master_language <> sy-langu.
zcx_abapgit_exception=>raise( |Current login language | zcx_abapgit_exception=>raise( |Current login language |
&& |'{ zcl_abapgit_convert=>conversion_exit_isola_output( sy-langu ) }'| && |'{ zcl_abapgit_convert=>conversion_exit_isola_output( sy-langu ) }'|
&& | does not match master language | && | does not match main language |
&& |'{ zcl_abapgit_convert=>conversion_exit_isola_output( lv_master_language ) }'.| && |'{ zcl_abapgit_convert=>conversion_exit_isola_output( lv_master_language ) }'.|
&& | Run 'Advanced' > 'Open in master language'| ). && | Run 'Advanced' > 'Open in main language'| ).
ENDIF. ENDIF.
ENDMETHOD. ENDMETHOD.