Skip to content

Commit

Permalink
update snapshots (#302)
Browse files Browse the repository at this point in the history
* update snapshots

* windows snapshot
  • Loading branch information
MichaelChirico authored Oct 24, 2023
1 parent 05e873d commit a0eb5ec
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 24 deletions.
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.

0 comments on commit a0eb5ec

Please sign in to comment.