summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/views.py
diff options
context:
space:
mode:
authorBelen Barros Pena <belen.barros.pena@intel.com>2015-03-26 16:47:02 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-03-31 22:30:18 +0100
commit6dd5e472eb244a1c74601d0fe3552bb1031b53ec (patch)
treef96eb008cf40ee9ae4ea71324c891327e72b3510 /bitbake/lib/toaster/toastergui/views.py
parent3ff649953d836efe3089e42f8f11a4c6abe648be (diff)
downloadpoky-6dd5e472eb244a1c74601d0fe3552bb1031b53ec.tar.gz
bitbake: toasterui: rename 'targets' to 'recipes'
A recent round of informal user feedback has revealed that the term 'target' is quite problematic. For all the users we spoke to the word refers to the target arch. In Toaster, it refers to the software you build. This patch replaces the word 'target' with 'recipe' across the Toaster interface. This is by no means self-explanatory, but at least it cannot be confused with target hardware, and it is also consistent with the terminology we use in the analysis portion of the interface. (Bitbake rev: ac10b5d83172feb10f1f3a3c894a54d2c4c4f09d) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/views.py')
-rwxr-xr-xbitbake/lib/toaster/toastergui/views.py18
1 files changed, 9 insertions, 9 deletions
diff --git a/bitbake/lib/toaster/toastergui/views.py b/bitbake/lib/toaster/toastergui/views.py
index 2f8fb1a8e3..48c65d85be 100755
--- a/bitbake/lib/toaster/toastergui/views.py
+++ b/bitbake/lib/toaster/toastergui/views.py
@@ -2005,8 +2005,8 @@ if toastermain.settings.MANAGED:
2005 ] 2005 ]
2006 } 2006 }
2007 }, 2007 },
2008 {'name': 'Target', # default column, disabled box, with just the name in the list 2008 {'name': 'Recipe', # default column, disabled box, with just the name in the list
2009 'qhelp': "This is the build target or build targets (i.e. one or more recipes or image recipes)", 2009 'qhelp': "What you built (i.e. one or more recipes or image recipes)",
2010 'orderfield': _get_toggle_order(request, "brtarget__target"), 2010 'orderfield': _get_toggle_order(request, "brtarget__target"),
2011 'ordericon':_get_toggle_order_icon(request, "brtarget__target"), 2011 'ordericon':_get_toggle_order_icon(request, "brtarget__target"),
2012 }, 2012 },
@@ -2884,15 +2884,15 @@ if toastermain.settings.MANAGED:
2884 context = { 2884 context = {
2885 'projectlayerset' : jsonfilter(map(lambda x: x.layercommit.id, prj.projectlayer_set.all().select_related("layercommit"))), 2885 'projectlayerset' : jsonfilter(map(lambda x: x.layercommit.id, prj.projectlayer_set.all().select_related("layercommit"))),
2886 'objects' : target_info, 2886 'objects' : target_info,
2887 'objectname' : "targets", 2887 'objectname' : "recipes",
2888 'default_orderby' : 'name:+', 2888 'default_orderby' : 'name:+',
2889 2889
2890 'tablecols' : [ 2890 'tablecols' : [
2891 { 'name': 'Target', 2891 { 'name': 'Recipe',
2892 'orderfield': _get_toggle_order(request, "name"), 2892 'orderfield': _get_toggle_order(request, "name"),
2893 'ordericon' : _get_toggle_order_icon(request, "name"), 2893 'ordericon' : _get_toggle_order_icon(request, "name"),
2894 }, 2894 },
2895 { 'name': 'Target version', 2895 { 'name': 'Recipe version',
2896 'dclass': 'span2', 2896 'dclass': 'span2',
2897 }, 2897 },
2898 { 'name': 'Description', 2898 { 'name': 'Description',
@@ -3316,8 +3316,8 @@ if toastermain.settings.MANAGED:
3316 {'name': 'Last build outcome', 'clclass': 'loutcome', 3316 {'name': 'Last build outcome', 'clclass': 'loutcome',
3317 'qhelp': "Tells you if the last project build completed successfully or failed", 3317 'qhelp': "Tells you if the last project build completed successfully or failed",
3318 }, 3318 },
3319 {'name': 'Target', 'clclass': 'ltarget', 3319 {'name': 'Recipe', 'clclass': 'ltarget',
3320 'qhelp': "The last project build target(s): one or more recipes or image recipes", 3320 'qhelp': "The last recipe that was built in this project",
3321 }, 3321 },
3322 {'name': 'Errors', 'clclass': 'lerrors', 3322 {'name': 'Errors', 'clclass': 'lerrors',
3323 'qhelp': "How many errors were encountered during the last project build (if any)", 3323 'qhelp': "How many errors were encountered during the last project build (if any)",
@@ -3431,8 +3431,8 @@ else:
3431 ] 3431 ]
3432 } 3432 }
3433 }, 3433 },
3434 {'name': 'Target', # default column, disabled box, with just the name in the list 3434 {'name': 'Recipe', # default column, disabled box, with just the name in the list
3435 'qhelp': "This is the build target or build targets (i.e. one or more recipes or image recipes)", 3435 'qhelp': "What you built (i.e. one or more recipes or image recipes)",
3436 'orderfield': _get_toggle_order(request, "target__target"), 3436 'orderfield': _get_toggle_order(request, "target__target"),
3437 'ordericon':_get_toggle_order_icon(request, "target__target"), 3437 'ordericon':_get_toggle_order_icon(request, "target__target"),
3438 }, 3438 },