Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update snapshots #302

Merged
merged 2 commits into from
Oct 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tests/testthat/_snaps/unix/po_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Code
po_create("jp", verbose = TRUE)
Message <simpleMessage>
Message
Creating 'jp' R translation
Running system command msginit -i './po/R-test.pot' -o './po/R-jp.po' -l 'jp' -w 80 --no-translator...
Created ./po/R-jp.po.
Expand All @@ -11,7 +11,7 @@

Code
po_create("jp", verbose = TRUE)
Message <simpleMessage>
Message
Updating 'jp' R translation
Running system command msgmerge --update './po/R-jp.po' --backup=off --previous './po/R-test.pot'...
. done.
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/_snaps/unix/po_update.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Code
po_update(verbose = TRUE, lazy = FALSE)
Message <simpleMessage>
Message
Updating 'fr' R translation
Running system command msgmerge --update './po/R-fr.po' --backup=off --previous './po/R-test.pot'.
. done.
Expand Down
27 changes: 18 additions & 9 deletions tests/testthat/_snaps/windows/po_create.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,18 @@
# the user is told what's happening

Code
po_create("jp", verbose = TRUE)
Message <simpleMessage>
Creating 'jp' R translation
Running system command msginit -i "./po/R-test.pot" -o "./po/R-jp.po" -l "jp" -w 80 --no-translator...
Created ./po/R-jp.po.

# the user is told what's happening

Code
po_create("jp", verbose = TRUE)
Message
Creating 'jp' R translation
Running system command msginit -i "./po/R-test.pot" -o "./po/R-jp.po" -l "jp" -w 80 --no-translator...
Created ./po/R-jp.po.

---

Code
po_create("jp", verbose = TRUE)
Message
Updating 'jp' R translation
Running system command msgmerge --update "./po/R-jp.po" --backup=off --previous "./po/R-test.pot"...
. done.

24 changes: 12 additions & 12 deletions tests/testthat/_snaps/windows/po_update.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# user is told what's happening
Code
po_update(verbose = TRUE, lazy = FALSE)
Message <simpleMessage>
Updating 'fr' R translation
Running system command msgmerge --update "./po/R-fr.po" --backup=off --previous "./po/R-test.pot".
. done.
Updating 'ja' R translation
Running system command msgmerge --update "./po/R-ja.po" --backup=off --previous "./po/R-test.pot".
. done.
# user is told what's happening

Code
po_update(verbose = TRUE, lazy = FALSE)
Message
Updating 'fr' R translation
Running system command msgmerge --update "./po/R-fr.po" --backup=off --previous "./po/R-test.pot".
. done.
Updating 'ja' R translation
Running system command msgmerge --update "./po/R-ja.po" --backup=off --previous "./po/R-test.pot".
. done.