Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
hub
ViralHostRangeDB
Commits
b103b42d
Commit
b103b42d
authored
Sep 30, 2019
by
Bryan BRANCOTTE
Browse files
language
parent
90f89c0b
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/viralhostrange/locale/en/LC_MESSAGES/django.po
View file @
b103b42d
...
...
@@ -30,6 +30,18 @@ msgstr ""
msgid "ViralHostRangeDB administration"
msgstr ""
#, python-format
msgid ""
"Could not import response \"%(response)s\" for virus \"%(virus)s\", host"
"\"%(host)s\", replacing it with \"%(rpl)s\""
msgstr ""
#, python-format
msgid ""
"Could not parse host \"%(host)s\" at column \"%(column_id)s\" (i.e column "
"\"%(column_index)s\")"
msgstr ""
msgid "File"
msgstr ""
...
...
@@ -43,8 +55,7 @@ msgid "new_allowed_users__help_text"
msgstr ""
"By entering users here, you add these users to the list of those allowed to "
"view the data source. You will still be able to edit the list once the data "
"source have been created.<br/>Enter either their email, one per "
"line."
"source have been created.<br/>Enter either their email, one per line."
#. Translators: The text displayed in the form field when it is empty.
msgid "description_placeholder_in_form"
...
...
@@ -864,7 +875,12 @@ msgstr ""
msgid "Upload and overwrite former data"
msgstr ""
msgid "Updating the mapping of a data source"
#, python-format
msgid "Defining the mapping of data source \"%s\""
msgstr ""
#, python-format
msgid "Updating the mapping of data source \"%s\""
msgstr ""
#, python-format
...
...
src/viralhostrange/viralhostrangedb/business_process.py
View file @
b103b42d
...
...
@@ -56,11 +56,12 @@ class MessageImportationObserver(ImportationObserver):
messages
.
add_message
(
self
.
request
,
messages
.
WARNING
,
ugettext
(
"Could not import response
\"
%s
\"
for virus
\"
%s
\"
, host
\"
%s
\"
, replacing it with
\"
%s
\"
"
)
%
(
str
(
response_str
),
str
(
virus
),
str
(
host
),
str
(
replaced
),
ugettext
(
"Could not import response
\"
%(response)s
\"
for virus
\"
%(virus)s
\"
, host
\"
%(host)s
\"
, "
"replacing it with
\"
%(rpl)s
\"
"
)
%
dict
(
response
=
str
(
response_str
),
virus
=
str
(
virus
),
host
=
str
(
host
),
rpl
=
str
(
replaced
),
)
)
...
...
@@ -71,10 +72,11 @@ class MessageImportationObserver(ImportationObserver):
messages
.
add_message
(
self
.
request
,
messages
.
WARNING
,
ugettext
(
"Could not parse host
\"
%s
\"
at column
\"
%s
\"
(i.e column
\"
%s
\"
)"
)
%
(
str
(
host
),
str
(
column_id
),
str
(
self
.
id_to_excel_index
(
column_id
)),
ugettext
(
"Could not parse host
\"
%(host)s
\"
at column
\"
%(column_id)s
\"
"
"(i.e column
\"
%(column_index)s
\"
)"
)
%
dict
(
host
=
str
(
host
),
column_id
=
str
(
column_id
),
column_index
=
str
(
self
.
id_to_excel_index
(
column_id
)),
)
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment