fix lints

This commit is contained in:
Fabian Freund
2026-05-22 19:16:03 +02:00
parent a5974617aa
commit ee99d28379
72 changed files with 244 additions and 274 deletions
@@ -17,16 +17,15 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
library;
/// Curated picker options for the web-search language and country selectors.
///
/// Codes intersect what Brave (`search_lang`/`country`) and Mojeek
/// (`lb`/`rb`) accept; English display names so the menu doesn't need a
/// per-locale translation pass. The protocol carries just the primary
/// ISO 639-1 / ISO 3166-1 alpha-2 codes — region qualifiers (`en-gb`,
/// `pt-br`, etc.) are reconstructed server-side from the language+country
/// pair.
// Curated picker options for the web-search language and country selectors.
//
// Codes intersect what Brave (`search_lang`/`country`) and Mojeek
// (`lb`/`rb`) accept; English display names so the menu doesn't need a
// per-locale translation pass. The protocol carries just the primary
// ISO 639-1 / ISO 3166-1 alpha-2 codes — region qualifiers (`en-gb`,
// `pt-br`, etc.) are reconstructed server-side from the language+country
// pair.
class LanguageOption {
final String code; // ISO 639-1