mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-02-23 23:52:30 +00:00
langtool: Ignore comments when syncing lines
langtool: Don't automatically copy translators.
This commit is contained in:
parent
f663ebafd4
commit
90f0a6d78b
@ -21,6 +21,14 @@ impl Section {
|
||||
} else {
|
||||
return false;
|
||||
};
|
||||
// Ignore comments when copying lines.
|
||||
if prefix.starts_with("#") {
|
||||
return false;
|
||||
}
|
||||
// Need to decide a policy for these.
|
||||
if prefix.starts_with("translators") {
|
||||
return false;
|
||||
}
|
||||
let prefix = prefix.to_owned();
|
||||
|
||||
for iter_line in &self.lines {
|
||||
|
Loading…
x
Reference in New Issue
Block a user