diff --git a/lib/locales/en/dumb_and_dumber.yml b/lib/locales/en/dumb_and_dumber.yml index e468131b42..7db108b151 100644 --- a/lib/locales/en/dumb_and_dumber.yml +++ b/lib/locales/en/dumb_and_dumber.yml @@ -23,7 +23,7 @@ en: quotes: - Just when I thought you couldn't possibly be any dumber, you go and do something like this... and totally redeem yourself! - Oh, yeah! It's right here. Samsonite! I was way off! I knew it started with an S, though. - - You're it. You're it. You're it, quitsies! Anti-quitsies, you're it, quitsies, no anti-quitsies, no startsies! You can't do that! Can too! Cannot, stamp it! Can too, double stamp it, no erasies! Cannot, triple stamp, no erasies, Touch blue make it true. No, you can't do that... you can't triple stamp a double stamp, you can't triple stamp a double stamp! Lloyd! LA LA LA LA LA LA! LLOYD! LLOYD! LLOYD! + - You're it. You're it. You're it, quitsies! Anti-quitsies, you're it, quitsies, no anti-quitsies, no startsies! You can't do that! Can too! Cannot, stamp it! Can too, double stamp it, no erasies! Cannot, triple stamp, no erasies, Touch blue make it true. No, you can't do that... you can't triple stamp a double stamp, you can't triple stamp a double stamp! Lloyd! LA LA LA LA LA LA! LLOYD! LLOYD! LLOYD! - We got no food, we got no jobs... our PETS' HEADS ARE FALLING OFF! - Lloyd, I can't feel my fingers, they're numb! Oh well here, take this extra pair of gloves, my hands are starting to get a little sweaty. Extra gloves? You've had extra gloves this whole time? Uh yea, we are in the Rockies. Jeez! - 'Harry: You sold my dead bird to a blind kid? Lloyd! Petey didn''t even have a head! Harry, I took care of it...' diff --git a/lib/locales/en/opera.yml b/lib/locales/en/opera.yml index 0be2e51ab4..072d41d0d2 100644 --- a/lib/locales/en/opera.yml +++ b/lib/locales/en/opera.yml @@ -39,19 +39,19 @@ en: - Ciro in Babilonia ossia La caduta di Baldassare - La scala di seta - La pietra del paragone - - L'occasione fa il ladro ossia Il cambio della valigia - - Il signor Bruschino ossia Il figlio per azzardo + - L'occasione fa il ladro ossia Il cambio della valigia + - Il signor Bruschino ossia Il figlio per azzardo - Tancredi - L'italiana in Algeri - Aureliano in Palmira - Il turco in Italia - Sigismondo - - Elisabetta regina d'Inghilterra + - Elisabetta regina d'Inghilterra - Torvaldo e Dorliska - - Il barbiere di Siviglia ossia L'inutile precauzione - - La gazzetta ossia Il matrimonio per concorso - - Otello ossia Il Moro di Venezia - - La Cenerentola ossia La bontà in trionfo + - Il barbiere di Siviglia ossia L'inutile precauzione + - La gazzetta ossia Il matrimonio per concorso + - Otello ossia Il Moro di Venezia + - La Cenerentola ossia La bontà in trionfo - La gazza ladra - Armida - Adelaide di Borgogna ossia Ottone re d'Italia @@ -66,8 +66,8 @@ en: - Matilde di Shabran - Zelmira - Semiramide - - Ugo re d'Italia - - Il viaggio a Reims ossia L'albergo del Giglio d'Oro + - Ugo re d'Italia + - Il viaggio a Reims ossia L'albergo del Giglio d'Oro - Le siège de Corinthe - Moïse et Pharaon ou Le passage de la mer rouge - Le comte Ory diff --git a/lib/locales/en/restaurant.yml b/lib/locales/en/restaurant.yml index 2383581fbb..736674a53d 100644 --- a/lib/locales/en/restaurant.yml +++ b/lib/locales/en/restaurant.yml @@ -98,7 +98,7 @@ en: - To ensure that each guest receives prompt, professional, friendly and courteous service. To maintain a clean, comfortable and well maintained premises for our guests and staff. To provide at a fair price – nutritional, well-prepared meals – using only quality ingredients. To ensure that all guests and staff are treated with the respect and dignity they deserve. To thank each guest for the opportunity to serve them. By maintaining these objectives we shall be assured of a fair profit that will allow us to contribute to the community we serve. - To sell delicious and remarkable food and drinks. That the food and drink we sell meets the highest standards of quality, freshness and seasonality and combines both modern-creative and traditional southern styles of cooking. To consistently provide our customers with impeccable service by demonstrating warmth, graciousness, efficiency, knowledge, professionalism and integrity in our work. To have every customer who comes through our doors leave impressed by Maxie’s and excited to come back again. To create and maintain a restaurant that is comprehensive and exceptional in its attention to every detail of operation. To provide all who work with us a friendly, cooperative and rewarding environment which encourages long- term, satisfying, growth employment. To keep our concept fresh, exciting and on the cutting edge of the hospitality and entertainment industry. To be a giving member of the Ithaca community and to use our restaurant to improve the quality of life in the Finger Lakes region. - We are committed to using the finest ingredients in our recipes. No food leaves our kitchen that we ourselves would not eat. - - To achieve and maintain such distinction in food and wine, service, atmosphere and setting that the restaurant gains a first class reputation for gastronomy, gracious and informed hospitality, comfort and beauty which draws new and repeat customers year after year. To achieve the above whilst upholding staff policies and practices which promote a fair and positive working environment. To be aware of and act on our responsibilities as a good corporate citizen to provide a safe, clean and attractive place for guests to enjoy and for employees to work in - ensure ecologically sound management practices at the restaurant and in our surrounding gardens and woods - undertake meaningful involvement of Restaurant Les Fougères in selected charitable activities in our community and region. + - To achieve and maintain such distinction in food and wine, service, atmosphere and setting that the restaurant gains a first class reputation for gastronomy, gracious and informed hospitality, comfort and beauty which draws new and repeat customers year after year. To achieve the above whilst upholding staff policies and practices which promote a fair and positive working environment. To be aware of and act on our responsibilities as a good corporate citizen to provide a safe, clean and attractive place for guests to enjoy and for employees to work in - ensure ecologically sound management practices at the restaurant and in our surrounding gardens and woods - undertake meaningful involvement of Restaurant Les Fougères in selected charitable activities in our community and region. - To provide an exceptional dining experience that satisfies our guests’ grown-up tastes by being a Cut-Above in everything we do. - Our Mission at Denny’s is to establish beneficial business relationships with diverse suppliers who share our commitment to customer service, quality and competitive pricing. - Yoshinoya is in business to create the structure and systems needed to allow our customers access to the majority of their away-from-home daily meal requirements on a one-stop-shop basis. All our products shall be of the highest quality and value, be healthy, nutritious and provided with outstanding personal services at the lowest possible prices consistent with a fair return on investment for our shareholders, job enhancementsecurity for our employees and a level of community involvement by everyone connected with our business. All of our products and services shall be delivered consistently and measured one satisfied customer at a time, whether by company-owned or franchised operations, in superior, clean, convenient, fun and friendly neighborhood environments. We pledge to make Yoshinoya the best place to eat and the best place to work. @@ -116,7 +116,7 @@ en: - Brand new. Great design. Odd to hear pop music in a Mexican establishment. Music is a bit loud. It should be background. - The chicken nachos were delicious and the atmosphere was great. The frozen margaritas were a little on the weak side. Would probably return for a work happy hour but was pretty disappointed about the lack of free tequila and beer we read about! - The counter is on the left side, and so is the menu. It can get pretty busy with 30 min wait times. I recommend checking the website and see how busy their store is. - - They are way understaffed, where the cashier needs to stop taking orders to help pack to-go orders. The line ends up piling up and people are neglected. Seen this happen multiple times during lunch hours. + - They are way understaffed, where the cashier needs to stop taking orders to help pack to-go orders. The line ends up piling up and people are neglected. Seen this happen multiple times during lunch hours. - This particular location like the many other restaurants down the block has ample seating and a second floor. - I first heard about this place through Instagram post. The drinks looked creative so I made it a point to give it try while in the city. Located inside American Eagle in Times Square they serve up the coolest non-alcoholic beverages. You have an array of options from tea, soda, coffee, latte, water and more. Theres countertops (with phone chargers) so youre able to stand and enjoy your beverage. This visit I opted for the Pegasus latte which was not only beautiful but tasted just as good as it looked. Great staff and great service. This is a must try if you are in the area. Im sure Ill be back soon! - Great place to stop in from a chaotic Times Square adventure! The coffee is great, the drinks are creative and the staff is very nice and hospitable. Cant wait to stop in again. Without a doubt 5 stars from me!! diff --git a/lib/locales/fr/address.yml b/lib/locales/fr/address.yml index 88588a0267..9a08705fbf 100644 --- a/lib/locales/fr/address.yml +++ b/lib/locales/fr/address.yml @@ -625,7 +625,7 @@ fr: - Leclerc - Ledru Rollin - Lefevre - - Leo Hamon + - Leo Hamon - Lepic - Les Courtilles - Les Luaps diff --git a/lib/locales/sk.yml b/lib/locales/sk.yml index 87d2269a8f..19138e107a 100644 --- a/lib/locales/sk.yml +++ b/lib/locales/sk.yml @@ -761,7 +761,7 @@ sk: - Budatínska - Budatínska - Budatínska - - Búdkova cesta + - Búdkova cesta - Budovateľská - Budyšínska - Budyšínska diff --git a/test/test_locale_data_integrity.rb b/test/test_locale_data_integrity.rb new file mode 100644 index 0000000000..f9d8b9f220 --- /dev/null +++ b/test/test_locale_data_integrity.rb @@ -0,0 +1,46 @@ +# frozen_string_literal: true + +require_relative 'test_helper' + +class TestLocaleDataIntegrity < Test::Unit::TestCase + LOCALES_DIR = File.expand_path('../lib/locales', __dir__) + + # Keys whose values intentionally contain runs of spaces (column alignment + # inside a comma-separated string that the generator strips before use). + ALIGNED_KEYS = ['crypto_coin.coin'].freeze + + def test_no_accidental_consecutive_spaces_in_locale_data + offenders = [] + + Dir.glob(File.join(LOCALES_DIR, '**', '*.yml')).each do |file| + data = YAML.load_file(file, aliases: true) + rel = file.sub("#{LOCALES_DIR}/", '') + each_string(data, []) do |path, value| + next if ALIGNED_KEYS.any? { |k| path.join('.').include?(k) } + + offenders << "#{rel} @ #{path.join('.')}: #{value.inspect}" if value.match?(/\S {2,}\S/) + end + end + + assert_empty offenders, <<~MSG + Locale data must not contain runs of consecutive spaces between words. + Browsers collapse whitespace when rendering, so generated values that + carry double spaces break exact-text assertions in downstream test suites. + Offending entries: + #{offenders.join("\n")} + MSG + end + + private + + def each_string(node, path, &block) + case node + when Hash + node.each { |key, value| each_string(value, path + [key], &block) } + when Array + node.each_with_index { |value, index| each_string(value, path + [index], &block) } + when String + block.call(path, node) + end + end +end