Skip to content

Commit fe93911

Browse files
committed
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
1 parent 8652bbb commit fe93911

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed
File renamed without changes.

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ use rustc_span::Symbol;
8787
use rustc_span::fatal_error::FatalError;
8888
use tempfile::TempDir;
8989

90-
fluent_messages! { "../locales/en-US.ftl" }
90+
fluent_messages! { "../messages.ftl" }
9191

9292
pub struct PrintOnPanic<F: Fn() -> String>(pub F);
9393

0 commit comments

Comments
 (0)