Loading MS_Word/Metopes/COMMONS-Metopes.dotm −324 B (282 KiB) File changed.No diff preview for this file type. View original file View changed file MS_Word/Metopes/vba-internationalization/modules/authorities.bas +24 Changes for MS_Word/Metopes/vba-internationalization/modules/authorities.bas: 24 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -6,12 +6,18 @@ Sub author(control As IRibbonControl) Select Case Application.International(wdProductLanguageID) Case 1036, 2060, 3084 'fr Unload author_selector_fr Load author_selector_fr author_selector_fr.Show result1 = Right(author_selector_fr.dropdown_aut.Value, 4) Case 1034, 3082, 11274, 2058, 9226, 1050 'es Unload author_selector_es Load author_selector_es author_selector_es.Show result1 = Right(author_selector_es.dropdown_aut.Value, 4) Case Else 'anglais par dfaut Unload author_selector_en Load author_selector_en author_selector_en.Show result1 = Right(author_selector_en.dropdown_aut.Value, 4) End Select Loading Loading @@ -44,12 +50,18 @@ Sub editor(control As IRibbonControl) Select Case Application.International(wdProductLanguageID) Case 1036, 2060, 3084 'fr Unload editor_selector_fr Load editor_selector_fr editor_selector_fr.Show result1 = Right(editor_selector_fr.dropdown_aut.Value, 4) Case 1034, 3082, 11274, 2058, 9226, 1050 'es Unload editor_selector_es Load editor_selector_es editor_selector_es.Show result1 = Right(editor_selector_es.dropdown_aut.Value, 4) Case Else 'anglais par dfaut Unload editor_selector_es Load editor_selector_es editor_selector_en.Show result1 = Right(editor_selector_en.dropdown_aut.Value, 4) End Select Loading Loading @@ -94,12 +106,18 @@ Sub author_inline(control As IRibbonControl) Select Case Application.International(wdProductLanguageID) Case 1036, 2060, 3084 'fr Unload author_selector_fr Load author_selector_fr author_selector_fr.Show result1 = Right(author_selector_fr.dropdown_aut.Value, 4) Case 1034, 3082, 11274, 2058, 9226, 1050 'es Unload author_selector_es Load author_selector_es author_selector_es.Show result1 = Right(author_selector_es.dropdown_aut.Value, 4) Case Else 'anglais par dfaut Unload author_selector_en Load author_selector_en author_selector_en.Show result1 = Right(author_selector_en.dropdown_aut.Value, 4) End Select Loading Loading @@ -133,12 +151,18 @@ Sub editor_inline(control As IRibbonControl) Select Case Application.International(wdProductLanguageID) Case 1036, 2060, 3084 'fr Unload editor_selector_fr Load editor_selector_fr editor_selector_fr.Show result1 = Right(editor_selector_fr.dropdown_aut.Value, 4) Case 1034, 3082, 11274, 2058, 9226, 1050 'es Unload editor_selector_es Load editor_selector_es editor_selector_es.Show result1 = Right(editor_selector_es.dropdown_aut.Value, 4) Case Else 'anglais par dfaut Unload editor_selector_en Load editor_selector_en editor_selector_en.Show result1 = Right(editor_selector_en.dropdown_aut.Value, 4) End Select Loading MS_Word/Metopes/vba-internationalization/modules/front.bas +6 Changes for MS_Word/Metopes/vba-internationalization/modules/front.bas: 6 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -29,14 +29,20 @@ Sub note_front(control As IRibbonControl) Select Case Application.International(wdProductLanguageID) Case 1036, 2060, 3084 'fr Unload ndl_selector_fr Load ndl_selector_fr ndl_selector_fr.Show result1 = Right(ndl_selector_fr.dropdown_ndl.Value, 4) result = Left(result1, 3) Case 1034, 3082, 11274, 2058, 9226, 1050 'es Unload ndl_selector_es Load ndl_selector_es ndl_selector_es.Show result1 = Right(ndl_selector_es.dropdown_ndl.Value, 4) result = Left(result1, 3) Case Else 'anglais par dfaut Unload ndl_selector_en Load ndl_selector_en ndl_selector_en.Show result1 = Right(ndl_selector_en.dropdown_ndl.Value, 4) result = Left(result1, 3) Loading MS_Word/Metopes/vba-internationalization/modules/init_language.bas +18 Changes for MS_Word/Metopes/vba-internationalization/modules/init_language.bas: 18 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -21,12 +21,18 @@ Dim languageCode As String Select Case Application.International(wdProductLanguageID) Case 1036, 2060, 3084 'fr Unload doc_language_selector_fr Load doc_language_selector_fr doc_language_selector_fr.Show result = doc_language_selector_fr.dropdown_doc_language.Value Case 1034, 3082, 11274, 2058, 9226 'es Unload doc_language_selector_es Load doc_language_selector_es doc_language_selector_es.Show result = doc_language_selector_es.dropdown_doc_language.Value Case Else 'en Unload doc_language_selector_en Load doc_language_selector_en doc_language_selector_en.Show result = doc_language_selector_en.dropdown_doc_language.Value End Select Loading Loading @@ -87,18 +93,24 @@ Dim languageCode As String 'Typage z39-98 du document Select Case Application.International(wdProductLanguageID) Case 1036, 2060, 3084 'fr Unload typez39_fr Load typez39_fr typez39_fr.Show selectedItem = typez39_fr.dropdown_typez39.Value Start = InStr(typez39_fr.dropdown_typez39, "[") EndS = InStr(typez39_fr.dropdown_typez39, "]") resulttype = Mid(selectedItem, Start + 1, EndS - Start - 1) Case 1034, 3082, 11274, 2058, 9226 'es Unload typez39_es Load typez39_es typez39_es.Show selectedItem = typez39_es.dropdown_typez39.Value Start = InStr(typez39_es.dropdown_typez39, "[") EndS = InStr(typez39_es.dropdown_typez39, "]") resulttype = Mid(selectedItem, Start + 1, EndS - Start - 1) Case Else 'en Unload typez39_en Load typez39_en typez39_en.Show selectedItem = typez39_en.dropdown_typez39.Value Start = InStr(typez39_en.dropdown_typez39, "[") Loading Loading @@ -525,12 +537,18 @@ Sub sectionFT(start_style As String, start_text As String, end_style As String, If answer = vbYes Then Select Case Application.International(wdProductLanguageID) Case 1036, 2060, 3084 'fr Unload typetext_fr Load typetext_fr typetext_fr.Show resultCustom = "@" + typetext_fr.TextBox.Value Case 1034, 3082, 11274, 2058, 9226, 1050 'es Unload typetext_es Load typetext_es typetext_es.Show resultCustom = "@" + typetext_es.TextBox.Value Case Else 'anglais par dfaut Unload typetext_en Load typetext_en typetext_en.Show resultCustom = "@" + typetext_en.TextBox.Value End Select Loading MS_Word/Metopes/vba-internationalization/modules/titles.bas +4 −2 Changes for MS_Word/Metopes/vba-internationalization/modules/titles.bas: 4 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -49,7 +49,8 @@ Sub title_sub(control As IRibbonControl) paragraphs.style = ActiveDocument.Styles("TEI_title:sub") End Sub Sub setheading(control As IRibbonControl) Unload type_selector_fr Load type_selector_fr type_selector_fr.Show result = type_selector_fr.dropdown_type.Value current_style_name = ActiveDocument.ActiveWindow.Selection.style Loading @@ -66,7 +67,8 @@ Sub setheading(control As IRibbonControl) End Sub Sub customheading() Unload typetext_fr Load typetext_fr typetext_fr.Show resultCustom = typetext_fr.TextBox.Value Loading Loading
MS_Word/Metopes/COMMONS-Metopes.dotm −324 B (282 KiB) File changed.No diff preview for this file type. View original file View changed file
MS_Word/Metopes/vba-internationalization/modules/authorities.bas +24 Changes for MS_Word/Metopes/vba-internationalization/modules/authorities.bas: 24 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -6,12 +6,18 @@ Sub author(control As IRibbonControl) Select Case Application.International(wdProductLanguageID) Case 1036, 2060, 3084 'fr Unload author_selector_fr Load author_selector_fr author_selector_fr.Show result1 = Right(author_selector_fr.dropdown_aut.Value, 4) Case 1034, 3082, 11274, 2058, 9226, 1050 'es Unload author_selector_es Load author_selector_es author_selector_es.Show result1 = Right(author_selector_es.dropdown_aut.Value, 4) Case Else 'anglais par dfaut Unload author_selector_en Load author_selector_en author_selector_en.Show result1 = Right(author_selector_en.dropdown_aut.Value, 4) End Select Loading Loading @@ -44,12 +50,18 @@ Sub editor(control As IRibbonControl) Select Case Application.International(wdProductLanguageID) Case 1036, 2060, 3084 'fr Unload editor_selector_fr Load editor_selector_fr editor_selector_fr.Show result1 = Right(editor_selector_fr.dropdown_aut.Value, 4) Case 1034, 3082, 11274, 2058, 9226, 1050 'es Unload editor_selector_es Load editor_selector_es editor_selector_es.Show result1 = Right(editor_selector_es.dropdown_aut.Value, 4) Case Else 'anglais par dfaut Unload editor_selector_es Load editor_selector_es editor_selector_en.Show result1 = Right(editor_selector_en.dropdown_aut.Value, 4) End Select Loading Loading @@ -94,12 +106,18 @@ Sub author_inline(control As IRibbonControl) Select Case Application.International(wdProductLanguageID) Case 1036, 2060, 3084 'fr Unload author_selector_fr Load author_selector_fr author_selector_fr.Show result1 = Right(author_selector_fr.dropdown_aut.Value, 4) Case 1034, 3082, 11274, 2058, 9226, 1050 'es Unload author_selector_es Load author_selector_es author_selector_es.Show result1 = Right(author_selector_es.dropdown_aut.Value, 4) Case Else 'anglais par dfaut Unload author_selector_en Load author_selector_en author_selector_en.Show result1 = Right(author_selector_en.dropdown_aut.Value, 4) End Select Loading Loading @@ -133,12 +151,18 @@ Sub editor_inline(control As IRibbonControl) Select Case Application.International(wdProductLanguageID) Case 1036, 2060, 3084 'fr Unload editor_selector_fr Load editor_selector_fr editor_selector_fr.Show result1 = Right(editor_selector_fr.dropdown_aut.Value, 4) Case 1034, 3082, 11274, 2058, 9226, 1050 'es Unload editor_selector_es Load editor_selector_es editor_selector_es.Show result1 = Right(editor_selector_es.dropdown_aut.Value, 4) Case Else 'anglais par dfaut Unload editor_selector_en Load editor_selector_en editor_selector_en.Show result1 = Right(editor_selector_en.dropdown_aut.Value, 4) End Select Loading
MS_Word/Metopes/vba-internationalization/modules/front.bas +6 Changes for MS_Word/Metopes/vba-internationalization/modules/front.bas: 6 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -29,14 +29,20 @@ Sub note_front(control As IRibbonControl) Select Case Application.International(wdProductLanguageID) Case 1036, 2060, 3084 'fr Unload ndl_selector_fr Load ndl_selector_fr ndl_selector_fr.Show result1 = Right(ndl_selector_fr.dropdown_ndl.Value, 4) result = Left(result1, 3) Case 1034, 3082, 11274, 2058, 9226, 1050 'es Unload ndl_selector_es Load ndl_selector_es ndl_selector_es.Show result1 = Right(ndl_selector_es.dropdown_ndl.Value, 4) result = Left(result1, 3) Case Else 'anglais par dfaut Unload ndl_selector_en Load ndl_selector_en ndl_selector_en.Show result1 = Right(ndl_selector_en.dropdown_ndl.Value, 4) result = Left(result1, 3) Loading
MS_Word/Metopes/vba-internationalization/modules/init_language.bas +18 Changes for MS_Word/Metopes/vba-internationalization/modules/init_language.bas: 18 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -21,12 +21,18 @@ Dim languageCode As String Select Case Application.International(wdProductLanguageID) Case 1036, 2060, 3084 'fr Unload doc_language_selector_fr Load doc_language_selector_fr doc_language_selector_fr.Show result = doc_language_selector_fr.dropdown_doc_language.Value Case 1034, 3082, 11274, 2058, 9226 'es Unload doc_language_selector_es Load doc_language_selector_es doc_language_selector_es.Show result = doc_language_selector_es.dropdown_doc_language.Value Case Else 'en Unload doc_language_selector_en Load doc_language_selector_en doc_language_selector_en.Show result = doc_language_selector_en.dropdown_doc_language.Value End Select Loading Loading @@ -87,18 +93,24 @@ Dim languageCode As String 'Typage z39-98 du document Select Case Application.International(wdProductLanguageID) Case 1036, 2060, 3084 'fr Unload typez39_fr Load typez39_fr typez39_fr.Show selectedItem = typez39_fr.dropdown_typez39.Value Start = InStr(typez39_fr.dropdown_typez39, "[") EndS = InStr(typez39_fr.dropdown_typez39, "]") resulttype = Mid(selectedItem, Start + 1, EndS - Start - 1) Case 1034, 3082, 11274, 2058, 9226 'es Unload typez39_es Load typez39_es typez39_es.Show selectedItem = typez39_es.dropdown_typez39.Value Start = InStr(typez39_es.dropdown_typez39, "[") EndS = InStr(typez39_es.dropdown_typez39, "]") resulttype = Mid(selectedItem, Start + 1, EndS - Start - 1) Case Else 'en Unload typez39_en Load typez39_en typez39_en.Show selectedItem = typez39_en.dropdown_typez39.Value Start = InStr(typez39_en.dropdown_typez39, "[") Loading Loading @@ -525,12 +537,18 @@ Sub sectionFT(start_style As String, start_text As String, end_style As String, If answer = vbYes Then Select Case Application.International(wdProductLanguageID) Case 1036, 2060, 3084 'fr Unload typetext_fr Load typetext_fr typetext_fr.Show resultCustom = "@" + typetext_fr.TextBox.Value Case 1034, 3082, 11274, 2058, 9226, 1050 'es Unload typetext_es Load typetext_es typetext_es.Show resultCustom = "@" + typetext_es.TextBox.Value Case Else 'anglais par dfaut Unload typetext_en Load typetext_en typetext_en.Show resultCustom = "@" + typetext_en.TextBox.Value End Select Loading
MS_Word/Metopes/vba-internationalization/modules/titles.bas +4 −2 Changes for MS_Word/Metopes/vba-internationalization/modules/titles.bas: 4 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -49,7 +49,8 @@ Sub title_sub(control As IRibbonControl) paragraphs.style = ActiveDocument.Styles("TEI_title:sub") End Sub Sub setheading(control As IRibbonControl) Unload type_selector_fr Load type_selector_fr type_selector_fr.Show result = type_selector_fr.dropdown_type.Value current_style_name = ActiveDocument.ActiveWindow.Selection.style Loading @@ -66,7 +67,8 @@ Sub setheading(control As IRibbonControl) End Sub Sub customheading() Unload typetext_fr Load typetext_fr typetext_fr.Show resultCustom = typetext_fr.TextBox.Value Loading