Skip to content

Commit

Permalink
handle sub containers
Browse files Browse the repository at this point in the history
  • Loading branch information
PabstMirror committed Dec 3, 2024
1 parent a527196 commit 07037c6
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions libs/stringtable/src/rapify.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,18 @@ fn rapify(project: &Project) -> Option<XmlbLayout> {
all_translations.push(Vec::new());
}



for package in project.packages() {
for package_inner in package.containers() { // ugh
for key in package_inner.keys() {
all_keys.push(key.id().into());
// Make sure we can translate everything
if !get_translations(key, &mut all_translations) {
return None;
}
}
}
for key in package.keys() {
all_keys.push(key.id().into());
// Make sure we can translate everything
Expand Down

0 comments on commit 07037c6

Please sign in to comment.