From 130b5273e434180dcd11a85dba7bb1b6c8ba4380 Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Sat, 20 Aug 2016 09:40:30 +0530 Subject: [PATCH] letsencrypt: Replace a Unicode char with ASCII Although there is nothing wrong with the generated POT file and the encoding is properly set to UTF-8, Weblate failed with following error: We have not been able to update the source file for the resource django.pot of the project FreedomBox UI. The URL we used to update the source file from was https://raw.githubusercontent.com/freedombox/Plinth/master/plinth/locale/django.pot. The exact error we encountered was: 'ascii' codec can't encode character u'\u2019' in position 31271: ordinal not in range(128) --- plinth/modules/letsencrypt/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plinth/modules/letsencrypt/__init__.py b/plinth/modules/letsencrypt/__init__.py index 476c81598..a9a86b45f 100644 --- a/plinth/modules/letsencrypt/__init__.py +++ b/plinth/modules/letsencrypt/__init__.py @@ -47,7 +47,7 @@ description = [ 'certficate authority (CA).'), box_name=_(cfg.box_name)), _('Let\'s Encrypt is a free, automated, and open certificate ' - 'authority, run for the public’s benefit by the Internet Security ' + 'authority, run for the public\'s benefit by the Internet Security ' 'Research Group (ISRG). Please read and agree with the ' 'Let\'s Encrypt ' 'Subscriber Agreement before using this service.')