From 784bd16d8858a35c714f5da2c1d17cf0c9055d03 Mon Sep 17 00:00:00 2001 From: Erin Becker Date: Tue, 16 Apr 2024 08:49:56 -0700 Subject: [PATCH 1/7] make the authors translatable --- R/utils-translate.R | 3 +-- po/R-es.po | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/R/utils-translate.R b/R/utils-translate.R index 2c0ab9004..05744649a 100644 --- a/R/utils-translate.R +++ b/R/utils-translate.R @@ -127,7 +127,7 @@ establish_translation_vars <- function() { Cite = tr_('Cite'), Contact = tr_('Contact'), About = tr_('About'), - MaterialsLicensedUnder = tr_('Materials licensed under {license} by {authors}'), + MaterialsLicensedUnder = tr_('Materials licensed under {license} by the authors'), TemplateLicense = tr_('Template licensed under <(CC-BY 4.0)> by {template_authors}'), Carpentries = tr_('The Carpentries'), BuiltWith = tr_('Built with {sandpaper_link}, {pegboard_link}, and {varnish_link}'), @@ -396,7 +396,6 @@ fill_translation_vars <- function(the_data) { list( icons = named_icons, template_authors = 'The Carpentries', - authors = "the authors", license = the_data$license %||% "CC-BY 4.0", minutes = the_data$minutes %||% NULL, updated = the_data$updated %||% NULL diff --git a/po/R-es.po b/po/R-es.po index 8fdd1a4d7..97bb491f7 100644 --- a/po/R-es.po +++ b/po/R-es.po @@ -234,7 +234,7 @@ msgstr "Acerca de" #: utils-translate.R:130 msgid "Materials licensed under {license} by {authors}" -msgstr "Materiales bajo la {license} por {authors}" +msgstr "Materiales bajo la {license} por las autoras" #: utils-translate.R:131 msgid "Template licensed under <(CC-BY 4.0)> by {template_authors}" From 12a5f7fe4cdef91eaf4982491c8a46e66eb0346a Mon Sep 17 00:00:00 2001 From: Erin Becker Date: Tue, 16 Apr 2024 09:31:13 -0700 Subject: [PATCH 2/7] compile po files to mo --- inst/po/es/LC_MESSAGES/R-sandpaper.mo | Bin 6180 -> 6017 bytes inst/po/ja/LC_MESSAGES/R-sandpaper.mo | Bin 6537 -> 6335 bytes inst/po/uk/LC_MESSAGES/R-sandpaper.mo | Bin 7622 -> 7420 bytes po/R-es.po | 6 ++++-- po/R-ja.po | 6 ++++-- po/R-sandpaper.pot | 4 ++-- po/R-uk.po | 6 ++++-- 7 files changed, 14 insertions(+), 8 deletions(-) diff --git a/inst/po/es/LC_MESSAGES/R-sandpaper.mo b/inst/po/es/LC_MESSAGES/R-sandpaper.mo index c5d09ee0fd2c4b39603fdb1e2cce5f41d943c9a8..0b4c04a1a9d5792769c195b8ede96da5d293d6a8 100644 GIT binary patch delta 1871 zcmYk-TWFVM90%~nHJ!Pf%ehXgoVu;jYzJ4_!NX>@l~!)LyG{s=P%nz~Vpk)R5kv*S z6a*up$hxSDQCU#YsOTc7i}EJ%B9Nk05J(4t>ht~k8a=$f_w&5Zp7%Mw|Gm=lWcTFh zrS;QA8WUHFPwGl}ocrdxNj(jvEMYHGG{8k1s>(;J^4)Ay{wV9YpPM;BS9#yofNttx;Ef;c*m+&lIrBUHUY+*WX=cQc3E^eW#>~YHgpI{RwDxapS9C7RBOI*gU z*sA|>MrNskzu3$s!(71ST+A+}!G5YzwlFi?&NMW__0{txUhH`nZ{s*!`gwx z4;!ujDwz(gPH>o6ky$>*LF?bk8K%KA%$fL|>F^&KQ(0iTE9R-g3~ZfVGNEB+BBQ*F zb#W(8<+vKv5hO4`Wu-64ONb^!}9~| z<3VO%Z!`UTG%4dMpSq>tlT3vl*~7EUXW41`*Km;Oa1Z^dOfd}|VYcQNElPQV8PEx4 zpdT|U{W;tD6Y~{KF1E4BbXIO)8XDsY?q(W1#H_>%%s^jf-ur;9{Dv9G9J5ltG86fY zsh?X0vWzKjV{NxPWzs+&GvZ;U!x83%hnN)@XI^}YsrM}N*&Sx~_8sQbe_45&S)req zGx0Zb>RUXd-L-7aY3r9s16#R~4>EgrjJCZT=U$%R8g>}%QSPXm<8z*;EYFQ>wJfTZ zZFJDf!_1-G$E@srI;-VAQ9JE%m$*RODh7pBt2KsllgNu1WYS&dsNHSje<`!d=X-Zm zGDKr5+r`?dEECuwvXZxpd~LPa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O2_L@hO&lXx1+Fb->R88+h6*o^A16V=g4)C#{rb#w+d;4o?- zw^98BZT$gi;{W1WjG>}>I)^x=I+qiza0jY`O6x(?j6XyTc+NUxy@>kV52y)WMLuSl zgC;tQn)n@LZ1XGX`@h@k|DaDZTEfQZ3(3|@OroBL&te5CwTDodI)duRi^@Q+br3ZX zzpY=!Rn+IO1cS)OB=KV{G$WS$dpIeeAq~%>7pGB~DJK6dcn$OLC6=QO52Egk`Y^wtuK$IaU<9Lc zYBr+wyuj9L@kQ#5w*ED)q5d7}W}d(|aUOSLGHF!*9-lpFM~8+UR7V$V`%k!&dJuEa zVL!648ehgv)IdL?CVCUKr9Wc|K0r-)6=~4*R4l?=RDZrEPBh?Y>viiNm`wZHMAD9h zsColxfKM?M2a!dYDb#>2zJq_FGFr~^HE<=WegKuZ24o9-rpI3RGTdPLF@rA*p*p^W z%*Fg-eTaqBqj(7@g{9UC+)TX=H{utl%#7IfS=0g^p|&!Ki}||CwsDe9L#wqPm6{1` z#QUff)Ua&bwTJLLw%{&|=TQmbeoTyDa@=Y2)GK+NR$&UGZo(F1#byANiSKbW$saH0%huMTOp){{2RHDNe$GQY{r$1R(LugTIe`C=_pH{Y)c$?5O zuhhLlC`DSGNu&B;$z{@B+{-Wma zW2FW?6)G`fA+w?NpK\n" "Language-Team: LANGUAGE \n" @@ -223,7 +223,7 @@ msgid "About" msgstr "" #: utils-translate.R:130 -msgid "Materials licensed under {license} by {authors}" +msgid "Materials licensed under {license} by the authors" msgstr "" #: utils-translate.R:131 diff --git a/po/R-uk.po b/po/R-uk.po index f54b7d9d7..d2f60c4ca 100644 --- a/po/R-uk.po +++ b/po/R-uk.po @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: sandpaper 0.16.1.9000\n" -"POT-Creation-Date: 2024-04-11 13:14+0100\n" +"POT-Creation-Date: 2024-04-16 09:27-0700\n" "PO-Revision-Date: 2023-12-19 09:37-0800\n" "Last-Translator: Olexandr Konovalov\n" "Language-Team: none\n" @@ -233,7 +233,9 @@ msgid "About" msgstr "Інформація" #: utils-translate.R:130 -msgid "Materials licensed under {license} by {authors}" +#, fuzzy +#| msgid "Materials licensed under {license} by {authors}" +msgid "Materials licensed under {license} by the authors" msgstr "Матеріали ліцензовані за {license}. Автори: {authors}" #: utils-translate.R:131 From 7d757147481f08ae2741349dcb7fec496b872cbf Mon Sep 17 00:00:00 2001 From: Erin Becker Date: Fri, 19 Apr 2024 09:16:13 -0700 Subject: [PATCH 3/7] compile mo --- inst/po/es/LC_MESSAGES/R-sandpaper.mo | Bin 6017 -> 6184 bytes po/R-es.po | 2 -- po/R-sandpaper.pot | 2 +- 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/inst/po/es/LC_MESSAGES/R-sandpaper.mo b/inst/po/es/LC_MESSAGES/R-sandpaper.mo index 0b4c04a1a9d5792769c195b8ede96da5d293d6a8..342d22549a95a12b183ccdc4090ebf6e272311bc 100644 GIT binary patch delta 2037 zcmZA2TTISz9LMpWlt@GeIrpa|h(+q(33W^TagS!-Zisww9quH_Tzv zOcxGyQ&%=QTo^M(7i?y>HaE1jcz^1bHNXA8zt{iwd;b65`Cq5KchZBOqC+nmQV}tg z=nOF?h_zv4q~qbnL}3l8>O4l^C0pNM>+j)c>K|Yzw&6-_M=ldG(wI>gVU0ze3!3TN zsDni0G8tqOFdOyac8tVbsE*4q9s`(+7m&+5B+~#}aV)l5Un7_KOyg4bO`N9c z;U=1jRX7fda0KqdF<6Oeuol(O1=I}dQ4L+g1Z+l4Ki4wiLBe<*0^EpjP0VwGlOthqn9#$5VcZ%diW%%v4_1L{lPJ zf0vsqDiZMq)?f!}WwKfS!`Oye2@lgzgC(f5aRk+24Kf*X3TF&si%#zm;5+>JVvF6zZvRD-8c1GtP+@H*=G$EX3dTRSm{ z@;h9By{LhCgG@&qEkWu`4yxfTs0Ye09V=0vXA{oGHdKdSQ15A9)XsQh@k~7G@Ft-K zv;Z~GWvG?TLkELbu&_pu5pNVl;h;z|J4X6&a zVpmZUYD6w`n~VVkO{@K(1Jz+Cs-gF&k$0my{*9W!2sTzLF$UFOD(bm~sLyaYYLAPN zV_=S1&!ASS9=XgdvPn8+Pq|UUZ%_|>KsE3KS6~>U(O%{w$HWxkK`g;Ee2xwH%UZ|s zT%_z_Sr%a%(vUj)DG%R1bWgsz|l9DVT5Xb&@yO`)Qa>tR=j*PUk3r zD7597xP;I_)FGZvtRem-HJIMw3GWF>_f@<8{l1ETQ?Y-KTN!Z6oTHUxuHQLf%O{=E z8mGG4b$myw%d7l>mZXShBh&0#Zonz^9jJ0Dd_$f;T;-=CpcktAzCg?O=qsUr0amHA A5C8xG delta 1871 zcmYk-TWFVM90%~nHJ!Pf%ehXgoVu;jYzJ4_!Nay}E3MpgcbyO#p12T$PVi<-6FZ{7KexA2)N7uJXRyr94&n z1=X7>r)AQ?w_M0MUcvKpl}3e^v4!clomX-VyEsHw+3l7AKEozXRz6QxIqcTWV_e3s z*sA|>PG+fszu3$s!(71ST+A+}!G5YzhL{;{V;UOea!xQ4nP%EKR6W1W4E$YQ%~RF$ z88+*`d@qw3{=qabU+vh+bkte7y0V+8-_HzmfUYv)mI3Zy2K+EJS@tmX_g8;EzzpOC zPNl+YGVv{5!}r+2ubCzNfmxwnn1<%r=*+ySauqX>_0{txUha7(@8Seq`gww z4;!ujDwz(gPI81rvWMrH&$83>Z{Q%);cogRUXd-L-7aY3r9s16#O}k1~6Bl(xMb=N_Kq8g>}%5pJ)X<4c~WEzhlNwJfTZ zt#r`KXsNHSje<`!d=X-xu zGE8GD+r-+cEE58>al5!q zTrd0|E9*th(q_>qE~fk_>7vyiky^on~$&O^KC7Y(!f8~&`D PJ+|nxg|n};%+&u2Ub%_d diff --git a/po/R-es.po b/po/R-es.po index a9692723b..249888e0d 100644 --- a/po/R-es.po +++ b/po/R-es.po @@ -233,8 +233,6 @@ msgid "About" msgstr "Acerca de" #: utils-translate.R:130 -#, fuzzy -#| msgid "Materials licensed under {license} by {authors}" msgid "Materials licensed under {license} by the authors" msgstr "Materiales bajo la {license} por las autoras" diff --git a/po/R-sandpaper.pot b/po/R-sandpaper.pot index eb13724cc..dbe0ed249 100644 --- a/po/R-sandpaper.pot +++ b/po/R-sandpaper.pot @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: sandpaper 0.16.4\n" -"POT-Creation-Date: 2024-04-16 09:27-0700\n" +"POT-Creation-Date: 2024-04-19 09:14-0700\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" From ed5c2c0a818f38e770ea41e673a63397b0354fd6 Mon Sep 17 00:00:00 2001 From: joelnitta Date: Sat, 20 Apr 2024 19:37:39 +0900 Subject: [PATCH 4/7] Add JA translation for 'authors' --- inst/po/ja/LC_MESSAGES/R-sandpaper.mo | Bin 6335 -> 6536 bytes po/R-ja.po | 6 ++---- po/R-sandpaper.pot | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/inst/po/ja/LC_MESSAGES/R-sandpaper.mo b/inst/po/ja/LC_MESSAGES/R-sandpaper.mo index 120f993da611e205c34367748d923210ea073607..ac200f8a7276e5d4099bbd979da6da5c2183711b 100644 GIT binary patch delta 2034 zcmZA2OH5Q(9LMn^1*s#7s3@Y9QK{ks0jY1=qG;<|@qvj%4U~z4p`Z*T5;VgYO{c}w zHwGGYVKwpHhzT(ejV{!MqH)o5Vbn0uuu?asG11!ZZ}?-3C-c9bbI!f@yzaSoZsde> zgHHy>9(AN5Via*N#Xn^fF5O10fk)M0Y zAq%^4D5fx)WKA`b%wQ@Ca1a(@U)+KNuoBhaPEjm2xf)!4;^bEk&)AAJtGjY6ZgPanwMrSos6gY4sW4WCXe;sh8?Jt$YeTda5HLeY)5rihfKybU}_&8 z5$X|~p%ujYNqw58-K@SJb}9ID(b#=JAW5P zQ~n2a-@h1bkI|-3PQq-QgtM_2)$Y+C87=*3tGJA6;D(hS;Y7+^I1&>$sTpLT8dzd( zK((_KHP9MV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a/po/R-sandpaper.pot b/po/R-sandpaper.pot index dbe0ed249..63b01afe7 100644 --- a/po/R-sandpaper.pot +++ b/po/R-sandpaper.pot @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: sandpaper 0.16.4\n" -"POT-Creation-Date: 2024-04-19 09:14-0700\n" +"POT-Creation-Date: 2024-04-20 19:32+0900\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" From 22c76f91c27950b2e5c6ceba4af47ea8cc005190 Mon Sep 17 00:00:00 2001 From: Erin Becker Date: Fri, 26 Apr 2024 08:36:14 -0700 Subject: [PATCH 5/7] remove {authors} var --- R/utils-translate.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/utils-translate.R b/R/utils-translate.R index 05744649a..f5ac06067 100644 --- a/R/utils-translate.R +++ b/R/utils-translate.R @@ -377,7 +377,7 @@ replace_html <- function(txt, open, close) { #' one = "a normal translated string (pretend it's translated from another language)", #' two = "a question: are you (A) {a}, (B) {b}", #' EstimatedTime = "Estimated time: {icons$clock} {minutes}", -#' license = "Licensed under {license} by {authors}", +#' license = "Licensed under {license} by the authors", #' ThisLessonCoC = "This lesson operates under our <(Code of Conduct)>" #' ) #' ) From 6410405311aa39568df49826e669594e74e09db1 Mon Sep 17 00:00:00 2001 From: Erin Becker Date: Fri, 26 Apr 2024 09:25:16 -0700 Subject: [PATCH 6/7] test remove {authors} var --- man/fill_translation_vars.Rd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man/fill_translation_vars.Rd b/man/fill_translation_vars.Rd index 3b83f4728..646884497 100644 --- a/man/fill_translation_vars.Rd +++ b/man/fill_translation_vars.Rd @@ -37,7 +37,7 @@ dat <- list( one = "a normal translated string (pretend it's translated from another language)", two = "a question: are you (A) {a}, (B) {b}", EstimatedTime = "Estimated time: {icons$clock} {minutes}", - license = "Licensed under {license} by {authors}", + license = "Licensed under {license} by the authors", ThisLessonCoC = "This lesson operates under our <(Code of Conduct)>" ) ) From c5cbb5c9e83c62ec3798fe09d1d11d4e497604ac Mon Sep 17 00:00:00 2001 From: Erin Becker Date: Fri, 26 Apr 2024 09:53:26 -0700 Subject: [PATCH 7/7] update documentation for translations --- man/known_languages.Rd | 1 + man/translations.Rd | 5 ++--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/man/known_languages.Rd b/man/known_languages.Rd index add144211..4ee2b95b7 100644 --- a/man/known_languages.Rd +++ b/man/known_languages.Rd @@ -23,6 +23,7 @@ details of how to do so in the source code for {sandpaper}. \if{html}{\out{
}}\preformatted{#> - en #> - es #> - ja +#> - uk }\if{html}{\out{
}} } } diff --git a/man/translations.Rd b/man/translations.Rd index eccb7abc1..bdf13bb4d 100644 --- a/man/translations.Rd +++ b/man/translations.Rd @@ -82,7 +82,7 @@ Whenever a lesson is built, the function \code{set_language()} will read the lesson is generated or updated. \subsection{List of Translation Variables}{ -There are 62 translations generated by +There are 61 translations generated by \code{set_language()} that correspond to the following variables in {varnish}:\tabular{ll}{ variable \tab string \cr \code{translate.SkipToMain} \tab \code{'Skip to main content'} \cr @@ -105,7 +105,6 @@ There are 62 translations generated by \code{translate.Glossary} \tab \code{'Glossary'} \cr \code{translate.LearnerProfiles} \tab \code{'Learner Profiles'} \cr \code{translate.More} \tab \code{'More'} \cr - \code{translate.Search} \tab \code{'Search'} \cr \code{translate.LessonProgress} \tab \code{'Lesson Progress'} \cr \code{translate.CloseMenu} \tab \code{'close menu'} \cr \code{translate.EPISODES} \tab \code{'EPISODES'} \cr @@ -137,7 +136,7 @@ There are 62 translations generated by \code{translate.Cite} \tab \code{'Cite'} \cr \code{translate.Contact} \tab \code{'Contact'} \cr \code{translate.About} \tab \code{'About'} \cr - \code{translate.MaterialsLicensedUnder} \tab \code{'Materials licensed under {license} by {authors}'} \cr + \code{translate.MaterialsLicensedUnder} \tab \code{'Materials licensed under {license} by the authors'} \cr \code{translate.TemplateLicense} \tab \code{'Template licensed under <(CC-BY 4.0)> by {template_authors}'} \cr \code{translate.Carpentries} \tab \code{'The Carpentries'} \cr \code{translate.BuiltWith} \tab \code{'Built with {sandpaper_link}, {pegboard_link}, and {varnish_link}'} \cr