Commit 53ea951f authored by Piotr Drąg's avatar Piotr Drąg 😐
Browse files
parent 29c179ab
......@@ -198,7 +198,7 @@ ide_application_local_command_line (GApplication *application,
G_OPTION_FLAG_NONE,
G_OPTION_ARG_NONE,
&version,
N_("Show the application's version") },
N_("Show the applications version") },
{ "type",
0,
......
......@@ -126,7 +126,7 @@ ide_file_manager_show (GFile *file,
else
{
g_set_error (error, G_FILE_ERROR, 0,
_("Cannot convert '%s' into a valid NSURL."), uri);
_("Cannot convert %s into a valid NSURL."), uri);
retval = FALSE;
}
......
......@@ -363,7 +363,7 @@ parse_host (const gchar *raw_host,
if (raw_host[len - 1] != ']')
{
g_set_error (error, IDE_URI_ERROR, IDE_URI_ERROR_BAD_HOST,
_("Invalid IP literal '%s' in URI"),
_("Invalid IP literal %s in URI"),
raw_host);
return FALSE;
}
......@@ -374,7 +374,7 @@ parse_host (const gchar *raw_host,
{
g_free (addr);
g_set_error (error, IDE_URI_ERROR, IDE_URI_ERROR_BAD_HOST,
_("Invalid IP literal '%s' in URI"),
_("Invalid IP literal %s in URI"),
raw_host);
return FALSE;
}
......@@ -408,7 +408,7 @@ parse_host (const gchar *raw_host,
{
g_free (decoded);
g_set_error (error, IDE_URI_ERROR, IDE_URI_ERROR_BAD_HOST,
_("Invalid encoded IP literal '%s' in URI"),
_("Invalid encoded IP literal %s in URI"),
raw_host);
return FALSE;
}
......@@ -417,7 +417,7 @@ parse_host (const gchar *raw_host,
{
g_free (decoded);
g_set_error (error, IDE_URI_ERROR, IDE_URI_ERROR_BAD_HOST,
_("Invalid non-ASCII hostname '%s' in URI"),
_("Invalid non-ASCII hostname %s in URI"),
raw_host);
return FALSE;
}
......@@ -431,7 +431,7 @@ parse_host (const gchar *raw_host,
if (flags & IDE_URI_PARSE_NO_IRI)
{
g_set_error (error, IDE_URI_ERROR, IDE_URI_ERROR_BAD_HOST,
_("Non-ASCII hostname '%s' forbidden in this URI"),
_("Non-ASCII hostname %s forbidden in this URI"),
decoded);
g_free (decoded);
return FALSE;
......@@ -454,14 +454,14 @@ parse_port (const gchar *raw_port,
if (*end)
{
g_set_error (error, IDE_URI_ERROR, IDE_URI_ERROR_BAD_PORT,
_("Could not parse port '%s' in URI"),
_("Could not parse port %s in URI"),
raw_port);
return FALSE;
}
else if (parsed_port > 65535)
{
g_set_error (error, IDE_URI_ERROR, IDE_URI_ERROR_BAD_PORT,
_("Port '%s' in URI is out of range"),
_("Port %s in URI is out of range"),
raw_port);
return FALSE;
}
......@@ -657,7 +657,7 @@ ide_uri_new_relative (IdeUri *base_uri,
if (!uri->scheme && !base_uri)
{
g_set_error (error, IDE_URI_ERROR, IDE_URI_ERROR_MISC,
_("Could not parse '%s' as absolute URI"),
_("Could not parse %s as absolute URI"),
uri_string);
GOTO (fail);
}
......@@ -1200,7 +1200,7 @@ ide_uri_parse_host (const gchar *uri_string,
if (!raw_host)
{
g_set_error (error, IDE_URI_ERROR, IDE_URI_ERROR_BAD_HOST,
_("URI '%s' has no host component"),
_("URI %s has no host component"),
uri_string);
GOTO (fail);
}
......
......@@ -560,7 +560,7 @@ transform_title (GBinding *binding,
const gchar *name = g_value_get_string (from_value);
if (name != NULL)
g_value_take_string (to_value, g_strdup_printf (_("%s - Builder"), name));
g_value_take_string (to_value, g_strdup_printf (_("%s Builder"), name));
else
g_value_set_static_string (to_value, _("Builder"));
......
......@@ -226,7 +226,7 @@
<property name="can_focus">False</property>
<property name="margin_top">6</property>
<property name="margin_bottom">6</property>
<property name="label" translatable="yes">Select a filter that act on the colors or 'None'.</property>
<property name="label" translatable="yes">Select a filter that act on the colors or None.</property>
<property name="justify">fill</property>
<property name="wrap">True</property>
<style>
......
......@@ -155,7 +155,7 @@ gb_vim_set_filetype (GtkSourceView *source_view,
g_set_error (error,
GB_VIM_ERROR,
GB_VIM_ERROR_UNKNOWN_OPTION,
_("Cannot find language '%s'"),
_("Cannot find language %s"),
value);
return FALSE;
}
......@@ -423,7 +423,7 @@ gb_vim_command_colorscheme (GtkWidget *active_widget,
g_set_error (error,
GB_VIM_ERROR,
GB_VIM_ERROR_UNKNOWN_OPTION,
_("Cannot find colorscheme '%s'"),
_("Cannot find colorscheme %s"),
options);
return FALSE;
}
......
......@@ -52,7 +52,7 @@
<property name="wrap">true</property>
<property name="visible">true</property>
<property name="max-width-chars">60</property>
<property name="label" translatable="yes">Unique name that is used for your project's folder and other technical resources. Should be in lower case without spaces and may not start with a number.</property>
<property name="label" translatable="yes">Unique name that is used for your projects folder and other technical resources. Should be in lower case without spaces and may not start with a number.</property>
<style>
<class name="dim-label"/>
</style>
......
......@@ -64,7 +64,7 @@
<property name="width-chars">35</property>
<property name="max-width-chars">50</property>
<property name="placeholder-text" translatable="yes">user@host:repository.git</property>
<property name="tooltip-text" translatable="yes">Enter the URL of your project's source code repository</property>
<property name="tooltip-text" translatable="yes">Enter the URL of your projects source code repository</property>
<property name="valign">baseline</property>
<property name="visible">true</property>
</object>
......
......@@ -45,8 +45,8 @@ HelloCppApplicationAddin::HelloCppApplicationAddin(GObject *gobj)
con = application->signal_shutdown().connect([this] {
auto stop = steady_clock::now();
auto elapsed_seconds = duration_cast<seconds>(stop - start).count();
g_print (ngettext("Wow! You've spent with Builder %d second!\n",
"Wow! You've spent with Builder %d seconds!\n",
g_print (ngettext("Wow! Youve spent with Builder %d second!\n",
"Wow! Youve spent with Builder %d seconds!\n",
elapsed_seconds),
elapsed_seconds);
});
......
......@@ -76,7 +76,7 @@ generate_support_activate (GSimpleAction *action,
goto cleanup;
}
text = g_strdup_printf (_("The support log file has been written to '%s'. "
text = g_strdup_printf (_("The support log file has been written to %s. "
"Please provide this file as an attachment on "
"your bug report or support request."),
log_path);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment