Code Monkey home page Code Monkey logo

cn.ubuntu.com's Introduction

CircleCI build status Code coverage

A paired-down, Chinese-language version of the ubuntu.com website.

Local development

The simplest way to run the site locally is to first install Docker (on Linux you may need to add your user to the docker group), and then use the ./run script:

./run

Once the containers are setup, you can visit http://127.0.0.1:8010 in your browser.

Building CSS

For working on Sass files, you may want to dynamically watch for changes to rebuild the CSS whenever something changes.

To setup the watcher, open a new terminal window and run:

./run watch

Deploy

You can find the deployment config in the deploy folder.

License

The content of this project is licensed under the Creative Commons Attribution-ShareAlike 4.0 International license, and the underlying code used to format and display that content is licensed under the LGPLv3 by Canonical Ltd.

With ♥ from Canonical

cn.ubuntu.com's People

Contributors

0atman avatar albertkol avatar anthonydillon avatar b-m-f avatar barrymcgee avatar bartaz avatar bethcollins92 avatar caleb-ellis avatar carkod avatar deadlight avatar dependabot[bot] avatar fitojb avatar grahambancroft avatar immortalcodes avatar jkfran avatar jpmartinspt avatar minkyngkm avatar mtruj013 avatar nottrobin avatar petesfrench avatar pmahnke avatar renovate-bot avatar renovate[bot] avatar samhotep avatar solazio avatar sowasred2012 avatar steverydz avatar tbille avatar willmoggridge avatar zprood avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cn.ubuntu.com's Issues

error

The requested URL /16.04/ubuntu-16.04-desktop-amd64.iso was not found on this server.

Apache/2.4.18 (Ubuntu) Server at releases.ubuntu.com Port 80

Visual review - cn.ubuntu.com / desktop

Visual review

Hero

  • my mistake but can we update CTA button to Ubuntu p-button--brand orange

Global

  • all links to inherit Ubuntu p-button--brand orange as seen on ubuntu.com

China website banner

Summary

[please describe the issue]

Process

[list the steps to replicate the issue]

Current and expected result

[describe what happened and what you expected]

Screenshot

[if relevant, include a screenshot]

when I boot my computer there comes a bug.

Summary

Error uncleared pch fifo underrun on pch transcoder A
Error PCH transcoder A FIFo underrun
sda1:clean 300971/30015488 files,4008087/120034816 blocks

I can access to my OS,but I am worried about it.I don't know what happened.
Anybody can help me to fix it?
You can send email to ,thank you very much.

Process

[list the steps to replicate the issue]

Current and expected result

[describe what happened and what you expected]

Screenshot

[if relevant, include a screenshot]

versioned_static no longer seems to be working

Even though versioned_static is used in templates/templates/base.html, which should mean that CSS files get a cache-busting string (e.g.: ?v=a23bd10), it doesn't seem to be working when I run the site locally:

<!-- global nav -->
<link rel="stylesheet" type="text/css" media="screen and (min-width: 768px)" href="/static/css/global.css" />

<!-- site specific -->
<link rel="stylesheet" type="text/css" media="screen" href="/static/css/styles.css" />
<link rel="stylesheet" type="text/css" media="print" href="/static/css/core-print.css" />

We should work out why this isn't working and fix it. It probably needs fixing in the original module.

Remove CMS from codebase

During the v1 Vanilla migration, we removed the dependency on the CMS. Please remove the related code which is now redundant.

This is currently blocking the build from passing, blocking release of v1 migration.

Removing old article on China site (cn.ubuntu.com)

Summary

Need to remove the following article on cn.ubuntu.com news section, as

  • we no longer using 友邦拓 as the Chinese name of Ubuntu in China, it is causing confusion
  • another company in China is claiming they own the copyright of this term, and might take legal action on the usage of this term.

Process

removing the last article on this page: http://cn.ubuntu.com/news/, it is an external vidoe link to youku.com

Screenshot

image

触摸板的轻触变成了次键的点击;

触摸板的轻触变成了次键的点击

Ubuntu17.04 64位,dell-Inspiron-3568,sogoupinyin2.1.0.0068_amd64.deb
安装搜狗输入法之前没有这个问题,设置鼠标主键为右键后,触摸板的轻触还是主键的点击;
用dpkg -i sogoupinyin安装搜狗输入法时,先是3、4行提示安装了什么什么,然后提示“有错误发生”(没有更多的信息),就退出命令了。
然后我重启了系统。
重启之后,搜狗拼音可以用,但是触摸板的轻触就变成了次键的点击;不管鼠标的主键设置成左键还是右键,都没有用。

Current and expected result

希望能让触摸板回复正常。

Chinese site Ubuntu 16.04 LTS Download is missing

Summary

[Ubuntu Chinese website has a wrong link for 16.04 LTS (http://cn.ubuntu.com/download/), both 32bit and 64bit link is missing, reported 404.]

Process

[ I notice that this issue caused by name change of ISO file link, currently old-on website one still is 16.04 LTS, but the latest is 16.04.2 and 16.04 is removed from http://releases.ubuntu.com/16.04/ ]

Current and expected result

[please fix it with right link to Ubuntu 16.04.2, http://releases.ubuntu.com/16.04/ ]

Screenshot

[if relevant, include a screenshot]

关于ubuntu18.04中,如何设置全局代理

Summary

chrome中可是通过插件使用vpn,但是我在安装dropbox的时候,没法连接外网,无法进行全局代理。16.04的时候可以很容易的安装。

Process

[list the steps to replicate the issue]

Current and expected result

[describe what happened and what you expected]

Screenshot

[if relevant, include a screenshot]

bad

Summary

[please describe the issue]

Process

[list the steps to replicate the issue]

Current and expected result

[describe what happened and what you expected]

Screenshot

[if relevant, include a screenshot]

ubuntu kylin

Summary

Ubuntu kylin 17.04 LTS (32bit & 64bit) can not be downloaded form cn.ubuntyu.com/download

Process

[list the steps to replicate the issue]

Current and expected result

[describe what happened and what you expected]

Screenshot

[if relevant, include a screenshot]
image

Visual review - cn.ubuntu.com / home

Visual review

Hero

  • remove card overlay from headline and CTA button
  • add bottom center no-repeat to image so it scales to fit viewport

Ubuntu intro

  • update body copy colour: $color-x-light

IoT

  • align image center within 6-col layout

Contextual footer

  • update headings to h3
  • update Ubuntu Juno image width to match other images - width: 300px

Page titles are not displaying

Currently, the page title of all pages on cn.ubuntu.com are " | Ubuntu". It should contain information about the page and be localised.

16.04 LTS Download link is out of date

Summary

Currently, the new version of 16.04 LTS is updated to 16.04.4, but the link is for 16.04.3. Like this
http://releases.ubuntu.com/16.04/ubuntu-16.04.3-desktop-amd64.iso

Effect Download Links:

Ubuntu 16.04 LTS(长期支持)版本: 32\64 bit.
64bit: http://releases.ubuntu.com/16.04/ubuntu-16.04.3-desktop-amd64.iso
32bit: http://releases.ubuntu.com/16.04/ubuntu-16.04.3-desktop-i386.iso

Fix

Please replace these two links with:
64bit: http://releases.ubuntu.com/16.04.4/ubuntu-16.04.4-desktop-amd64.iso
32bit: http://releases.ubuntu.com/16.04.4/ubuntu-16.04.4-desktop-i386.iso

ubuntu 16.06LTS cannot find the fan

Summary

The fan of my laptop doesn't work even if the cpu is hot. I tried to find the information of the fan by sensors but there's no massage about the fan.

my laptop is dell xps-13 and the system is ubuntu 16.04LTS

ubuntu-17.10.1-desktop-amd64 dock设置为底部后,新开启程序窗口无法显示

Summary

新安装乌班图17.10.1,设置dock位置为底部,“设置”窗口消失,“设置”的图标还是dock上显示。打开其他应用,比如“茄子”,一样只显示图标不显示窗口。“终端”命令行窗口显示正常。这样子造成很多应用没办法使用(不显示窗口界面)

Process

[list the steps to replicate the issue]

Current and expected result

[describe what happened and what you expected]

Screenshot

[if relevant, include a screenshot]
2018-02-10 23-39-52

Chinese words error on the CN desktop home page.

Summary

There is a Chinese word error on the CN desktop home page.,https://cn.ubuntu.com/desktop/.
"Snapcraft
snap是全新的Linux应用格式包,拥有更安全、稳定、易维护更新等特点。snap又snapcraft打包而来,现在就开始制作自己的snap吧!" The word "又" is wrong at here.

Process

Modify the word "又" to the right one,"由".

Current and expected result

Modification of the wrong.

Screenshot

[if relevant, include a screenshot]
default

Get CI to pass

There are a number of scss errors that need to be resolved.

Visual review - cn.ubuntu.com / download

Visual review

Other downloads

  • links to inherit Ubuntu p-button--brand orange as seen on ubuntu.com
  • cards to have equal height across all four

Community

  • links to inherit Ubuntu p-button--brand orange as seen on ubuntu.com
  • vertically center icon and body copy inside container

chinese

Summary

[please describe the issue]

Process

[list the steps to replicate the issue]

Current and expected result

[describe what happened and what you expected]

Screenshot

[if relevant, include a screenshot]

clang-3.8 -no-canonical-prefixes hello.c

Summary

clang-3.8: error: unable to execute command: Executable "clang-3.8" doesn't exist!
[please describe the issue]
when I use the "clang-3.8 -no-canonical-prefixes hello.c",then report "clang-3.8: error: unable to execute command: Executable "clang-3.8" doesn't exist!".
But,when I use "/usr/bin/clang-3.8 -no-canonical-prefixes hello.c",it's OK!

Process

[list the steps to replicate the issue]

Current and expected result

[describe what happened and what you expected]

Screenshot

[if relevant, include a screenshot]

Update Bejing office address on - http://cn.ubuntu.com/contact/ - for 11 August 2017

Nancy Huang [email protected] wrote:

As Canonical Beijing office is moving over to a new location from 11 August 2017, please could you help to make necessary update to reflect the address and contact number changes through Canonical websites and other media related to marketing? the new address is as below for your information (in both English and Chinese):

Address: Unit 1118-19, Level 11, China World Office 1, 1 Jianguomenwai Avenue, Chaoyang District, Beijing 100004
北京市朝阳区建国门外大街1号国贸写字楼1座11层1118-19室
Contract number: 010 5737 9099

Please kindly let us know if it's fine for you.

China website banner - takeover banner

Summary

[please describe the issue]

Process

[list the steps to replicate the issue]

Current and expected result

[describe what happened and what you expected]

Screenshot

[if relevant, include a screenshot]

[Nexus 5] /server

in landscape view the there is not enough padding at the bottom of the page.
bs_realdroid_mobile_google nexus 5-4 4-1080x1920 2

CMS - Fix version comparison

Go into a page in the CMS admin, click "history", try comparing two revisions. You should get an error.

Now fix it.

broken link on phone page

Summary

external link is broke on http://cn.ubuntu.com/phone/ underneath the list of devices.

Current and expected result

need to remove the external link and buy now messaging on the page, please remove all the characters circled in the following screenshot.

Screenshot

[if relevant, include a screenshot]
image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.