קוד: |
KG-0.2 -------- ################# # Translation # ################# + New word list + New po file ############ # Graphics # ############ + Replaced: ugly Smiley & GNU. + Replaced: dice images + Added: smaller dice set (75% size) + Removed: scale board background + Added: 4 new fish images from open clip art (reversecount game) + Added: new "timer" (tux[0-10].png) + Replaced: "toomanyerrors.png" (the ugly ambulans...) with a new image from open clip art. + Changed: help menu arrow color. + Changed: background color in the "colors" board. + Added: new clock image (clockgame) + Hebrew icons for: - book.png - click_on_letter.png - gletters.png - imageid.png - imagename.png - missing_letter.png - read_color.png - readingh.png - reading.png - wordsgame.png + Replaced icons: - algebra_by - algebra_group - algebra_plus - algebra_minus - mem_tux_div ######## # Menu # ######## + Moved: paratrooper board to /fun + Moved: melody board from /discovery/sound_group to /discovery/memory_group + Changed: drawnumber board difficulty from 4 to 3 + Moved: to /experimental: advanced_colors.xml awele.xml canal_lock.xml chat.xml chess_computer.xml chess_movelearn.xmll chess_partyend.xml chess.xml chronos.xml sound_group.xml geography_country.xml geography.xml target.xml wordprocessor.xml watercycle.xml electric.xml experience.xml submarine.xml searace1player.xml searace.xml maze3D.xml redraw_symmetrical.xml mazeInvisible.xml gnumch-factors.xml gnumch-primes.xml fifteen.xml sudoku.xml ########## # Boards # ########## + wordsgame.c - Fix for hebrew support. - Fixed speed problems -> each level sets its own init speed. - Score board will show 0 after level change. + reading.c - Added support for RTL, words will move from right to left if pango_unichar_direction() == PANGO_DIRECTION_RTL - Added counter to prevent from getting to the high levels too soon. + smallnumbers.c - Images are are displayed in normal size and then shrink. - Fixed counter -> start @ 0 + read_colors.c - Modified counter, count from 10->0 + gletters.c - letter count starts form 0 - the base speed is now 60 (slower...) + connect4.py - fixed small bug (2 player mode) -> show happy flower even if player 2 wins + hanoi.c - Letters are displayed in hebrew and located on the right side. + shapegame.c - [Hack] Set max level = 2 in doubleentry game (avoid crash bug in level 3). - Fixed crash bug when changing level while dragging an item (2 click drag mode) + redraw.py - fixed crash bug when board finished. + maze.c - Disabled "running" on level 4; now tux always move one step at a time. + erase.c - show default cursor inside the help window. + algebra.c - Voice removed + gnumch.py - [Hack] removed bad err msg + bargame.py - Fixed the bug with the mouse over tux. ############ # Gcompris # ############ + bar.c - removed level up voice. - Fixed freeze bug when clicking on the home icon with 2 (or more) buttons at the same time. + about.c - Moved everything to be from right to left. - Removed English copyright line ( looks ugly with the hebrew Translation... ) + gcompris_confirm.c - Moved gc_confirm_box, ok & cancel buttons to the right. + menu2.c - Replaced "GCompris V VERSION" with "welcome to gcompris" (in hebrew) - Fixed crash bug when clicking on an icon with 2 (or more) buttons at the same time. |
קוד: |
./configure --prefix="path"
make && su -c "make install" |
קוד: |
--disable-config -g 2clicks -f |
ויטלי : |
11111 - לא באמת הוצאנו את הפעילויות מהקוד, הזזנו אותם לתפריט ה experimental - כלומר הסתרנו אותם. אגב האנשים באגף החינוך די התלהבו מזה וביקשו שנעשה גם גירסה לכיתות א שתתמוך גם בפעילויות המתקדמות יותר... |
קוד: |
self.en_music = self.get_key("sound" , default=True, type=bool)
self.en_sound = self.get_key("music" , default=True, type=bool) |
קוד: |
self.set_key("volume", self.volume)
self.set_key("sound" , self.en_music) self.set_key("music" , self.en_sound) |
Anonymous : |
^ תודה.
כן, זה נשמע רעיון טוב - אני מאוד אשמח אם תפרסם הודאה, אבל כדאי שקודם יהיה לינק הורדה מסודר, לא? |
קוד: |
sudo mkdir /media/isodisk
sudo mount -o loop KG-Live_0.2.iso /media/isodisk sudo mkdir /media/squash sudo mount -o loop /media/isodisk/live/filesystem.squashfs /media/squash LANG=he_IL.UTF-8 /media/squash/usr/gcompris/bin/gcompris |
costello : |
בהנחה שלא תהיה התנגדות משאר החברים המקוריים אפשר יהיה לתת לך הרשאות תוך זמן קצר. |
קוד: |
#!/bin/bash
VER=" 0.1" HD="" DEST_PART="" SWAP_PART="" SWAP_SIZE=100 MNT_DIR="/hd/" YES4ALL="" die() { color_echo [red] "$2" exit $1 } color_echo() { if [ `expr match "$1" '^-'` -eq 1 ] ; then local echo_args="$1 " shift fi local open_escape="" local close_escape="[0m" local color=`to_upper $1` case "$color" in "[RED]") open_escape="[31m" shift;; "[GREEN]") open_escape="[32m" shift;; "[ORANGE]") open_escape="[33m" shift ;; "[BLUE]") open_escape="[34m" shift ;; "[PURPLE]") open_escape="[35m" shift ;; "[GREY]") open_escape="[37m" shift ;; "[YELLOW]") open_escape="[1;33m" shift ;; "[WHITE]") open_escape="[1;37m" shift ;; *) open_escape="[0m" ;; esac echo $echo_args "${open_escape}$*${close_escape}" return $? } msg() { color_echo -n [white] ">> " echo $* } to_upper() { echo "$1" | tr [a-z] [A-Z] } ask_yn() { [ "`to_upper $YES4ALL`" = "TRUE" ] && return 0; local msg=$1 while true; do color_echo -n [white] ">> " color_echo -n [green] "$msg " color_echo -n [white] "[Y/N]" read usr_input usr_input=`to_upper $usr_input` case $usr_input in "Y") return 0;; "N") return 1;; *) continue ;; esac done } get_hd() { [ -b "$HD" ] && return 0; msg "scanning... " hd_list=`ls /dev/hd? /dev/sd? 2>/dev/null` echo "" color_echo -n [white] ">>" color_echo [green] " Select Disk:" select HD in $hd_list do [ -n "$HD" ] && break done } get_parts() { while true; do while true; do color_echo [white] -n "> DATA partition FULL path: " read DEST_PART [ -b "$DEST_PART" ] && break done while true; do color_echo [white] -n "> SWAP partition FULL path: " read SWAP_PART [ -b "$SWAP_PART" ] && break done echo "" echo -n " # DATA on: " color_echo [white] "$DEST_PART" echo -n " # SWAP on: " color_echo [white] "$SWAP_PART" echo "" ask_yn 'Is that OK? ' || continue ask_yn 'Format? ' && format break done } mk_parts() { [ -n "$HD" ] || return 1; echo "" color_echo -n [white] "*" color_echo -n [red] " WARNING: you will lose ALL data on $HD " color_echo [white] "*" echo "" ask_yn 'Continue?' || die " " 2 msg "Creating empty partition table." tmp_file=/tmp/fdisk.in echo "o" > $tmp_file echo "w" >> $tmp_file if ! fdisk $HD < $tmp_file >/dev/null 2>&1; then die 3 "Error: fdisk failed!" fi rm $tmp_file msg "Creating swap [$SWAP_SIZE MB]. " if ! parted -s $HD mkpart primary 1 "$SWAP_SIZE"MB >/dev/null 2>&1 then die 3 "Error: Creating swap failed!" fi msg "Creating data partition. " if ! parted -s $HD mkpart primary "$SWAP_SIZE"MB 100% >/dev/null 2>&1 then die 3 "Error: Creating data partition failed!" fi msg "Setting boot flag. " if ! parted -s $HD set 2 boot on >/dev/null 2>&1 then die 3 "Error: failed setting boot flag !" fi SWAP_PART="$HD"1 DEST_PART="$HD"2 sleep 15 return 0; } print_help() { return false } clear_screen() { clear echo " " color_echo [white] "==========================" color_echo -n [green] " KG install script " color_echo [yellow] "$VER" color_echo [white] "==========================" echo " " echo " " echo " " } format() { if [ -n $DEST_PART ]; then msg "Formatting $DEST_PART ." if ! mkfs.ext3 $DEST_PART >/dev/null 2>&1 then die 3 "Failed!" fi fi if [ -n $SWAP_PART ]; then msg "Formatting $SWAP_PART ." if ! mkswap $SWAP_PART >/dev/null 2>&1 then die 3 "Failed!" fi fi } main() { [ "`whoami`" != "root" ] && \ die 1 'You must be root!' clear_screen if ask_yn 'Auto partition?' ; then get_hd mk_parts format else get_parts fi #setup msg "Mounting $DEST_PART on $MNT_DIR" [ -d $MNT_DIR ] || mkdir $MNT_DIR if ! mount $DEST_PART $MNT_DIR then die 3 "Error: Cant mount $DEST_PART on $MNT_DIR" fi msg "Coping files (takes a long time!)." if ! rsync -a / $MNT_DIR --exclude=$MNT_DIR --exclude=/live/ --exclude=/sys/ \ --exclude=/proc/ --exclude=/media/ --exclude=/usr/kg-install then die 3 "failed!" fi msg "Creating empty directories." if ! mkdir "$MNT_DIR"proc "$MNT_DIR"sys "$MNT_DIR"media then die 3 "failed!" fi msg "setting up grub." chroot $MNT_DIR grub-install hd0 >/dev/null 2>&1 chroot $MNT_DIR update-grub >/dev/null 2>&1 sed -i 's/^timeout.*$/timeout 0/' "$MNT_DIR"boot/grub/menu.lst msg "Creating new fstab." fstab_file="$MNT_DIR"etc/fstab echo 'proc /proc proc defaults 0 0' > $fstab_file echo "$DEST_PART / ext3 defaults 0 1" >> $fstab_file [ -n $SWAP_PART ] && \ echo "$SWAP_PART none swap sw 0 0" >> $fstab_file color_echo -n [white] ">> " color_echo [green] "Done!" ask_yn "Reboot? " && shutdown -r now } main |
קוד: |
echo "$1" | tr [a-z] [A-Z] |
קוד: |
echo ? ? $ echo tr [a-z] [A-Z] tr [a-z] [A-Z] $ touch a $ echo tr [a-z] [A-Z] tr a [A-Z] $ echo tr '[a-z]' '[A-Z]' tr [a-z] [A-Z] $ echo hEllO | tr '[a-z]' '[A-Z]' HELLO $ echo hEllO | tr a-z A-Z HELLO |
idanm20 : |
היי
מעלה את הפוסט מן המתים. בדקתי מה מצב העברית העדכני בפרויקט ורציתי לעדכן: * החל מ-2014 התחילו פורט חדש לפרויקט מ-GTK+ לQT Quick. הגרסה העדכנית היא 0.9 והיא עובדת מעולה! היא נראית *הרבה* יותר מגניב מהגרסה הישנה, היא כוללת את כל הפעילויות הישנות (ששוכתבו ושודרגו) ועוד חדשות (145 סה"כ). היא רצה גם על אנדרואיד (30 ש"ח לגרסה המלאה בפליי סטור). שזה מגניב - הרבה יותר נגיש וזול טבלט לילד או לגן... אך... אין שם זכר לעברית. בכלל. הסתכלתי באתר התרגום והדיבוב ושם הכל על 0%. * גרסה 0.2 העברית של ויטלי עדיין עובדת דרך VirtualBox על מערכת הפעלה ומחשב מודרניים. הקישור לLiveCD תקין אך הקישור לקוד המקור מת (האם יש למישהו עדיין עותק?). * הגרסה האחרונה ששוחררה לGTK+ היא 15.10, היא תומכת בעברית חלקית - ההוראות בעברית בחלק מהפעילויות, הצלמיות באנגלית, הדיבוב שונה (נשמע שילד הקליט אותו מחדש והדיבוב נשמע פחות נעים מהדיבוב בגרסה 0.2). האם מישהו חשב על תרגום הגרסה החדשה? אולי כדאי לבדוק מה ניתן לנצל מהעבודה שנעשתה על הגרסה הישנה. |