Custom Query (1173 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (298 - 300 of 1173)

Ticket Resolution Summary Owner Reporter
#61 FIXED Use local fonts instead of linking to remote ones Shawn Khan Jef van Schendel
Description
Right now we're using Google's Web Fonts embed code:

`http://www.google.com/webfonts/family?family=Carter%20One#code <http://www.google.com/webfonts/family?family=Carter%20One#code>`_

This retrieves the font files from Google's servers. In the future
we should store the files locally.



#667 fixed Use lazy_pass_to_ugettext for forms aditi Elrond
Description

(This might be a dupes, but I could not find it.)

To translate forms, we currently go the following route:

  • Mark strings as translatable (only mark, do nothing else)
  • wtforms keeps them for us
  • Our field rendering tools render the complete field nearly completely ba hand to be able to translate it there. Using standard translation tools there.

This works, mostly. It does not work to translate elements of a select box, for example a title like "- Select Collection -". Because we only mark it, but we're not using our translation tools in the rendering. We could go for rendering that part by hand also.

BUT: wtforms recommends something else:

  • Use lazy_pass_to_ugettext() to mark and create a autotranslating object. This feels like a string, but really becomes a translated string, when it is forced to a real string.
  • wtforms keeps this thing as a normal object around.
  • When rendering it, wtforms will force it to a string as late as possible, so that translations can take effect.

So the first idea is to mark strings using lazy_pass_to_ugettext() and just disable the translation in our rendering tools (just remove the _()!) and see, how it works out.

Old in any forms.py:

from mediagoblin.tools.translate import fake_ugettext_passthrough as _

New:

from mediagoblin.tools.translate import lazy_pass_to_ugettext as _
#5494 no-action Use gi.require_version('GstPbutils', '1.0') before importing GstPbutils Jorge
Description
2017-02-09 12:00:03,940 INFO    [mediagoblin.app] GNU MediaGoblin 0.9.0 main server starting
0:00:00.000209241 32335 0x8110be20 INFO                GST_INIT gst.c:510:init_pre: Initializing GStreamer Core Library version 1.10.2                                    
0:00:00.000364217 32335 0x8110be20 INFO                GST_INIT gst.c:511:init_pre: Using library installed in /usr/lib/i386-linux-gnu                                    
0:00:00.000406750 32335 0x8110be20 INFO                GST_INIT gst.c:522:init_pre: Linux gybs 4.5.0-2-686-pae #1 SMP Debian 4.5.5-1 (2016-05-29) i686                    
0:00:00.000882921 32335 0x8110be20 INFO                GST_INIT gstmessage.c:126:_priv_gst_message_initialize: init messages                                              
0:00:00.001508200 32335 0x8110be20 INFO                GST_INIT gstcontext.c:83:_priv_gst_context_initialize: init contexts                                               
0:00:00.001947705 32335 0x8110be20 INFO      GST_PLUGIN_LOADING gstplugin.c:316:_priv_gst_plugin_initialize: registering 0 static plugins                                 
0:00:00.002317789 32335 0x8110be20 INFO      GST_PLUGIN_LOADING gstplugin.c:224:gst_plugin_register_static: registered static plugin "staticelements"                     
0:00:00.002355433 32335 0x8110be20 INFO      GST_PLUGIN_LOADING gstplugin.c:226:gst_plugin_register_static: added static plugin "staticelements", result: 1               
0:00:00.002409699 32335 0x8110be20 INFO            GST_REGISTRY gstregistry.c:1738:ensure_current_registry: reading registry cache: /var/lib/mediagoblin/.cache/gstreamer-
1.0/registry.i686.bin
0:00:00.095080673 32335 0x8110be20 INFO            GST_REGISTRY gstregistrybinary.c:619:priv_gst_registry_binary_read_cache: loaded /var/lib/mediagoblin/.cache/gstreamer-
1.0/registry.i686.bin in 0.092629 seconds
0:00:00.095355425 32335 0x8110be20 INFO            GST_REGISTRY gstregistry.c:1594:scan_and_update_registry: Validating plugins from registry cache: /var/lib/mediagoblin/
.cache/gstreamer-1.0/registry.i686.bin
0:00:00.100099534 32335 0x8110be20 INFO            GST_REGISTRY gstregistry.c:1696:scan_and_update_registry: Registry cache has not changed                               
0:00:00.100208555 32335 0x8110be20 INFO            GST_REGISTRY gstregistry.c:1773:ensure_current_registry: registry reading and updating done, result = 1                
0:00:00.100290687 32335 0x8110be20 INFO                GST_INIT gst.c:720:init_post:GLib runtime version: 2.50.2                                                          
0:00:00.100372330 32335 0x8110be20 INFO                GST_INIT gst.c:722:init_post:GLib headers version: 2.50.2                                                          
0:00:00.100411441 32335 0x8110be20 INFO                GST_INIT gst.c:723:init_post:initialized GStreamer successfully                                                    
/srv/mediagoblin/mediagoblin/media_types/video/transcoders.py:37: PyGIWarning: GstPbutils was imported without specifying a version first. Use gi.require_version('GstPbutils', '1.0') before import to ensure that the right version gets loaded.
  from gi.repository import GstPbutils
2017-02-09 12:00:04,512 INFO    [mediagoblin.app] Setting up plugins.                                                                                                     
/srv/mediagoblin/mediagoblin/media_types/video/transcoders.pyc changed; reloading...
-------------------- Restarting --------------------
2017-02-09 12:08:09,263 INFO    [mediagoblin.app] GNU MediaGoblin 0.9.0 main server starting
0:00:00.000216085  1662 0x82728e20 INFO                GST_INIT gst.c:510:init_pre: Initializing GStreamer Core Library version 1.10.2
0:00:00.000342705  1662 0x82728e20 INFO                GST_INIT gst.c:511:init_pre: Using library installed in /usr/lib/i386-linux-gnu
0:00:00.000462970  1662 0x82728e20 INFO                GST_INIT gst.c:522:init_pre: Linux gybs 4.5.0-2-686-pae #1 SMP Debian 4.5.5-1 (2016-05-29) i686
0:00:00.000963094  1662 0x82728e20 INFO                GST_INIT gstmessage.c:126:_priv_gst_message_initialize: init messages
0:00:00.001626016  1662 0x82728e20 INFO                GST_INIT gstcontext.c:83:_priv_gst_context_initialize: init contexts
0:00:00.002102186  1662 0x82728e20 INFO      GST_PLUGIN_LOADING gstplugin.c:316:_priv_gst_plugin_initialize: registering 0 static plugins
0:00:00.002502090  1662 0x82728e20 INFO      GST_PLUGIN_LOADING gstplugin.c:224:gst_plugin_register_static: registered static plugin "staticelements"
0:00:00.002603288  1662 0x82728e20 INFO      GST_PLUGIN_LOADING gstplugin.c:226:gst_plugin_register_static: added static plugin "staticelements", result: 1
0:00:00.002720131  1662 0x82728e20 INFO            GST_REGISTRY gstregistry.c:1738:ensure_current_registry: reading registry cache: /var/lib/mediagoblin/.cache/gstreamer-
1.0/registry.i686.bin
0:00:00.094591523  1662 0x82728e20 INFO            GST_REGISTRY gstregistrybinary.c:619:priv_gst_registry_binary_read_cache: loaded /var/lib/mediagoblin/.cache/gstreamer-
1.0/registry.i686.bin in 0.091770 seconds
0:00:00.094833519  1662 0x82728e20 INFO            GST_REGISTRY gstregistry.c:1594:scan_and_update_registry: Validating plugins from registry cache: /var/lib/mediagoblin/
.cache/gstreamer-1.0/registry.i686.bin
0:00:00.099793211  1662 0x82728e20 INFO            GST_REGISTRY gstregistry.c:1696:scan_and_update_registry: Registry cache has not changed
0:00:00.099899298  1662 0x82728e20 INFO            GST_REGISTRY gstregistry.c:1773:ensure_current_registry: registry reading and updating done, result = 1
0:00:00.099939876  1662 0x82728e20 INFO                GST_INIT gst.c:720:init_post:GLib runtime version: 2.50.2
0:00:00.100021519  1662 0x82728e20 INFO                GST_INIT gst.c:722:init_post:GLib headers version: 2.50.2
0:00:00.100061118  1662 0x82728e20 INFO                GST_INIT gst.c:723:init_post:initialized GStreamer successfully
2017-02-09 12:08:09,826 INFO    [mediagoblin.app] Setting up plugins.
Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.