cs/parse/
translation.rs

1use std::path::PathBuf;
2
3/// Represents a single translation entry found in a file
4#[derive(Debug, Clone, PartialEq, Eq)]
5pub struct TranslationEntry {
6    /// The full dot-notation key (e.g., "invoice.labels.add_new")
7    pub key: String,
8    /// The translation value (e.g., "Add New")
9    pub value: String,
10    /// The line number where the key is defined (1-indexed)
11    pub line: usize,
12    /// The file path where this entry was found
13    pub file: PathBuf,
14}