From b06763dc1115ce0c7a4c73021b0c2144a78fe66a Mon Sep 17 00:00:00 2001 From: Matt Jankowski Date: Wed, 26 Jul 2023 09:39:53 -0400 Subject: [PATCH] Remove the `sr` locale override .rb files (#25927) --- .rubocop_todo.yml | 9 --------- config/locales/sr-Latn.rb | 5 ----- config/locales/sr.rb | 5 ----- 3 files changed, 19 deletions(-) delete mode 100644 config/locales/sr-Latn.rb delete mode 100644 config/locales/sr.rb diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 71e8623ec5c..42e7e4e89dc 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -144,13 +144,6 @@ Metrics/CyclomaticComplexity: Metrics/PerceivedComplexity: Max: 27 -# Configuration parameters: ExpectMatchingDefinition, CheckDefinitionPathHierarchy, CheckDefinitionPathHierarchyRoots, Regex, IgnoreExecutableScripts, AllowedAcronyms. -# CheckDefinitionPathHierarchyRoots: lib, spec, test, src -# AllowedAcronyms: CLI, DSL, ACL, API, ASCII, CPU, CSS, DNS, EOF, GUID, HTML, HTTP, HTTPS, ID, IP, JSON, LHS, QPS, RAM, RHS, RPC, SLA, SMTP, SQL, SSH, TCP, TLS, TTL, UDP, UI, UID, UUID, URI, URL, UTF8, VM, XML, XMPP, XSRF, XSS -Naming/FileName: - Exclude: - - 'config/locales/sr-Latn.rb' - # Configuration parameters: EnforcedStyle, CheckMethodNames, CheckSymbols, AllowedIdentifiers, AllowedPatterns. # SupportedStyles: snake_case, normalcase, non_integer # AllowedIdentifiers: capture3, iso8601, rfc1123_date, rfc822, rfc2822, rfc3339, x86_64 @@ -833,8 +826,6 @@ Style/RedundantConstantBase: Exclude: - 'config/environments/production.rb' - 'config/initializers/sidekiq.rb' - - 'config/locales/sr-Latn.rb' - - 'config/locales/sr.rb' # This cop supports unsafe autocorrection (--autocorrect-all). # Configuration parameters: SafeForConstants. diff --git a/config/locales/sr-Latn.rb b/config/locales/sr-Latn.rb deleted file mode 100644 index b7a403a8e1c..00000000000 --- a/config/locales/sr-Latn.rb +++ /dev/null @@ -1,5 +0,0 @@ -# frozen_string_literal: true - -require 'rails_i18n/common_pluralizations/romanian' - -::RailsI18n::Pluralization::Romanian.with_locale(:'sr-Latn') diff --git a/config/locales/sr.rb b/config/locales/sr.rb deleted file mode 100644 index 0605de33482..00000000000 --- a/config/locales/sr.rb +++ /dev/null @@ -1,5 +0,0 @@ -# frozen_string_literal: true - -require 'rails_i18n/common_pluralizations/romanian' - -::RailsI18n::Pluralization::Romanian.with_locale(:sr)