[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
From: |
Patrice Dumas |
Date: |
Tue, 8 Nov 2022 03:29:24 -0500 (EST) |
branch: master
commit 2f2876b9f52239d37d2803c070de7d28a5198f26
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Mon Oct 31 15:38:50 2022 +0100
Change init file function names that are global to init files; change in
comment
---
tp/Texinfo/Convert/HTML.pm | 2 +-
tp/t/init/translated_strings_customization.pm | 8 ++++----
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/tp/Texinfo/Convert/HTML.pm b/tp/Texinfo/Convert/HTML.pm
index 5c05c8e1c3..f6119b6770 100644
--- a/tp/Texinfo/Convert/HTML.pm
+++ b/tp/Texinfo/Convert/HTML.pm
@@ -2120,7 +2120,7 @@ sub _translate_names($)
# redefined functions
#
-# Texinfo::Translations redefined to call user defined function.
+# Texinfo::Translations::gdt redefined to call user defined function.
sub gdt($$;$$$$)
{
my ($self, $message, $replaced_substrings, $message_context, $type, $lang) =
@_;
diff --git a/tp/t/init/translated_strings_customization.pm
b/tp/t/init/translated_strings_customization.pm
index 016ca88a1a..25eada63d1 100644
--- a/tp/t/init/translated_strings_customization.pm
+++ b/tp/t/init/translated_strings_customization.pm
@@ -35,7 +35,7 @@ my %translations = (
},
);
-sub _my_format_translate_string($$$;$$$)
+sub _texi2any_tests_format_translate_string($$$;$$$)
{
my ($self, $string, $lang, $replaced_substrings,
$translation_context, $type) = @_;
@@ -51,11 +51,11 @@ sub _my_format_translate_string($$$;$$$)
}
texinfo_register_formatting_function('format_translate_string',
- \&_my_format_translate_string);
+
\&_texi2any_tests_format_translate_string);
# avoid doing twice if there are more than one manual processed
my $button_added;
-sub _my_add_button
+sub _texi2any_tests_translate_add_button
{
my ($self, $tree, $stage) = @_;
@@ -67,6 +67,6 @@ sub _my_add_button
}
}
-texinfo_register_handler('setup', \&_my_add_button);
+texinfo_register_handler('setup', \&_texi2any_tests_translate_add_button);
1;
- [no subject], (continued)
- [no subject], Patrice Dumas, 2022/11/08
- [no subject], Patrice Dumas, 2022/11/08
- [no subject], Patrice Dumas, 2022/11/08
- [no subject], Patrice Dumas, 2022/11/08
- [no subject], Patrice Dumas, 2022/11/08
- [no subject], Patrice Dumas, 2022/11/08
- [no subject], Patrice Dumas, 2022/11/08
- [no subject], Patrice Dumas, 2022/11/08
- [no subject], Patrice Dumas, 2022/11/08
- [no subject], Patrice Dumas, 2022/11/08
- [no subject],
Patrice Dumas <=
- [no subject], Patrice Dumas, 2022/11/08
- [no subject], Patrice Dumas, 2022/11/08
- [no subject], Patrice Dumas, 2022/11/08
- [no subject], Patrice Dumas, 2022/11/08
- [no subject], Patrice Dumas, 2022/11/08
- [no subject], Patrice Dumas, 2022/11/08
- [no subject], Patrice Dumas, 2022/11/08
- [no subject], Patrice Dumas, 2022/11/08
- [no subject], Patrice Dumas, 2022/11/08
- [no subject], Patrice Dumas, 2022/11/08