Use positional arguments everywhere where we put more than one
string into a translatable sentence to ease the work on more exotic translations.
This commit is contained in:
committed by
Thomas Keller
parent
bfc568967b
commit
7342566c6e
@@ -306,7 +306,7 @@ class IDF_Plugin_SyncMonotone
|
||||
}
|
||||
catch (Exception $e) {
|
||||
$this->_diagnoseProblem(sprintf(
|
||||
__('Could not parse usher configuration in "%s": %s'),
|
||||
__('Could not parse usher configuration in "%1$s": %2$s'),
|
||||
$usher_config, $e->getMessage()
|
||||
));
|
||||
}
|
||||
@@ -522,7 +522,7 @@ class IDF_Plugin_SyncMonotone
|
||||
}
|
||||
catch (Exception $e) {
|
||||
$this->_diagnoseProblem(sprintf(
|
||||
__('Could not parse usher configuration in "%s": %s'),
|
||||
__('Could not parse usher configuration in "%1$s": %2$s'),
|
||||
$usher_config, $e->getMessage()
|
||||
));
|
||||
}
|
||||
@@ -596,7 +596,7 @@ class IDF_Plugin_SyncMonotone
|
||||
}
|
||||
catch (Exception $e) {
|
||||
$this->_diagnoseProblem(sprintf(
|
||||
__('Could not parse read-permissions for project "%s": %s'),
|
||||
__('Could not parse read-permissions for project "%1$s": %2$s'),
|
||||
$shortname, $e->getMessage()
|
||||
));
|
||||
}
|
||||
@@ -715,7 +715,7 @@ class IDF_Plugin_SyncMonotone
|
||||
}
|
||||
catch (Exception $e) {
|
||||
$this->_diagnoseProblem(sprintf(
|
||||
__('Could not parse read-permissions for project "%s": %s'),
|
||||
__('Could not parse read-permissions for project "%1$s": %2$s'),
|
||||
$shortname, $e->getMessage()
|
||||
));
|
||||
}
|
||||
|
Reference in New Issue
Block a user