1+ - require_stylesheet " mentoring"
12- require_stylesheet " about"
23- require_stylesheet " track"
34
45#page-localization-dashboard
5- %nav .c-header-with-bg.mb-32
6- .lg-container.flex.mt-24.mb-24
7- .content { class: "max-w-[720px]" }
8- = graphical_icon " world-colored" , css_class: 'w-[32px] h-[32px] mb-12'
9- %h1.text-h1.mb-12 Internationalization
10- %p.text-p-large.mb-16
11- We're making Exercism available in every language people want to learn in.
12- %strong.font-semibold Help us on our mission to help people globally!
6+ -#
7+ %nav.c-header-with-bg.mb-32
8+ .lg-container.flex.mt-24.mb-24
9+ .content{ class: "max-w-[720px]" }
10+ = graphical_icon "world-colored", css_class: 'w-[32px] h-[32px] mb-12'
11+ %h1.text-h1.mb-12 Internationalization
12+ %p.text-p-large.mb-16
13+ We're making Exercism available in every language people want to learn in.
14+ %strong.font-semibold Help us on our mission to help people globally!
1315
14- = graphical_icon " world" , css_class: " w-[180px] h-[180px] ml-auto hidden md:block" , category: :graphics
15- .decorations
16+ = graphical_icon "world", css_class: "w-[180px] h-[180px] ml-auto hidden md:block", category: :graphics
17+ .decorations
1618
19+ = render ViewComponents::Localization::Header.new
1720 .lg-container
21+ %h2 .text-h2.mb-2 All Locales
22+ %p .text-p-large.mb-20
23+ Track the progress of all locales.
24+ Are we missing your locale?
25+ = succeed('.') do
26+ = link_to " Open a forum issue" , " https://forum.exercism.org/c/exercism/i18n/695" , class: " text-primaryLinkColor font-semibold"
1827 .locales
1928 - @locale_counts.each do |locale, counts|
2029 - total = counts.values.sum
21-
30+
2231 .locale
2332 .flag = flag_for_locale(locale)
33+ .code = locale
34+ .name = name_for_locale(locale)
2435 .progress
25- .generating{style: " width: #{counts[:generating].to_f / total * 100}%"}
26- .unchecked{style: "width: #{counts[:unchecked].to_f / total * 100}%"}
27- .proposed {style: "width: #{counts[:proposed].to_f / total * 100}%"}
28- .checked {style: "width: #{counts[:checked].to_f / total * 100}%"}
29-
36+ .checked { style: "width: #{counts[:checked].to_f / total * 100}%" }
37+ .proposed { style: "width: #{counts[:proposed].to_f / total * 100}%" }
38+
39+ .total #{counts[:checked].to_f / total * 100}%
0 commit comments