Skip to content

Commit

Permalink
Merge pull request #1286 from b4n/lineoperations-i18n
Browse files Browse the repository at this point in the history
lineoperations: Fix translation of some strings
  • Loading branch information
frlan authored Oct 19, 2023
2 parents 09721e3 + d7171b1 commit 759afba
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lineoperations/src/lineoperations.c
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ lo_init(GeanyPlugin *plugin, G_GNUC_UNUSED gpointer gdata)
{
keybindings_set_item(key_group, i,
lo_keybinding_callback, 0, 0, menu_items[i].kb_section_name,
menu_items[i].label, NULL);
_(menu_items[i].label), NULL);
}
}

Expand Down
4 changes: 4 additions & 0 deletions lineoperations/src/lo_fns.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
*/


#ifdef HAVE_CONFIG_H
#include "config.h" /* for the gettext domain */
#endif

#include "lo_fns.h"
#include "lo_prefs.h"

Expand Down
4 changes: 4 additions & 0 deletions lineoperations/src/lo_prefs.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/

#ifdef HAVE_CONFIG_H
#include "config.h" /* for the gettext domain */
#endif

#include "lo_prefs.h"


Expand Down

0 comments on commit 759afba

Please sign in to comment.