Mailinglist Archive: yast-devel (51 mails)

< Previous Next >
[yast-devel] The YaST gettext translation functions return frozen String now

Hi all,


related to the previous discussion about "can't modify frozen String"
inconsistency I
have updated the yast2-ruby-bindings package to always return a frozen String
from the gettext translation functions regardless a translation is found or not.

This should avoid some bugs in the code and make the unit tests more reliable.

There is one tricky part: it freezes the passed argument, but as discussed
before,
this should not be a real issue.


Applies to SLE15-SP1, Leap 15.1 and Factory/Tumbleweed.

See the details in https://github.com/yast/yast-ruby-bindings/pull/228


--
Ladislav Slezák
YaST Developer

SUSE LINUX, s.r.o.
Corso IIa
Křižíkova 148/34
18600 Praha 8
--
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: yast-devel+owner@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages