fix and implement ffi tranlation

This commit is contained in:
dignifiedquire
2019-09-15 19:31:07 +02:00
committed by Floris Bruynooghe
parent 5486ac5b9f
commit 0bf3d20e07
8 changed files with 80 additions and 41 deletions

View File

@@ -81,12 +81,9 @@ pub enum Event {
/// it is probably more useful to report this to the user
/// instead of the string from data2.
///
/// @param data1 (usize) 1=first/new network error, should be reported the user;
/// 0=subsequent network error, should be logged only
/// @param data2 (String) string
/// @return 0
#[strum(props(id = "401"))]
ErrorNetwork(usize, String),
ErrorNetwork(String),
/// An action cannot be performed because the user is not in the group.
/// Reported eg. after a call to