Skip to content

Commit 3f6a7e8

Browse files
author
Aleksei Burlakov
committed
Dev: rename 'Score' to 'Kind'
This is the next iteration of renaming 'score' -> 'kind'. Here we replace all occurences of the 'score' visible to the user. So, an English version hawk will display all correctly ('kind'). However 1) The part hidden from the user: backend, html and js tags, etc. are still 'score'. Renaming those variables is an epic, so maybe it's better not to touch them. 2) Renaming was mostly done automatically, 'Score of INFINITY' becomes 'Kind of INFINITY' 3) In the other languages the 'score' remains 'score'.
1 parent 0abbc12 commit 3f6a7e8

File tree

47 files changed

+175
-175
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+175
-175
lines changed

doc/TODO.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
* Controls for all resources: stop all, start all, ... ?
44

5-
* Display allocation scores and blocked status
5+
* Display allocation kinds and blocked status
66

77
* Show if a resource has failcounts
88

hawk/app/assets/javascripts/gettext/locale/ar/app.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -659,11 +659,11 @@ var locales = locales || {}; locales['ar'] = {
659659
null,
660660
"كلمة السر غير صالحة"
661661
],
662-
"Invalid score": [
662+
"Invalid kind": [
663663
null,
664664
"نتيجة غير صحيحة"
665665
],
666-
"Invalid score \\\"%{score}\\\"": [
666+
"Invalid kind \\\"%{score}\\\"": [
667667
null,
668668
"نتيجة غير صحيحة \\\"%{score}\\\""
669669
],
@@ -1091,7 +1091,7 @@ var locales = locales || {}; locales['ar'] = {
10911091
null,
10921092
""
10931093
],
1094-
"Score": [
1094+
"Kind": [
10951095
null,
10961096
"النتيجة"
10971097
],

hawk/app/assets/javascripts/gettext/locale/cs/app.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -661,11 +661,11 @@ var locales = locales || {}; locales['cs'] = {
661661
null,
662662
"Neplatné heslo"
663663
],
664-
"Invalid score": [
664+
"Invalid kind": [
665665
null,
666666
"Neplatné skóre"
667667
],
668-
"Invalid score \\\"%{score}\\\"": [
668+
"Invalid kind \\\"%{score}\\\"": [
669669
null,
670670
"Neplatné skóre „%{score}“"
671671
],
@@ -1093,7 +1093,7 @@ var locales = locales || {}; locales['cs'] = {
10931093
null,
10941094
""
10951095
],
1096-
"Score": [
1096+
"Kind": [
10971097
null,
10981098
"Skóre"
10991099
],

hawk/app/assets/javascripts/gettext/locale/de/app.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -659,11 +659,11 @@ var locales = locales || {}; locales['de'] = {
659659
null,
660660
"Ungültiges Passwort"
661661
],
662-
"Invalid score": [
662+
"Invalid kind": [
663663
null,
664664
"Ungültige Note"
665665
],
666-
"Invalid score \\\"%{score}\\\"": [
666+
"Invalid kind \\\"%{score}\\\"": [
667667
null,
668668
"Ungültige Note \\\"%{score}\\\""
669669
],
@@ -1091,7 +1091,7 @@ var locales = locales || {}; locales['de'] = {
10911091
null,
10921092
""
10931093
],
1094-
"Score": [
1094+
"Kind": [
10951095
null,
10961096
"Note"
10971097
],

hawk/app/assets/javascripts/gettext/locale/es/app.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -659,11 +659,11 @@ var locales = locales || {}; locales['es'] = {
659659
null,
660660
"Contraseña no válida"
661661
],
662-
"Invalid score": [
662+
"Invalid kind": [
663663
null,
664664
"Puntuación no válida"
665665
],
666-
"Invalid score \\\"%{score}\\\"": [
666+
"Invalid kind \\\"%{score}\\\"": [
667667
null,
668668
"Puntuación no válida %{score}"
669669
],
@@ -1091,7 +1091,7 @@ var locales = locales || {}; locales['es'] = {
10911091
null,
10921092
""
10931093
],
1094-
"Score": [
1094+
"Kind": [
10951095
null,
10961096
"Puntuación"
10971097
],

hawk/app/assets/javascripts/gettext/locale/fr/app.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -659,11 +659,11 @@ var locales = locales || {}; locales['fr'] = {
659659
null,
660660
"Mot de passe non valide"
661661
],
662-
"Invalid score": [
662+
"Invalid kind": [
663663
null,
664664
"Score non valide"
665665
],
666-
"Invalid score \\\"%{score}\\\"": [
666+
"Invalid kind \\\"%{score}\\\"": [
667667
null,
668668
"Score \\\"%{score}\\\" non valide"
669669
],
@@ -1091,9 +1091,9 @@ var locales = locales || {}; locales['fr'] = {
10911091
null,
10921092
""
10931093
],
1094-
"Score": [
1094+
"Kind": [
10951095
null,
1096-
"Score"
1096+
"Kind"
10971097
],
10981098
"Show Rule Editor": [
10991099
null,

hawk/app/assets/javascripts/gettext/locale/hu/app.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -659,11 +659,11 @@ var locales = locales || {}; locales['hu'] = {
659659
null,
660660
"Érvénytelen jelszó"
661661
],
662-
"Invalid score": [
662+
"Invalid kind": [
663663
null,
664664
"Érvénytelen pontszám"
665665
],
666-
"Invalid score \\\"%{score}\\\"": [
666+
"Invalid kind \\\"%{score}\\\"": [
667667
null,
668668
"Érvénytelen pontszám \\\"%{score}\\\""
669669
],
@@ -1091,7 +1091,7 @@ var locales = locales || {}; locales['hu'] = {
10911091
null,
10921092
""
10931093
],
1094-
"Score": [
1094+
"Kind": [
10951095
null,
10961096
"Pontszám"
10971097
],

hawk/app/assets/javascripts/gettext/locale/it/app.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -659,11 +659,11 @@ var locales = locales || {}; locales['it'] = {
659659
null,
660660
"Password non valida"
661661
],
662-
"Invalid score": [
662+
"Invalid kind": [
663663
null,
664664
"Punteggio non valido"
665665
],
666-
"Invalid score \\\"%{score}\\\"": [
666+
"Invalid kind \\\"%{score}\\\"": [
667667
null,
668668
"Punteggio non valido \\\"%{score}\\\""
669669
],
@@ -1091,7 +1091,7 @@ var locales = locales || {}; locales['it'] = {
10911091
null,
10921092
""
10931093
],
1094-
"Score": [
1094+
"Kind": [
10951095
null,
10961096
"Punteggio"
10971097
],

hawk/app/assets/javascripts/gettext/locale/ja/app.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -657,11 +657,11 @@ var locales = locales || {}; locales['ja'] = {
657657
null,
658658
"無効なパスワード"
659659
],
660-
"Invalid score": [
660+
"Invalid kind": [
661661
null,
662662
"無効なスコア"
663663
],
664-
"Invalid score \\\"%{score}\\\"": [
664+
"Invalid kind \\\"%{score}\\\"": [
665665
null,
666666
"無効なスコア「%{score}」"
667667
],
@@ -1089,7 +1089,7 @@ var locales = locales || {}; locales['ja'] = {
10891089
null,
10901090
""
10911091
],
1092-
"Score": [
1092+
"Kind": [
10931093
null,
10941094
"スコア"
10951095
],

hawk/app/assets/javascripts/gettext/locale/ko/app.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -657,11 +657,11 @@ var locales = locales || {}; locales['ko'] = {
657657
null,
658658
"잘못된 비밀번호"
659659
],
660-
"Invalid score": [
660+
"Invalid kind": [
661661
null,
662662
"잘못된 점수"
663663
],
664-
"Invalid score \\\"%{score}\\\"": [
664+
"Invalid kind \\\"%{score}\\\"": [
665665
null,
666666
"점수 \\\"%{score}\\\"이(가) 잘못되었습니다."
667667
],
@@ -1089,7 +1089,7 @@ var locales = locales || {}; locales['ko'] = {
10891089
null,
10901090
""
10911091
],
1092-
"Score": [
1092+
"Kind": [
10931093
null,
10941094
"점수"
10951095
],

0 commit comments

Comments
 (0)