45 Matching Annotations
  1. Apr 2026
    1. Unknown component property | Accept with warning

      大多数人认为设计系统应该严格限制和验证所有属性,以确保一致性和可预测性。但作者认为应该接受未知组件属性,但仅发出警告。这种方法挑战了传统设计系统必须严格控制所有方面的观念,提供了一种更为灵活的方法,允许创新和扩展,同时仍保持基本的结构和约束。

    1. ADeLe is designed to evolve alongside advances in AI and can be extended to multimodal and embodied AI systems.

      这一前瞻性声明展示了ADeLe框架的灵活性和扩展性,令人惊讶的是它能够适应AI技术的快速发展。这表明ADeLe不仅是一个静态评估工具,而是一个动态评估框架,能够随着AI系统的演进而不断更新,为未来更复杂的AI系统(如多模态和具身AI)提供了评估基础。

  2. May 2025
  3. Sep 2024
  4. Mar 2024
  5. Aug 2023
  6. Jun 2023
  7. Oct 2022
  8. Sep 2022
  9. Nov 2021
  10. Aug 2021
  11. Jul 2021
  12. datatracker.ietf.org datatracker.ietf.org
  13. Jun 2021
  14. Dec 2020
  15. Oct 2020
  16. Sep 2020
    1. Svelte will not offer a generic way to support style customizing via contextual class overrides (as we'd do it in plain HTML). Instead we'll invent something new that is entirely different. If a child component is provided and does not anticipate some contextual usage scenario (style wise) you'd need to copy it or hack around that via :global hacks.
  17. Mar 2020
    1. For several reasons the Simple backend shipped with Active Support only does the "simplest thing that could possibly work" for Ruby on Rails3 ... which means that it is only guaranteed to work for English and, as a side effect, languages that are very similar to English. Also, the simple backend is only capable of reading translations but cannot dynamically store them to any format.That does not mean you're stuck with these limitations, though. The Ruby I18n gem makes it very easy to exchange the Simple backend implementation with something else that fits better for your needs, by passing a backend instance to the I18n.backend= setter.
    1. This is where the incredibly useful gettext filter comes in. If you take a peek at your plugin's code you'll see strings like this: .gist table { margin-bottom: 0; } <?php _e( 'Related Products', 'woocommerce' ); ?> view raw sample-translatable-string.php hosted with by GitHub You can easily translate these strings by adding a filter to your functions.php file: .gist table { margin-bottom: 0; } <?php /** * Change text strings * * @link http://codex.wordpress.org/Plugin_API/Filter_Reference/gettext */ function my_text_strings( $translated_text, $text, $domain ) { switch ( $translated_text ) { case 'Related Products' : $translated_text = __( 'Check out these related products', 'woocommerce' ); break; } return $translated_text; } add_filter( 'gettext', 'my_text_strings', 20, 3 );
  18. Dec 2019
  19. Nov 2019
  20. Sep 2019