[Bf-blender-cvs] [ac2fe83] master: Revert "GPencil: Add IFACE_ macro to some strings"

Antonioya noreply at git.blender.org
Sun Sep 11 13:08:12 CEST 2016


Commit: ac2fe8312bd2a609eb884ad95dd27bcbbf7f1b0e
Author: Antonioya
Date:   Sun Sep 11 13:05:29 2016 +0200
Branches: master
https://developer.blender.org/rBac2fe8312bd2a609eb884ad95dd27bcbbf7f1b0e

Revert "GPencil: Add IFACE_ macro to some strings"

This reverts commit b50a5b92c15e0f110ca978352c2ba59bc3e97dd3 because BKE_report functions are already automatically handled by translation system.

===================================================================

M	source/blender/editors/gpencil/gpencil_edit.c

===================================================================

diff --git a/source/blender/editors/gpencil/gpencil_edit.c b/source/blender/editors/gpencil/gpencil_edit.c
index c3d1048..cce22ba 100644
--- a/source/blender/editors/gpencil/gpencil_edit.c
+++ b/source/blender/editors/gpencil/gpencil_edit.c
@@ -2349,19 +2349,19 @@ static int gpencil_interpolate_invoke(bContext *C, wmOperator *op, const wmEvent
 
 	/* cannot interpolate if not between 2 frames */
 	if ((gpl->actframe == NULL) || (gpl->actframe->next == NULL)) {
-		BKE_report(op->reports, RPT_ERROR, IFACE_("Interpolation requires to be between two grease pencil frames in active layer"));
+		BKE_report(op->reports, RPT_ERROR, "Interpolation requires to be between two grease pencil frames in active layer");
 		return OPERATOR_CANCELLED;
 	}
 
 	/* cannot interpolate in extremes */
 	if ((gpl->actframe->framenum == scene->r.cfra) || (gpl->actframe->next->framenum == scene->r.cfra)) {
-		BKE_report(op->reports, RPT_ERROR, IFACE_("Interpolation requires to be between two grease pencil frames in active layer"));
+		BKE_report(op->reports, RPT_ERROR, "Interpolation requires to be between two grease pencil frames in active layer");
 		return OPERATOR_CANCELLED;
 	}
 
 	/* need editable strokes */
 	if (!gp_interpolate_check_todo(C, gpd)) {
-		BKE_report(op->reports, RPT_ERROR, IFACE_("Interpolation requires some editable stroke"));
+		BKE_report(op->reports, RPT_ERROR, "Interpolation requires some editable stroke");
 		return OPERATOR_CANCELLED;
 	}
 
@@ -2543,12 +2543,12 @@ static int gpencil_interpolate_seq_exec(bContext *C, wmOperator *op)
 
 	/* cannot interpolate if not between 2 frames */
 	if ((active_gpl->actframe == NULL) || (active_gpl->actframe->next == NULL)) {
-		BKE_report(op->reports, RPT_ERROR, IFACE_("Interpolation requires to be between two grease pencil frames"));
+		BKE_report(op->reports, RPT_ERROR, "Interpolation requires to be between two grease pencil frames");
 		return OPERATOR_CANCELLED;
 	}
 	/* cannot interpolate in extremes */
 	if ((active_gpl->actframe->framenum == scene->r.cfra) || (active_gpl->actframe->next->framenum == scene->r.cfra)) {
-		BKE_report(op->reports, RPT_ERROR, IFACE_("Interpolation requires to be between two grease pencil frames"));
+		BKE_report(op->reports, RPT_ERROR, "Interpolation requires to be between two grease pencil frames");
 		return OPERATOR_CANCELLED;
 	}




More information about the Bf-blender-cvs mailing list