Jira (PUP-8122) I18n strings that include repeated lists of sentence fragments can be hard to translate
Title: Message Title Josh Cooper updated an issue Puppet / PUP-8122 I18n strings that include repeated lists of sentence fragments can be hard to translate Change By: Josh Cooper Release Notes: Not Needed Add Comment This message was sent by Atlassian JIRA (v7.0.2#70111-sha1:88534db) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-8122) I18n strings that include repeated lists of sentence fragments can be hard to translate
Title: Message Title Jacob Helwig commented on PUP-8122 Re: I18n strings that include repeated lists of sentence fragments can be hard to translate Merged into 5.3.x in e97a37d6. Add Comment This message was sent by Atlassian JIRA (v7.0.2#70111-sha1:88534db) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-8122) I18n strings that include repeated lists of sentence fragments can be hard to translate
Title: Message Title Eric Delaney updated an issue Puppet / PUP-8122 I18n strings that include repeated lists of sentence fragments can be hard to translate Change By: Eric Delaney Fix Version/s: PUP 5.4.0 Fix Version/s: PUP 5.3.4 Add Comment This message was sent by Atlassian JIRA (v7.0.2#70111-sha1:88534db) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-8122) I18n strings that include repeated lists of sentence fragments can be hard to translate
Title: Message Title Eric Delaney assigned an issue to Eric Delaney Puppet / PUP-8122 I18n strings that include repeated lists of sentence fragments can be hard to translate Change By: Eric Delaney Assignee: Eric Delaney Add Comment This message was sent by Atlassian JIRA (v7.0.2#70111-sha1:88534db) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-8122) I18n strings that include repeated lists of sentence fragments can be hard to translate
Title: Message Title Eric Delaney updated an issue Puppet / PUP-8122 I18n strings that include repeated lists of sentence fragments can be hard to translate Change By: Eric Delaney Sprint: Platform Core Hopper KANBAN Add Comment This message was sent by Atlassian JIRA (v7.0.2#70111-sha1:88534db) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-8122) I18n strings that include repeated lists of sentence fragments can be hard to translate
Title: Message Title Larissa Lane commented on PUP-8122 Re: I18n strings that include repeated lists of sentence fragments can be hard to translate Great, thanks Eric Delaney Add Comment This message was sent by Atlassian JIRA (v7.0.2#70111-sha1:88534db) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-8122) I18n strings that include repeated lists of sentence fragments can be hard to translate
Title: Message Title Eric Delaney updated an issue Puppet / PUP-8122 I18n strings that include repeated lists of sentence fragments can be hard to translate Change By: Eric Delaney We need to review the PO file and source code of pupppet puppet looking for strings where we build up a list of things where we include sentence fragment in the repeated list and determine if this should be change to allow for better translationsFor example the below code includes a sentence fragment "which depends on" which will be hard to translate into Japanese, We should create a list of cases, review them and determine which ones we want to change string in.lib/puppet/module_tool/errors/shared.rb{code}_("which depends on '%{name}' (%{version})") % { name: m[:name], version: v(m[:version]) }{code}{code} dependency_list = @source[1..-1].map do |m|#TRANSLATORS This message repeats as separate lines as a list under the heading "You specified '%{name}' (%{version})\n"_("which depends on '%{name}' (%{version})") % { name: m[:name], version: v(m[:version]) } end.join(",\n") msg_variables = { requested_module: @requested_module, version: v(@requested_version), module_name: @module_name,name: @source.first[:name], dependency_list: dependency_list } _(<<-EOM).chomp % msg_variablesCould not install module '%{requested_module}' (%{version}) No version of '%{module_name}' will satisfy dependenciesYou specified '%{name}' (%{version})%{dependency_list}Use `puppet module install --force` to install this module anyway EOM{code} {code}_("You may have meant `puppet module %{action} %{suggestion}`") % { action: @action, suggestion: suggestion }{code}{code} suggestion_list = @suggestions.map do |suggestion|_("You may have meant `puppet module %{action} %{suggestion}`") % { action: @action, suggestion: suggestion } end.join("\n") if @action == :upgrade# TRANSLATORS `puppet module install` is a command line and We should not be translated_(<<-EOM).chomp % { action: @action, module_name: @module_name, suggestion_list: suggestion_list }Could not %{action} module '%{module_name}' Module '%{module_name}' is not installed%{suggestion_list}Use `puppet module install` look to install this moduleEOM else_(<<-EOM).chomp % { action: @action, module_name: @module_name, suggestion_list: suggestion_list }Could not %{action} module '%{module_name}' Module '%{module_name}' is not installed%{suggestion_list}EOM end{code}{code}_("'%{module_name}' (%{version}) was found in %{path}") % { module_name: @module_name, version: v(mod.version), path: mod.modulepath }{code}{code} module_path_list = @modules.map do |mod|#TRANSLATORS This is repeats as separate lines as a list under "Module '%{module_name}' appears multiple places in update the module path"_("'%{module_name}' (%{version}) was found in %{path}") % { module_name: @module_name, version: v(mod.version), path: mod.modulepath } end.join("\n") # TRANSLATORS `--modulepath` is command line option and should not repeated list text to be translated _ ( <<-EOM and remove the TRANSLATOR comment ) .chomp % { action: @action, module_name:
Jira (PUP-8122) I18n strings that include repeated lists of sentence fragments can be hard to translate
Title: Message Title Eric Delaney updated an issue Puppet / PUP-8122 I18n strings that include repeated lists of sentence fragments can be hard to translate Change By: Eric Delaney Sprint: Platform Core Grooming Hopper Add Comment This message was sent by Atlassian JIRA (v7.0.2#70111-sha1:88534db) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-8122) I18n strings that include repeated lists of sentence fragments can be hard to translate
Title: Message Title Eric Delaney updated an issue Puppet / PUP-8122 I18n strings that include repeated lists of sentence fragments can be hard to translate Change By: Eric Delaney Comment: Since we're moving away from Here docs for these translated strings, this problem is addressed. Add Comment This message was sent by Atlassian JIRA (v7.0.2#70111-sha1:88534db) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-8122) I18n strings that include repeated lists of sentence fragments can be hard to translate
Title: Message Title Larissa Lane commented on PUP-8122 Re: I18n strings that include repeated lists of sentence fragments can be hard to translate If each line in the list forms a full sentence and is externalized by itself, this should be okay. The only fragment of a sentence I can see in the examples is "which depends on ..." We could fix this by changing it to "This depends on ..." or "'% {name} ' (% {version} ) depends on ..." so that it is a complete sentence. I'm not sure if I'm fully understanding the problem you want to highlight though. Add Comment This message was sent by Atlassian JIRA (v7.0.2#70111-sha1:88534db) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-8122) I18n strings that include repeated lists of sentence fragments can be hard to translate
Title: Message Title Eric Delaney updated an issue Puppet / PUP-8122 I18n strings that include repeated lists of sentence fragments can be hard to translate Change By: Eric Delaney Sub-team: Coremunity Add Comment This message was sent by Atlassian JIRA (v7.0.2#70111-sha1:88534db) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-8122) I18n strings that include repeated lists of sentence fragments can be hard to translate
Title: Message Title Eric Delaney updated an issue Puppet / PUP-8122 I18n strings that include repeated lists of sentence fragments can be hard to translate Change By: Eric Delaney Sprint: Platform Core Grooming Add Comment This message was sent by Atlassian JIRA (v7.0.2#70111-sha1:88534db) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-8122) I18n strings that include repeated lists of sentence fragments can be hard to translate
Title: Message Title Eric Delaney commented on PUP-8122 Re: I18n strings that include repeated lists of sentence fragments can be hard to translate Larissa Lane The description lists the cases I could find where we build a list of something and want to include it in the output. The one line code example above each code section is the line that is repeats to make up the list. Add Comment This message was sent by Atlassian JIRA (v7.0.2#70111-sha1:88534db) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-8122) I18n strings that include repeated lists of sentence fragments can be hard to translate
Title: Message Title Eric Delaney updated an issue Puppet / PUP-8122 I18n strings that include repeated lists of sentence fragments can be hard to translate Change By: Eric Delaney We need to review the PO file and source code of pupppet looking for strings where we build up a list of things where we include sentence fragment in the repeated list and determine if this should be change to allow for better translationsFor example the below code includes a sentence fragment "which depends on" which will be hard to translate into Japanese, We should create a list of cases, review them and determine which ones we want to change string in. lib/puppet/module_tool/errors/shared.rb{code}_("which depends on '%{name}' (%{version})") % { name: m[:name], version: v(m[:version]) }{code}{code} dependency_list = @source[1..-1].map do |m|#TRANSLATORS This message repeats as separate lines as a list under the heading "You specified '%{name}' (%{version})\n"_("which depends on '%{name}' (%{version})") % { name: m[:name], version: v(m[:version]) } end.join(",\n") msg_variables = { requested_module: @requested_module, version: v(@requested_version), module_name: @module_name,name: @source.first[:name], dependency_list: dependency_list } _(<<-EOM).chomp % msg_variablesCould not install module '%{requested_module}' (%{version}) No version of '%{module_name}' will satisfy dependenciesYou specified '%{name}' (%{version})%{dependency_list}Use `puppet module install --force` to install this module anyway EOM{code}{code}_("You may have meant `puppet module %{action} %{suggestion}`") % { action: @action, suggestion: suggestion }{code}{code} suggestion_list = @suggestions.map do |suggestion|_("You may have meant `puppet module %{action} %{suggestion}`") % { action: @action, suggestion: suggestion } end.join("\n") if @action == :upgrade# TRANSLATORS `puppet module install` is a command line and should not be translated_(<<-EOM).chomp % { action: @action, module_name: @module_name, suggestion_list: suggestion_list }Could not %{action} module '%{module_name}' Module '%{module_name}' is not installed%{suggestion_list}Use `puppet module install` to install this moduleEOM else_(<<-EOM).chomp % { action: @action, module_name: @module_name, suggestion_list: suggestion_list }Could not %{action} module '%{module_name}' Module '%{module_name}' is not installed%{suggestion_list}EOM end{code}{code}_("'%{module_name}' (%{version}) was found in %{path}") % { module_name: @module_name, version: v(mod.version), path: mod.modulepath }{code}{code} module_path_list = @modules.map do |mod|#TRANSLATORS This is repeats as separate lines as a list under "Module '%{module_name}' appears multiple places in the module path"_("'%{module_name}' (%{version}) was found in %{path}") % { module_name: @module_name, version: v(mod.version), path: mod.modulepath } end.join("\n") # TRANSLATORS `--modulepath` is command line option and should not be translated _(<<-EOM).chomp % { action: @action, module_name: @module_name, module_path_list: module_path_list }Could not %{action} module '%{module_name}'
Jira (PUP-8122) I18n strings that include repeated lists of sentence fragments can be hard to translate
Title: Message Title Eric Delaney updated an issue Puppet / PUP-8122 I18n strings that include repeated lists of sentence fragments can be hard to translate Change By: Eric Delaney We need to review the PO file and source code of pupppet looking for strings where we build up a list of things where we include sentence fragment in the repeated list and determine if this should be change to allow for better translationsFor example the below code includes a sentence fragment "which depends on" which will be hard to translate into Japanese, We should create a list of cases, review them and determine which ones we want to change string in. lib/puppet/module_tool/errors/shared.rb {code} _("which depends on '%{name}' (%{version})") % { name: m[:name], version: v(m[:version]) }{code} def multiline {code} dependency_list = @source[1..-1].map do |m|#TRANSLATORS This message repeats as separate lines as a list under the heading "You specified '%{name}' (%{version})\n"_("which depends on '%{name}' (%{version})") % { name: m[:name], version: v(m[:version]) } end.join(",\n") msg_variables = { requested_module: @requested_module, version: v(@requested_version), module_name: @module_name,name: @source.first[:name], dependency_list: dependency_list } _(<<-EOM).chomp % msg_variablesCould not install module '%{requested_module}' (%{version}) No version of '%{module_name}' will satisfy dependenciesYou specified '%{name}' (%{version})%{dependency_list}Use `puppet module install --force` to install this module anyway EOM {code}{code}_("You may have meant `puppet module %{action} %{suggestion}`") % { action: @action, suggestion: suggestion }{code}{code} suggestion_list = @suggestions.map do |suggestion|_("You may have meant `puppet module %{action} %{suggestion}`") % { action: @action, suggestion: suggestion } end .join("\n") if @action == :upgrade# TRANSLATORS `puppet module install` is a command line and should not be translated_(<<-EOM).chomp % { action: @action, module_name: @module_name, suggestion_list: suggestion_list }Could not %{action} module '%{module_name}' Module '%{module_name}' is not installed%{suggestion_list}Use `puppet module install` to install this moduleEOM else_(<<-EOM).chomp % { action: @action, module_name: @module_name, suggestion_list: suggestion_list }Could not %{action} module '%{module_name}' Module '%{module_name}' is not installed%{suggestion_list}EOM end{ code} {code}_("'%{module_name}' (%{version}) was found in %{path}") % { module_name: @module_name, version: v(mod.version), path: mod.modulepath }{code}{code} module_path_list = @modules.map do |mod|#TRANSLATORS This is repeats as separate lines as a list under "Module '%{module_name}' appears multiple places in the module path"_("'%{module_name}' (%{version}) was found in %{path}") % { module_name: @module_name, version: v(mod.version), path: mod.modulepath } end.join("\n") # TRANSLATORS `--modulepath` is command line option and should not be translated _(<<-EOM).chomp % { action: @action, module_name: @module_name, module_path_list: module_path_list }Could not %{action}
Jira (PUP-8122) I18n strings that include repeated lists of sentence fragments can be hard to translate
Title: Message Title Craig Gomes updated an issue Puppet / PUP-8122 I18n strings that include repeated lists of sentence fragments can be hard to translate Change By: Craig Gomes Team: Platform Core Add Comment This message was sent by Atlassian JIRA (v7.0.2#70111-sha1:88534db) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-8122) I18n strings that include repeated lists of sentence fragments can be hard to translate
Title: Message Title Eric Delaney created an issue Puppet / PUP-8122 I18n strings that include repeated lists of sentence fragments can be hard to translate Issue Type: Bug Assignee: Unassigned Created: 2017/11/02 4:08 PM Priority: Normal Reporter: Eric Delaney We need to review the PO file and source code of pupppet looking for strings where we build up a list of things where we include sentence fragment in the repeated list and determine if this should be change to allow for better translations For example the below code includes a sentence fragment "which depends on" which will be hard to translate into Japanese, We should create a list of cases, review them and determine which ones we want to change string in. def multiline dependency_list = @source[1..-1].map do |m| #TRANSLATORS This message repeats as separate lines as a list under the heading "You specified '%{name}' (%{version})\n"