Simplify message paths
This makes it easier to open the messages file while developing on features. The commit was the result of automatted changes: for p in compiler/rustc_*; do mv $p/locales/en-US.ftl $p/messages.ftl; rmdir $p/locales; done for p in compiler/rustc_*; do sed -i "s#\.\./locales/en-US.ftl#../messages.ftl#" $p/src/lib.rs; done
This commit is contained in:
parent
8a73f50d87
commit
7e2ecb3cd8
68 changed files with 34 additions and 34 deletions
|
@ -36,7 +36,7 @@ pub mod validate_attr;
|
|||
|
||||
mod errors;
|
||||
|
||||
fluent_messages! { "../locales/en-US.ftl" }
|
||||
fluent_messages! { "../messages.ftl" }
|
||||
|
||||
// A bunch of utility functions of the form `parse_<thing>_from_<source>`
|
||||
// where <thing> includes crate, expr, item, stmt, tts, and one that
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue