BookStack icon indicating copy to clipboard operation
BookStack copied to clipboard

comment count update error

Open GongMingCai opened this issue 3 years ago • 0 comments

Describe the Bug

when i set application default language to 'zh_CN' or 'zh_TW', then add or delete comment for a page, as a result, the comment count no update and show as below image.

image

image

Steps to Reproduce

  1. set .env file APP_LANG=zh_CN or APP_LANG=zh_TW
  2. open a page and add some comments
  3. the comment count no updae

Expected Behaviour

the comment count should update normally

Screenshots or Additional Context

No response

Browser Details

Version 103.0.5060.114 (Official Build) (64-bit)

Exact BookStack Version

v22.06.2

PHP Version

8.0.20

Hosting Environment

Red Hat Enterprise Linux Server release 7.4 (Maipo)

GongMingCai avatar Jul 06 '22 09:07 GongMingCai

Thanks for reporting @GongMingCai. Done some testing across these languages, based upon that, this should be addressed by commit 9d54cb2254599ae2e506d519f779120d8942eca0 which will be part of the next feature release.

ssddanbrown avatar Sep 03 '22 17:09 ssddanbrown