rust/compiler/rustc_query_system/src
bors 501ad021b9 Auto merge of #108682 - est31:simplify_dirs, r=davidtwco
Simplify message paths

This makes it easier to open the messages file. Right now I have to first click on the `locales` dir to open it, and then on the `en-US.ftl` file. `Cargo.toml` and `build.rs` files are also in the top level, and I think there should not be more than one file, so a directory isn't really needed. The [chosen strategy for pontoon adoption](https://rust-lang.zulipchat.com/#narrow/stream/336883-i18n/topic/pontoon.20and.20next.20steps) is out of tree. Even if this descision is changed in the future, the `messages.ftl` approach is also compatible with non-english translations living in-tree, as long as the non-english translations don't live in the `compiler/rustc_foo/` directories but in different ones. That would also be helpful for grepability purposes.

The commit was the result of automated 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
```

r? `@davidtwco`
2023-03-12 03:51:21 +00:00
..
dep_graph Remove dep_node_index_of_opt and dep_node_index_of 2023-03-09 08:00:54 +01:00
ich Use a lock-free datastructure for source_span 2023-02-21 08:38:24 +00:00
query Address comments 2023-03-09 08:00:40 +01:00
cache.rs Rename Ctxt and CTX to Tcx and Qcx 2022-11-06 13:25:06 +01:00
error.rs Always evaluate vecs of subdiagnostics eagerly 2022-12-04 01:13:21 +01:00
lib.rs Simplify message paths 2023-03-11 22:51:57 +01:00
values.rs Use DepKind instead of &str 2022-12-23 18:39:49 +05:30