EEVEE-Next: Resolve compilation errors in Metal #106219

Merged
Jeroen Bakker merged 8 commits from Jason-Fielder/blender:MetalEEVEENext_shaderCompilation into main 2023-04-20 08:03:42 +02:00
1 changed files with 4 additions and 4 deletions
Showing only changes of commit a036458c87 - Show all commits

View File

@ -1046,7 +1046,7 @@ class I18nMessages:
self.unescape()
def write(self, kind, dest):
self.writers[kind](self, dest)
return self.writers[kind](self, dest)
def write_messages_to_po(self, fname, compact=False):
"""
@ -1126,8 +1126,8 @@ class I18nMessages:
"-o",
fname,
)
ret = subprocess.call(cmd)
return
ret = subprocess.run(cmd, capture_output=True)
return ret
# XXX Code below is currently broken (generates corrupted mo files it seems :( )!
# Using http://www.gnu.org/software/gettext/manual/html_node/MO-Files.html notation.
# Not generating hash table!
@ -1427,7 +1427,7 @@ class I18n:
self.unescape()
def write(self, kind, langs=set()):
self.writers[kind](self, langs)
return self.writers[kind](self, langs)
def write_to_po(self, langs=set()):
"""