Branch: refs/heads/master
Author: Colomban Wendling <ban(a)herbesfolles.org>
Committer: Colomban Wendling <ban(a)herbesfolles.org>
Date: Sat, 16 Aug 2014 15:59:10 UTC
Commit: 768659b89fc8bc6727f5bce7605d417edc859f4a
https://github.com/geany/geany/commit/768659b89fc8bc6727f5bce7605d417edc859…
Log Message:
-----------
i18n: don't restrict LINGUAS at configure time
Don't use the $LINGUAS at configure time to set ALL_LINGUAS, and let
the translations Makefile properly honor the $LINGUAS itself, which it
already does better than we do, cleanly ignoring translations it
doesn't know.
If we do set ALL_LINGUAS=$LINGUAS, it will result in a build failure if
we do not have a translation for some of the language(s) specified in
$LINGUAS, and would make it impossible to build other languages without
re-configuring. So, just drop that part and let the build-time support
kick in.
Closes #507.
Modified Paths:
--------------
m4/geany-i18n.m4
Modified: m4/geany-i18n.m4
6 lines changed, 1 insertions(+), 5 deletions(-)
===================================================================
@@ -10,11 +10,7 @@ AC_DEFUN([GEANY_I18N],
AC_SUBST([GETTEXT_PACKAGE])
AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE], ["$GETTEXT_PACKAGE"], [Gettext package.])
- if test -n "${LINGUAS}"; then
- ALL_LINGUAS="${LINGUAS}"
- else
- ALL_LINGUAS=`cd "$srcdir/po" 2>/dev/null && ls *.po 2>/dev/null | $AWK 'BEGIN { FS="."; ORS=" " } { print $[]1 }'`
- fi
+ ALL_LINGUAS=`cd "$srcdir/po" 2>/dev/null && ls *.po 2>/dev/null | $AWK 'BEGIN { FS="."; ORS=" " } { print $[]1 }'`
AM_GLIB_GNU_GETTEXT
# workaround for intltool bug (http://bugzilla.gnome.org/show_bug.cgi?id=490845)
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
Branch: refs/heads/master
Author: Colomban Wendling <ban(a)herbesfolles.org>
Committer: Colomban Wendling <ban(a)herbesfolles.org>
Date: Tue, 12 Aug 2014 14:17:39 UTC
Commit: 87c6cefc1940a8d8e4e02f842bdbfc4bf05e3e37
https://github.com/geany/geany/commit/87c6cefc1940a8d8e4e02f842bdbfc4bf05e3…
Log Message:
-----------
Remove dead assignment
`entries_modified` global is only used by on_name_entry_changed() and
on_entries_changed(), both of which are only ever called from
project_new() scope -- which already initializes this variable.
Modified Paths:
--------------
src/project.c
Modified: src/project.c
2 lines changed, 0 insertions(+), 2 deletions(-)
===================================================================
@@ -509,8 +509,6 @@ static void show_project_properties(gboolean show_build)
g_return_if_fail(app->project != NULL);
- entries_modified = FALSE;
-
if (e.dialog == NULL)
create_properties_dialog(&e);
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).